SYMBOL INDEX (139 symbols across 26 files) FILE: cbpro-trader/daemon/cbpro-trader.py class CBProTrader (line 21) | class CBProTrader(object): method __init__ (line 22) | def __init__(self): method init_interface (line 39) | def init_interface(self): method init_engine_and_indicators (line 55) | def init_engine_and_indicators(self): method start (line 99) | def start(self): FILE: cbpro-trader/daemon/engine/OrderBookCustom.py class OrderBookCustom (line 5) | class OrderBookCustom(cbpro.OrderBook): method __init__ (line 6) | def __init__(self, product_id='BTC-USD', auth_client=None): method is_ready (line 13) | def is_ready(self): method get_ask (line 20) | def get_ask(self): method get_bid (line 25) | def get_bid(self): FILE: cbpro-trader/daemon/engine/Product.py class Product (line 4) | class Product(object): method __init__ (line 5) | def __init__(self, auth_client, product_id='BTC-USD'): FILE: cbpro-trader/daemon/engine/TradeAndHeartbeatWebsocket.py class TradeAndHeartbeatWebsocket (line 7) | class TradeAndHeartbeatWebsocket(cbpro.WebsocketClient): method __init__ (line 8) | def __init__(self, fiat='USD', sandbox=False): method on_open (line 21) | def on_open(self): method on_close (line 26) | def on_close(self): method on_error (line 29) | def on_error(self, e): method close (line 35) | def close(self): method on_message (line 47) | def on_message(self, msg): FILE: cbpro-trader/daemon/engine/TradeEngine.py class TradeEngine (line 9) | class TradeEngine(): method __init__ (line 10) | def __init__(self, auth_client, product_list=['BTC-USD', 'ETH-USD', 'L... method close (line 35) | def close(self, exit=False): method get_product_by_product_id (line 49) | def get_product_by_product_id(self, product_id='BTC-USD'): method init_available_products (line 55) | def init_available_products(self): method update_orders (line 59) | def update_orders(self): method round_fiat (line 88) | def round_fiat(self, money): method round_coin (line 91) | def round_coin(self, money): method update_amounts (line 94) | def update_amounts(self): method print_amounts (line 111) | def print_amounts(self): method place_buy (line 114) | def place_buy(self, product=None, partial='1.0'): method buy (line 135) | def buy(self, product=None, amount=None): method place_sell (line 178) | def place_sell(self, product=None, partial='1.0'): method sell (line 195) | def sell(self, product=None, amount=None): method get_base_currency_from_product_id (line 238) | def get_base_currency_from_product_id(self, product_id, update=True): method get_quoted_currency_from_product_id (line 243) | def get_quoted_currency_from_product_id(self, product_id): method determine_trades (line 247) | def determine_trades(self, product_id, period_list, indicators): FILE: cbpro-trader/daemon/indicators/IndicatorSubsystem.py class IndicatorSubsystem (line 7) | class IndicatorSubsystem: method __init__ (line 8) | def __init__(self, period_list): method recalculate_indicators (line 15) | def recalculate_indicators(self, cur_period): method calculate_sma (line 29) | def calculate_sma(self, period_name, closing_prices): method calculate_adx (line 35) | def calculate_adx(self, period_name, close): method calculate_bbands (line 40) | def calculate_bbands(self, period_name, close): method calculate_macd (line 52) | def calculate_macd(self, period_name, closing_prices): method calculate_vol_macd (line 60) | def calculate_vol_macd(self, period_name, volumes): method calculate_avg_volume (line 67) | def calculate_avg_volume(self, period_name, volumes): method calculate_obv (line 72) | def calculate_obv(self, period_name, closing_prices, volumes): method calculate_sar (line 79) | def calculate_sar(self, period_name, highs, lows): method calculate_stochrsi (line 84) | def calculate_stochrsi(self, period_name, closing_prices): method calculate_stoch (line 89) | def calculate_stoch(self, period_name, closing_prices): method calculate_mfi (line 94) | def calculate_mfi(self, period_name, highs, lows, closing_prices, volu... FILE: cbpro-trader/daemon/interface/cursesDisplay.py class cursesDisplay (line 7) | class cursesDisplay: method __init__ (line 8) | def __init__(self, enable=True): method update_balances (line 26) | def update_balances(self, trade_engine): method update_candlesticks (line 32) | def update_candlesticks(self, period_list): method update_heartbeat (line 47) | def update_heartbeat(self): method update_indicators (line 50) | def update_indicators(self, period_list, indicators): method update_fills (line 61) | def update_fills(self, trade_engine): method update_orders (line 70) | def update_orders(self, trade_engine): method update_signals (line 96) | def update_signals(self, trade_engine): method update (line 112) | def update(self, trade_engine, indicators, period_list, msg): method print_color (line 134) | def print_color(self, a, b, c=None, d=None): method close (line 147) | def close(self): FILE: cbpro-trader/daemon/interface/web.py class web (line 5) | class web(object): method __init__ (line 6) | def __init__(self, indicator_subsys, trade_engine, config, init_engine... method start (line 89) | def start(self): FILE: cbpro-trader/daemon/period/Candlestick.py class Candlestick (line 4) | class Candlestick: method __init__ (line 5) | def __init__(self, isotime=None, existing_candlestick=None, prev_close... method add_trade (line 27) | def add_trade(self, new_trade): method close_candlestick (line 47) | def close_candlestick(self, period_name, prev_stick=None): method to_list (line 59) | def to_list(self): method print_stick (line 63) | def print_stick(self, period_name): FILE: cbpro-trader/daemon/period/MetaPeriod.py class MetaPeriod (line 10) | class MetaPeriod(Period): method __init__ (line 11) | def __init__(self, period_size=60, name='Period', product='BTC-USD', f... method process_trade (line 16) | def process_trade(self, msg): method get_historical_data (line 32) | def get_historical_data(self, num_periods=200): FILE: cbpro-trader/daemon/period/Period.py class Period (line 11) | class Period: method __init__ (line 12) | def __init__(self, period_size=60, name='Period', product='BTC-USD', i... method initialize (line 30) | def initialize(self): method get_historical_data (line 36) | def get_historical_data(self, num_periods=200): method update_historical_data (line 56) | def update_historical_data(self): method process_heartbeat (line 64) | def process_heartbeat(self, msg): method process_trade (line 77) | def process_trade(self, msg): method get_highs (line 93) | def get_highs(self): method get_lows (line 96) | def get_lows(self): method get_closing_prices (line 99) | def get_closing_prices(self): method get_volumes (line 102) | def get_volumes(self): method new_candlestick (line 105) | def new_candlestick(self, isotime): method add_stick (line 110) | def add_stick(self, stick_to_add): method close_candlestick (line 113) | def close_candlestick(self): FILE: cbpro-trader/daemon/tests/test_period.py class TestCandlestick (line 13) | class TestCandlestick(object): method setup_class (line 14) | def setup_class(self): method test_init_with_isotime_and_prev_close (line 24) | def test_init_with_isotime_and_prev_close(self): method test_init_with_isotime_without_prev_close (line 36) | def test_init_with_isotime_without_prev_close(self): method test_init_without_isotime (line 47) | def test_init_without_isotime(self): method test_add_trade__new_open (line 60) | def test_add_trade__new_open(self): method test_add_trade__higher_high (line 71) | def test_add_trade__higher_high(self): method test_add_trade__lower_low (line 81) | def test_add_trade__lower_low(self): method test_close_candlestick__all_fields_none (line 91) | def test_close_candlestick__all_fields_none(self): method test_close_candlestick__close_not_none (line 102) | def test_close_candlestick__close_not_none(self): class TestPeriod (line 112) | class TestPeriod(object): method setup_class (line 113) | def setup_class(self): method test_init__initalize_false (line 119) | def test_init__initalize_false(self): method test_init__initalize_true (line 130) | def test_init__initalize_true(self, mocker): FILE: cbpro-trader/daemon/trade/Trade.py class Trade (line 5) | class Trade: method __init__ (line 6) | def __init__(self, msg): method print_trade (line 14) | def print_trade(self): FILE: cbpro-trader/web/src/App.js function App (line 6) | function App() { FILE: cbpro-trader/web/src/components/Balances.jsx function Balances (line 3) | function Balances(props) { FILE: cbpro-trader/web/src/components/Chart.jsx function Chart (line 5) | function Chart (props) { FILE: cbpro-trader/web/src/components/CollapseButton.jsx function CollapseButton (line 3) | function CollapseButton(props) { FILE: cbpro-trader/web/src/components/Config.jsx class Config (line 6) | class Config extends Component { method constructor (line 7) | constructor(){ method componentDidMount (line 16) | componentDidMount() { method handleConfigChange (line 22) | handleConfigChange(event) { method handlePeriodChange (line 30) | handlePeriodChange(event) { method handleSubmit (line 44) | handleSubmit(event){ method parseEventData (line 68) | parseEventData(event) { method parseType (line 88) | parseType(data) { method createInput (line 100) | createInput(label, value, period) { method prettifyLabel (line 131) | prettifyLabel(label) { method render (line 135) | render() { FILE: cbpro-trader/web/src/components/Details.jsx function Details (line 3) | function Details(props) { FILE: cbpro-trader/web/src/components/Flags.jsx function Flags (line 3) | function Flags(props) { FILE: cbpro-trader/web/src/components/Orders.jsx function Orders (line 3) | function Orders(props) { FILE: cbpro-trader/web/src/components/SelectAvailable.jsx class SelectAvailable (line 3) | class SelectAvailable extends Component { method constructor (line 4) | constructor(props){ method componentDidMount (line 9) | componentDidMount() { method render (line 18) | render() { FILE: cbpro-trader/web/src/components/Sidebar.jsx function Sidebar (line 8) | function Sidebar(props) { FILE: cbpro-trader/web/src/components/Tooltip.jsx function Tooltip (line 3) | function Tooltip (props) { FILE: cbpro-trader/web/src/containers/ChartController.jsx class ChartController (line 8) | class ChartController extends Component { method constructor (line 9) | constructor() { method componentDidMount (line 16) | componentDidMount() { method update (line 33) | update() { method render (line 85) | render() { FILE: cbpro-trader/web/src/serviceWorker.js function register (line 23) | function register(config) { function registerValidSW (line 57) | function registerValidSW(swUrl, config) { function checkValidServiceWorker (line 101) | function checkValidServiceWorker(swUrl, config) { function unregister (line 129) | function unregister() {