Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sammchardy/python-binance
/ functions
Functions
3,093 in github.com/sammchardy/python-binance
⨍
Functions
3,093
◇
Types & classes
51
↓ 2 callers
Method
futures_index_price_constituents
Get index price constituents https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Index-Constituents
binance/client.py:7691
↓ 2 callers
Method
futures_leverage_bracket
Notional and Leverage Brackets https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Notional-and-Leverage-B
binance/client.py:7859
↓ 2 callers
Method
futures_liquidation_orders
Get all liquidation orders https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Users-Force-Orders
binance/client.py:7707
↓ 2 callers
Method
futures_loan_borrow_history
(self, **params)
binance/client.py:7883
↓ 2 callers
Method
futures_loan_interest_history
(self, **params)
binance/client.py:7908
↓ 2 callers
Method
futures_loan_repay_history
(self, **params)
binance/client.py:7888
↓ 2 callers
Method
futures_loan_wallet
(self, **params)
binance/client.py:7893
↓ 2 callers
Method
futures_mark_price
Get Mark Price and Funding Rate https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Mark-Price
binance/client.py:7602
↓ 2 callers
Method
futures_multiplex_socket
Start a multiplexed socket using a list of socket names. User stream sockets can not be included. Symbols in socket name must be lowe
binance/ws/streams.py:940
↓ 2 callers
Method
futures_open_interest
Get present open interest of a specific symbol. https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Op
binance/client.py:7835
↓ 2 callers
Method
futures_open_interest_hist
Get open interest statistics of a specific symbol. https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api
binance/client.py:7851
↓ 2 callers
Method
futures_orderbook_ticker
Best price/qty on the order book for a symbol or symbols. https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/r
binance/client.py:7675
↓ 2 callers
Method
futures_position_margin_history
Get position margin change history https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Get-Position-Margin-C
binance/client.py:8440
↓ 2 callers
Method
futures_premium_index_klines
Premium index kline bars of a symbol.l. Klines are uniquely identified by their open time. https://developers.binance.com/docs/derivatives/us
binance/client.py:7504
↓ 2 callers
Method
futures_recent_trades
Get recent trades (up to last 500). https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Recent-Trades-
binance/client.py:7455
↓ 2 callers
Method
futures_rpi_depth
Get RPI Order Book with Retail Price Improvement orders https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/res
binance/client.py:7418
↓ 2 callers
Method
futures_stream_close
(self, listenKey)
binance/client.py:8515
↓ 2 callers
Method
futures_symbol_config
Get current account symbol configuration https://developers.binance.com/docs/derivatives/usds-margined-futures/account/rest-api/Symbol-Config
binance/client.py:8530
↓ 2 callers
Method
futures_symbol_ticker
Latest price for a symbol or symbols. https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Symbol-Price
binance/client.py:7667
↓ 2 callers
Method
futures_taker_longshort_ratio
Get taker buy to sell volume ratio of a specific symbol https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/res
binance/client.py:7645
↓ 2 callers
Method
futures_ticker_socket
Start a websocket for all ticker data By default all markets are included in an array. https://binance-docs.github.io/apidocs/future
binance/ws/streams.py:619
↓ 2 callers
Method
futures_time
Test connectivity to the Rest API and get the current server time. https://developers.binance.com/docs/derivatives/usds-margined-futures/mark
binance/client.py:7394
↓ 2 callers
Method
futures_top_longshort_account_ratio
Get present long to short ratio for top accounts of a specific symbol. https://developers.binance.com/docs/derivatives/usds-margined-futures/
binance/client.py:7618
↓ 2 callers
Method
futures_top_longshort_position_ratio
Get present long to short ratio for top positions of a specific symbol. https://developers.binance.com/docs/derivatives/usds-margined-futures
binance/client.py:7627
↓ 2 callers
Function
generate_function_code
Determines which _request_*_api function, path, and version to call based on the endpoint, generates a placeholder function to handle the spe
code-generator.py:371
↓ 2 callers
Method
get_all_isolated_margin_symbols
Query isolated margin symbol info for all pairs https://developers.binance.com/docs/margin_trading/market-data/Get-All-Isolated-Margin-Symbol
binance/client.py:4050
↓ 2 callers
Method
get_all_margin_orders
Query all margin accounts orders If orderId is set, it will get orders >= that orderId. Otherwise most recent orders are returned. F
binance/client.py:5124
↓ 2 callers
Method
get_all_tickers
Latest price for all symbols. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#symbol-price-ticker
binance/client.py:395
↓ 2 callers
Method
get_asks
Get the current asks :return: list of asks with price and quantity as conv_type. .. code-block:: python [
binance/ws/depthcache.py:84
↓ 2 callers
Method
get_asset_details
Fetch details on assets. https://developers.binance.com/docs/wallet/asset :param asset: optional :type asset: str :p
binance/client.py:2906
↓ 2 callers
Method
get_asset_dividend_history
Query asset dividend record. https://developers.binance.com/docs/wallet/asset/assets-divided-record :param asset: optional :
binance/client.py:2734
↓ 2 callers
Method
get_avg_price
Current average price for a symbol. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#current-average-
binance/client.py:1130
↓ 2 callers
Method
get_bnb_burn_spot_margin
Get BNB Burn Status https://developers.binance.com/docs/margin_trading/account/Get-BNB-Burn-Status .. code:: python sta
binance/client.py:4215
↓ 2 callers
Method
get_c2c_trade_history
Get C2C Trade History https://binance-docs.github.io/apidocs/spot/en/#get-c2c-trade-history-user_data :param tradeType: required - B
binance/client.py:10175
↓ 2 callers
Method
get_convert_trade_history
Get C2C Trade History https://developers.binance.com/docs/convert/trade/Get-Convert-Trade-History :param startTime: required - Start
binance/client.py:10250
↓ 2 callers
Method
get_cross_margin_collateral_ratio
https://developers.binance.com/docs/margin_trading/market-data :param none :returns: API response .. code-block::
binance/client.py:3644
↓ 2 callers
Method
get_cross_margin_data
Query Cross Margin Fee Data (USER_DATA) https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Fee-Data :para
binance/client.py:4907
↓ 2 callers
Method
get_deposit_address
Fetch a deposit address for a symbol https://developers.binance.com/docs/wallet/capital/deposite-address :param coin: required
binance/client.py:3174
↓ 2 callers
Method
get_deposit_history
Fetch deposit history. https://developers.binance.com/docs/wallet/capital/deposite-history :param coin: optional :type coin:
binance/client.py:3015
↓ 2 callers
Method
get_enabled_isolated_margin_account_limit
Query enabled isolated margin account limit. https://developers.binance.com/docs/margin_trading/account/Query-Enabled-Isolated-Margin-Account
binance/client.py:3493
↓ 2 callers
Method
get_fiat_deposit_withdraw_history
Get Fiat Deposit/Withdraw History https://binance-docs.github.io/apidocs/spot/en/#get-fiat-deposit-withdraw-history-user_data :param
binance/client.py:10129
↓ 2 callers
Method
get_fiat_payments_history
Get Fiat Payments History https://binance-docs.github.io/apidocs/spot/en/#get-fiat-payments-history-user_data :param transactionType
binance/client.py:10150
↓ 2 callers
Method
get_fixed_activity_project_list
Get Fixed and Activity Project List https://binance-docs.github.io/apidocs/spot/en/#get-fixed-and-activity-project-list-user_data :p
binance/client.py:6223
↓ 2 callers
Method
get_future_hourly_interest_rate
Get user the next hourly estimate interest https://developers.binance.com/docs/margin_trading/borrow-and-repay :param assets: List o
binance/client.py:3772
↓ 2 callers
Method
get_historical_klines_generator
Get Historical Klines generator from Binance https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#klineca
binance/client.py:998
↓ 2 callers
Method
get_historical_trades
Get older trades. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#old-trade-lookup :param s
binance/client.py:533
↓ 2 callers
Method
get_isolated_margin_account
Query isolated margin account details https://developers.binance.com/docs/margin_trading/account/Query-Isolated-Margin-Account-Info
binance/client.py:3334
↓ 2 callers
Method
get_isolated_margin_fee_data
Get isolated margin fee data collection with any vip level or user's current specific data as https://www.binance.com/en/margin-fee https://d
binance/client.py:4090
↓ 2 callers
Method
get_isolated_margin_symbol
Query isolated margin symbol info https://binance-docs.github.io/apidocs/spot/en/#query-isolated-margin-symbol-user_data :param symb
binance/client.py:4017
↓ 2 callers
Method
get_isolated_margin_tier_data
Get isolated margin tier data collection with any tier as https://www.binance.com/en/margin-data https://developers.binance.com/docs/margin_t
binance/client.py:4127
↓ 2 callers
Method
get_isolated_margin_tranfer_history
Get transfers to isolated margin account. https://binance-docs.github.io/apidocs/spot/en/#get-isolated-margin-transfer-history-user_data
binance/client.py:4402
↓ 2 callers
Method
get_margin_account
Query cross-margin account details https://developers.binance.com/docs/margin_trading/account/Query-Cross-Margin-Account-Details :re
binance/client.py:3276
↓ 2 callers
Method
get_margin_all_assets
Get All Margin Assets (MARKET_DATA) https://developers.binance.com/docs/margin_trading/market-data/Get-All-Margin-Assets .. code:: p
binance/client.py:3910
↓ 2 callers
Method
get_margin_all_pairs
Get All Cross Margin Pairs (MARKET_DATA) https://developers.binance.com/docs/margin_trading/market-data/Get-All-Cross-Margin-Pairs .
binance/client.py:3947
↓ 2 callers
Method
get_margin_asset
Query cross-margin asset https://binance-docs.github.io/apidocs/spot/en/#query-margin-asset-market_data :param asset: name of the as
binance/client.py:3848
↓ 2 callers
Method
get_margin_capital_flow
Get cross or isolated margin capital flow https://developers.binance.com/docs/margin_trading/account/Query-Cross-Isolated-Margin-Capital-Flow
binance/client.py:3801
↓ 2 callers
Method
get_margin_delist_schedule
Get tokens or symbols delist schedule for cross margin and isolated margin https://developers.binance.com/docs/margin_trading/market-data/Get
binance/client.py:5295
↓ 2 callers
Method
get_margin_dust_assets
Get margin assets that can be converted into BNB. https://binance-docs.github.io/apidocs/spot/en/#margin-dustlog-user_data :returns:
binance/client.py:3582
↓ 2 callers
Method
get_margin_dustlog
Query the historical information of user's margin account small-value asset conversion BNB. https://binance-docs.github.io/apidocs/s
binance/client.py:3511
↓ 2 callers
Method
get_margin_force_liquidation_rec
Get Force Liquidation Record (USER_DATA) https://developers.binance.com/docs/margin_trading/trade :param startTime: :type st
binance/client.py:4986
↓ 2 callers
Method
get_margin_interest_history
Get Interest History (USER_DATA) https://developers.binance.com/docs/margin_trading/borrow-and-repay/Get-Interest-History :param ass
binance/client.py:4941
↓ 2 callers
Method
get_margin_loan_details
Query loan record txId or startTime must be sent. txId takes precedence. https://binance-docs.github.io/apidocs/spot/en/#query-loan-
binance/client.py:4813
↓ 2 callers
Method
get_margin_oco_order
Retrieves a specific OCO based on provided optional parameters https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-
binance/client.py:5526
↓ 2 callers
Method
get_margin_order
Query margin accounts order Either orderId or origClientOrderId must be sent. For some historical orders cummulativeQuoteQty will be
binance/client.py:5029
↓ 2 callers
Method
get_margin_price_index
Query margin priceIndex https://developers.binance.com/docs/margin_trading/market-data/Query-Margin-PriceIndex :param symbol: name o
binance/client.py:4239
↓ 2 callers
Method
get_margin_repay_details
Query repay record txId or startTime must be sent. txId takes precedence. https://binance-docs.github.io/apidocs/spot/en/#query-repa
binance/client.py:4857
↓ 2 callers
Method
get_margin_symbol
Query cross-margin symbol info https://binance-docs.github.io/apidocs/spot/en/#query-cross-margin-pair-market_data :param symbol: na
binance/client.py:3878
↓ 2 callers
Method
get_margin_trades
Query margin accounts trades If fromId is set, it will get orders >= that fromId. Otherwise most recent orders are returned. https:/
binance/client.py:5185
↓ 2 callers
Method
get_margin_transfer_history
Query margin transfer history https://developers.binance.com/docs/margin_trading/transfer :param asset: optional :type asset
binance/client.py:4752
↓ 2 callers
Method
get_max_margin_loan
Query max borrow amount for an asset https://binance-docs.github.io/apidocs/spot/en/#query-max-borrow-user_data :param asset: requir
binance/client.py:5245
↓ 2 callers
Method
get_max_margin_transfer
Query max transfer-out amount https://developers.binance.com/docs/margin_trading/transfer/Query-Max-Transfer-Out-Amount :param asset
binance/client.py:5270
↓ 2 callers
Method
get_my_trades
Get trades for a specific symbol. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/account-endpoints#account-trade-list-use
binance/client.py:2297
↓ 2 callers
Method
get_open_margin_oco_orders
Retrieves open OCO trades https://developers.binance.com/docs/margin_trading/trade/Query-Margin-Account-Open-OCO :param isIsolated:
binance/client.py:5572
↓ 2 callers
Method
get_open_margin_orders
Query margin accounts open orders If the symbol is not sent, orders for all symbols will be returned in an array (cross-margin only).
binance/client.py:5075
↓ 2 callers
Method
get_orderbook_tickers
Best price/qty on the order book for all symbols. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/market-data-endpoints#sy
binance/client.py:425
↓ 2 callers
Method
get_pay_trade_history
Get C2C Trade History https://binance-docs.github.io/apidocs/spot/en/#pay-endpoints :param startTime: optional :type startTi
binance/client.py:10227
↓ 2 callers
Method
get_personal_left_quota
Get Personal Left Quota of Staking Product https://binance-docs.github.io/apidocs/spot/en/#get-personal-left-quota-of-staking-product-user_da
binance/client.py:6347
↓ 2 callers
Method
get_recent_trades
(self, **params)
binance/async_client.py:384
↓ 2 callers
Method
get_simple_earn_account
https://binance-docs.github.io/apidocs/spot/en/#simple-account-user_data :param recvWindow: the number of milliseconds the request
binance/client.py:6193
↓ 2 callers
Method
get_simple_earn_flexible_product_list
Get available Simple Earn flexible product list https://binance-docs.github.io/apidocs/spot/en/#get-simple-earn-flexible-product-list-user_da
binance/client.py:5883
↓ 2 callers
Method
get_simple_earn_flexible_product_position
https://binance-docs.github.io/apidocs/spot/en/#get-flexible-product-position-user_data :param asset: optional :type asset:
binance/client.py:6098
↓ 2 callers
Method
get_simple_earn_locked_product_list
Get available Simple Earn flexible product list https://binance-docs.github.io/apidocs/spot/en/#get-simple-earn-locked-product-list-user_data
binance/client.py:5931
↓ 2 callers
Method
get_simple_earn_locked_product_position
https://binance-docs.github.io/apidocs/spot/en/#get-locked-product-position-user_data :param asset: optional :type asset: s
binance/client.py:6148
↓ 2 callers
Method
get_small_liability_exchange_assets
Query the coins which can be small liability exchange https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-C
binance/client.py:3695
↓ 2 callers
Method
get_small_liability_exchange_history
Get Small liability Exchange History https://developers.binance.com/docs/margin_trading/trade/Get-Small-Liability-Exchange-History :
binance/client.py:3736
↓ 2 callers
Method
get_spot_delist_schedule
Get symbols delist schedule for spot https://developers.binance.com/docs/wallet/others/delist-schedule :param recvWindow: optional -
binance/client.py:2939
↓ 2 callers
Method
get_staking_position
Get Staking Product Position https://binance-docs.github.io/apidocs/spot/en/#get-staking-product-position-user_data
binance/client.py:6317
↓ 2 callers
Method
get_staking_product_list
Get Staking Product List https://binance-docs.github.io/apidocs/spot/en/#get-staking-product-list-user_data
binance/client.py:6287
↓ 2 callers
Method
get_staking_purchase_history
Get Staking Purchase History https://binance-docs.github.io/apidocs/spot/en/#get-staking-history-user_data
binance/client.py:6327
↓ 2 callers
Method
get_sub_account_assets
Fetch sub-account assets https://developers.binance.com/docs/sub_account/asset-management/Query-Sub-account-Assets-V4 :param email:
binance/client.py:6603
↓ 2 callers
Method
get_sub_account_futures_transfer_history
Query Sub-account Futures Transfer History. https://developers.binance.com/docs/sub_account/asset-management/Query-Sub-account-Futures-Asset-
binance/client.py:6517
↓ 2 callers
Method
get_sub_account_list
Query Sub-account List. https://developers.binance.com/docs/sub_account/account-management/Query-Sub-account-List :param email: opti
binance/client.py:6425
↓ 2 callers
Method
get_sub_account_transfer_history
Query Sub-account Transfer History. https://developers.binance.com/docs/sub_account/asset-management/Query-Sub-account-Spot-Asset-Transfer-Hi
binance/client.py:6465
↓ 2 callers
Method
get_subaccount_deposit_address
Get Sub-account Deposit Address (For Master Account) https://developers.binance.com/docs/sub_account/asset-management/Get-Sub-account-Deposit
binance/client.py:6694
↓ 2 callers
Method
get_subaccount_deposit_history
Get Sub-account Deposit History (For Master Account) https://developers.binance.com/docs/sub_account/asset-management/Get-Sub-account-Deposit
binance/client.py:6726
↓ 2 callers
Method
get_subaccount_futures_details
Get Detail on Sub-account's Futures Account (For Master Account) https://developers.binance.com/docs/sub_account/asset-management/Get-Detail-
binance/client.py:6983
↓ 2 callers
Method
get_subaccount_futures_margin_status
Get Sub-account's Status on Margin/Futures (For Master Account) https://developers.binance.com/docs/sub_account/account-management/Get-Sub-ac
binance/client.py:6786
↓ 2 callers
Method
get_subaccount_futures_positionrisk
Get Futures Position-Risk of Sub-account (For Master Account) https://developers.binance.com/docs/sub_account/account-management/Get-Futures-
binance/client.py:7089
↓ 2 callers
Method
get_subaccount_futures_summary
Get Summary of Sub-account's Futures Account (For Master Account) https://developers.binance.com/docs/sub_account/asset-management/Get-Summar
binance/client.py:7035
↓ 2 callers
Method
get_subaccount_margin_details
Get Detail on Sub-account's Margin Account (For Master Account) https://developers.binance.com/docs/sub_account/asset-management/Get-Detail-o
binance/client.py:6846
← previous
next →
301–400 of 3,093, ranked by callers