Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created September 14, 2020 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/c5a152e9924ee84d6f94e3829fe79022 to your computer and use it in GitHub Desktop.
Save yuyasugano/c5a152e9924ee84d6f94e3829fe79022 to your computer and use it in GitHub Desktop.
ccxt library in Python
import ccxt
binance = ccxt.binance()
{'loadMarkets': True, 'cancelAllOrders': True, 'cancelOrder': True, 'cancelOrders': False, 'CORS': False, 'createDepositAddress': False,
'createLimitOrder': True, 'createMarketOrder': True, 'createOrder': True, 'deposit': False, 'editOrder': 'emulated', 'fetchBalance': True,
'fetchClosedOrders': 'emulated', 'fetchCurrencies': False, 'fetchDepositAddress': True, 'fetchDeposits': True, 'fetchL2OrderBook': True,
'fetchLedger': False, 'fetchMarkets': True, 'fetchMyTrades': True, 'fetchOHLCV': True, 'fetchOpenOrders': True, 'fetchOrder': True,
'fetchOrderBook': True, 'fetchOrderBooks': False, 'fetchOrders': True, 'fetchOrderTrades': False, 'fetchStatus': True, 'fetchTicker': True,
'fetchTickers': True, 'fetchTime': True, 'fetchTrades': True, 'fetchTradingFee': True, 'fetchTradingFees': True, 'fetchFundingFee': False,
'fetchFundingFees': True, 'fetchTradingLimits': False, 'fetchTransactions': False, 'fetchWithdrawals': True, 'privateAPI': True, 'publicAPI': True,
'signIn': False, 'withdraw': True, 'fetchBidsAsks': True}
binance.timeframes
{'1m': '1m', '3m': '3m', '5m': '5m', '15m': '15m', '30m': '30m', '1h': '1h', '2h': '2h', '4h': '4h', '6h': '6h', '8h': '8h', '12h': '12h',
'1d': '1d', '3d': '3d', '1w': '1w', '1M': '1M'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment