MCPcopy Index your code

hub / github.com/ccxt/binance-trade-bot / functions

Functions126 in github.com/ccxt/binance-trade-bot

↓ 48 callersMethodinfo
(self, message, notification=True)
binance_trade_bot/logger.py:44
↓ 26 callersMethoddb_session
Creates a context with an open SQLAlchemy session.
binance_trade_bot/database.py:39
↓ 14 callersMethodget_ticker_price
Get ticker price of a specific coin
binance_trade_bot/backtest.py:42
↓ 11 callersMethoddebug
(self, message, notification=False)
binance_trade_bot/logger.py:53
↓ 9 callersMethodget_currency_balance
Get balance of a specific coin
binance_trade_bot/binance_api_manager.py:113
↓ 8 callersMethoderror
(self, message, notification=True)
binance_trade_bot/logger.py:50
↓ 8 callersMethodget_currency_balance
Get balance of a specific coin
binance_trade_bot/backtest.py:65
↓ 8 callersMethodget_current_coin
(self)
binance_trade_bot/database.py:108
↓ 6 callersMethodopen_balances
(self)
binance_trade_bot/binance_stream_manager.py:39
↓ 6 callersMethodsend_update
(self, model)
binance_trade_bot/database.py:220
↓ 5 callersFunctionfilter_period
(query, model)
binance_trade_bot/api_server.py:28
↓ 5 callersMethodget_coin
(self, coin: Union[Coin, str])
binance_trade_bot/database.py:89
↓ 5 callersMethodget_ticker_price
Get ticker price of a specific coin
binance_trade_bot/binance_api_manager.py:96
↓ 5 callersMethodinfo
(self)
binance_trade_bot/models/pair.py:36
↓ 5 callersMethodset_current_coin
(self, coin: Union[Coin, str])
binance_trade_bot/database.py:98
↓ 5 callersMethodwarning
(self, message, notification=True)
binance_trade_bot/logger.py:47
↓ 4 callersMethod_sell_quantity
(self, origin_symbol: str, target_symbol: str, origin_balance: float = None)
binance_trade_bot/binance_api_manager.py:321
↓ 4 callersMethodbuy_alt
(self, origin_coin: Coin, target_coin: Coin)
binance_trade_bot/backtest.py:71
↓ 4 callersMethodget_fee
(self, origin_coin: Coin, target_coin: Coin, selling: bool)
binance_trade_bot/backtest.py:39
↓ 4 callersMethodget_min_notional
(self, origin_symbol: str, target_symbol: str)
binance_trade_bot/binance_api_manager.py:161
↓ 4 callersMethodlog
(self, message, level="info", notification=True)
binance_trade_bot/logger.py:31
↓ 3 callersMethod_buy_quantity
( self, origin_symbol: str, target_symbol: str, target_balance: float = None,
binance_trade_bot/binance_api_manager.py:252
↓ 3 callersMethodclose
(self)
binance_trade_bot/binance_stream_manager.py:189
↓ 3 callersMethodcreate_database
(self)
binance_trade_bot/database.py:214
↓ 2 callersMethod_get_ratios
Given a coin, get the current price ratio for every other enabled coin
binance_trade_bot/auto_trader.py:106
↓ 2 callersMethod_jump_to_best_coin
Given a coin, search for a coin to jump to
binance_trade_bot/auto_trader.py:139
↓ 2 callersMethodacquire_order_guard
(self)
binance_trade_bot/binance_stream_manager.py:104
↓ 2 callersMethodcollate_coins
(self, target_symbol: str)
binance_trade_bot/backtest.py:116
↓ 2 callersMethodget_account
Get account information
binance_trade_bot/binance_api_manager.py:90
↓ 2 callersMethodget_alt_tick
(self, origin_symbol: str, target_symbol: str)
binance_trade_bot/binance_api_manager.py:154
↓ 2 callersMethodget_coins
(self, only_enabled=True)
binance_trade_bot/database.py:79
↓ 2 callersFunctionget_strategy
(name)
binance_trade_bot/strategies/__init__.py:5
↓ 2 callersMethodget_symbol_filter
(self, origin_symbol: str, target_symbol: str, filter_type: str)
binance_trade_bot/binance_api_manager.py:146
↓ 2 callersMethodinitialize
(self)
binance_trade_bot/auto_trader.py:26
↓ 2 callersMethodretry
(self, func, *args, **kwargs)
binance_trade_bot/binance_api_manager.py:135
↓ 2 callersMethodset_coins
(self, symbols: List[str])
binance_trade_bot/database.py:48
↓ 2 callersMethodset_complete
(self, crypto_trade_amount)
binance_trade_bot/database.py:284
↓ 2 callersMethodset_order
(self, origin_symbol: str, target_symbol: str, order_id: int)
binance_trade_bot/binance_stream_manager.py:53
↓ 2 callersMethodset_ordered
(self, alt_starting_balance, crypto_starting_balance, alt_trade_amount)
binance_trade_bot/database.py:274
↓ 2 callersMethodstart_trade_log
(self, from_coin: Coin, to_coin: Coin, selling: bool)
binance_trade_bot/database.py:217
↓ 2 callersMethodwait_for_order
( self, order_id, origin_symbol: str, target_symbol: str, order_guard: OrderGuard )
binance_trade_bot/binance_api_manager.py:220
↓ 1 callersMethod__init__
(self, logger: Logger, config: Config)
binance_trade_bot/backtest.py:136
↓ 1 callersMethod_fetch_pending_orders
(self)
binance_trade_bot/binance_stream_manager.py:107
↓ 1 callersMethod_invalidate_balances
(self)
binance_trade_bot/binance_stream_manager.py:137
↓ 1 callersMethod_process_stream_data
(self, stream_data)
binance_trade_bot/binance_stream_manager.py:163
↓ 1 callersMethod_should_cancel_order
(self, order_status)
binance_trade_bot/binance_api_manager.py:226
↓ 1 callersMethod_wait_for_order
( self, order_id, origin_symbol: str, target_symbol: str )
binance_trade_bot/binance_api_manager.py:164
↓ 1 callersFunctionbacktest
:param config: Configuration object to use :param start_date: Date to backtest from :param end_date: Date to backtest up to :param
binance_trade_bot/backtest.py:149
↓ 1 callersMethodbridge_scout
(self)
binance_trade_bot/strategies/default_strategy.py:34
↓ 1 callersMethodget_pair
(self, from_coin: Union[Coin, str], to_coin: Union[Coin, str])
binance_trade_bot/database.py:118
↓ 1 callersMethodget_pairs_from
(self, from_coin: Union[Coin, str], only_enabled=True)
binance_trade_bot/database.py:127
↓ 1 callersMethodget_trade_fees
(self)
binance_trade_bot/binance_api_manager.py:44
↓ 1 callersMethodget_using_bnb_for_fees
(self)
binance_trade_bot/binance_api_manager.py:59
↓ 1 callersMethodincrement
(self, interval=1)
binance_trade_bot/backtest.py:36
↓ 1 callersMethodinitialize_current_coin
Decide what is the current coin, and set it up in the DB.
binance_trade_bot/strategies/default_strategy.py:45
↓ 1 callersMethodinitialize_trade_thresholds
Initialize the buying threshold of all the coins for trading between them
binance_trade_bot/auto_trader.py:77
↓ 1 callersMethodlog_scout
( self, pair: Pair, target_ratio: float, current_coin_price: float, ot
binance_trade_bot/database.py:148
↓ 1 callersFunctionmain
()
binance_trade_bot/crypto_trading.py:12
↓ 1 callersMethodmigrate_old_state
For migrating from old dotfile format to SQL db. This method should be removed in the future.
binance_trade_bot/database.py:230
↓ 1 callersMethodscout
Scout for potential jumps from the current coin to another coin
binance_trade_bot/auto_trader.py:100
↓ 1 callersMethodsell_alt
(self, origin_coin: Coin, target_coin: Coin)
binance_trade_bot/backtest.py:97
↓ 1 callersMethodsend_notification
(self, message, attachments=None)
binance_trade_bot/notifications.py:36
↓ 1 callersMethodsetup_websockets
(self)
binance_trade_bot/binance_api_manager.py:35
↓ 1 callersMethodsocketio_connect
(self)
binance_trade_bot/database.py:26
↓ 1 callersMethodstart_worker
(self)
binance_trade_bot/notifications.py:23
↓ 1 callersMethodtransaction_through_bridge
Jump from the source coin to the destination coin through bridge coin
binance_trade_bot/auto_trader.py:29
↓ 1 callersMethodupdate_trade_threshold
Update all the coins with the threshold of buying the current held coin
binance_trade_bot/auto_trader.py:57
Method__add__
(self, other)
binance_trade_bot/models/coin.py:15
Method__enter__
(self)
binance_trade_bot/binance_stream_manager.py:56
Method__exit__
(self, exc_type, exc_val, exc_tb)
binance_trade_bot/binance_stream_manager.py:64
Method__init__
(self)
binance_trade_bot/config.py:12
Method__init__
(self, logger: Logger, config: Config, uri="sqlite:///data/crypto_trading.db")
binance_trade_bot/database.py:19
Method__init__
(self, db: Database, from_coin: Coin, to_coin: Coin, selling: bool)
binance_trade_bot/database.py:262
Method__init__
(self, enabled=True)
binance_trade_bot/notifications.py:11
Method__init__
(self, logger: logging.Logger, rerun_immediately=True)
binance_trade_bot/scheduler.py:17
Method__init__
( self, binance_manager: BinanceAPIManager, database: Database, logger: Logger
binance_trade_bot/auto_trader.py:14
Method__init__
(self, config: Config, db: Database, logger: Logger, testnet = False)
binance_trade_bot/binance_api_manager.py:18
Method__init__
(self, logging_service="crypto_trading", enable_notifications=True)
binance_trade_bot/logger.py:10
Method__init__
(self, report)
binance_trade_bot/binance_stream_manager.py:16
Method__init__
(self, pending_orders: Set[Tuple[str, int]], mutex: threading.Lock)
binance_trade_bot/binance_stream_manager.py:45
Method__init__
( self, cache: BinanceCache, config: Config, binance_client: binance.client.Cl
binance_trade_bot/binance_stream_manager.py:69
Method__init__
( self, config: Config, db: Database, logger: Logger, start_date: date
binance_trade_bot/backtest.py:20
Method__init__
(self, from_coin: Coin, to_coin: Coin, ratio=None)
binance_trade_bot/models/pair.py:28
Method__init__
( self, coin: Coin, balance: float, usd_price: float, btc_price: float
binance_trade_bot/models/coin_value.py:35
Method__init__
(self, alt_coin: Coin, crypto_coin: Coin, selling: bool)
binance_trade_bot/models/trade.py:39
Method__init__
(self, symbol, enabled=True)
binance_trade_bot/models/coin.py:11
Method__init__
(self, coin: Coin)
binance_trade_bot/models/current_coin.py:17
Method__init__
( self, pair: Pair, target_ratio: float, current_coin_price: float, ot
binance_trade_bot/models/scout_history.py:25
Method__repr__
(self)
binance_trade_bot/binance_stream_manager.py:27
Method__repr__
(self)
binance_trade_bot/models/pair.py:33
Method__repr__
(self)
binance_trade_bot/models/coin.py:22
Method_buy_alt
Buy altcoin
binance_trade_bot/binance_api_manager.py:265
Method_run_job
(self, job: Job)
binance_trade_bot/scheduler.py:23
Method_sell_alt
Sell altcoin
binance_trade_bot/binance_api_manager.py:327
Method_stream_processor
(self)
binance_trade_bot/binance_stream_manager.py:141
Methodbridge_scout
If we have any bridge coin leftover, buy a coin with it that we won't immediately trade out of
binance_trade_bot/auto_trader.py:154
Methodbtc_value
(self)
binance_trade_bot/models/coin_value.py:62
Methodbuy_alt
(self, origin_coin: Coin, target_coin: Coin)
binance_trade_bot/binance_api_manager.py:249
Functioncoins
()
binance_trade_bot/api_server.py:131
Functioncurrent_coin
()
binance_trade_bot/api_server.py:113
next →1–100 of 126, ranked by callers