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
↓ 1 callers
Method
order_market_buy
Send in a new market buy order https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#new-order-trade
binance/client.py:1592
↓ 1 callers
Method
papi_create_cm_order
Place new CM order. https://developers.binance.com/docs/derivatives/portfolio-margin/trade/New-CM-Order :returns: API response
binance/async_client.py:3509
↓ 1 callers
Method
papi_create_um_order
Place new UM order. https://developers.binance.com/docs/derivatives/portfolio-margin/trade :returns: API response
binance/async_client.py:3481
↓ 1 callers
Method
papi_stream_get_listen_key
Start a new user data stream for Portfolio Margin account. https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams
binance/client.py:10351
↓ 1 callers
Method
papi_stream_keepalive
Keepalive a user data stream to prevent a time out. https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams/Keepal
binance/client.py:10371
↓ 1 callers
Method
ping
(self)
binance/async_client.py:340
↓ 1 callers
Method
portfolio_margin_socket
Start a websocket for portfolio margin user data https://developers.binance.com/docs/derivatives/portfolio-margin/user-data-streams
binance/ws/streams.py:1065
↓ 1 callers
Function
setup
(app)
docs/conf.py:194
↓ 1 callers
Method
socket_listener
(self)
binance/ws/threaded_stream.py:59
↓ 1 callers
Method
stake_asset_us
(self, **params)
binance/async_client.py:1708
↓ 1 callers
Method
start_depth_cache
( self, callback: Callable, symbol: str, refresh_interval=None, bm=Non
binance/ws/depthcache.py:481
↓ 1 callers
Function
sync_client_example
Example 1: Synchronous Client with verbose mode
examples/verbose_example.py:21
↓ 1 callers
Method
universal_transfer
Unviversal transfer api accross different binance account types https://developers.binance.com/docs/wallet/asset/user-universal-transfer
binance/client.py:8793
↓ 1 callers
Method
unstake_asset_us
(self, **params)
binance/async_client.py:1716
↓ 1 callers
Function
websocket_example
Example 3: WebSocket with verbose mode
examples/verbose_example.py:49
↓ 1 callers
Function
write_function_to_endpoints_md
Append a brief reference entry to Endpoints.md, showing the usage example. First checks if the entry already exists to avoid duplicates.
code-generator.py:443
↓ 1 callers
Method
ws_get_all_orders
Query information about all your orders – active, canceled, filled – filtered by time range. https://developers.binance.com/docs/binance-spot
binance/client.py:12985
↓ 1 callers
Method
ws_get_order_book
(self, **params)
binance/async_client.py:4487
Method
__aenter__
(self)
binance/ws/depthcache.py:182
Method
__aenter__
(self)
tests/test_threaded_stream.py:17
Method
__aexit__
(self, *args, **kwargs)
binance/ws/keepalive_websocket.py:39
Method
__aexit__
(self, *args, **kwargs)
binance/ws/depthcache.py:187
Method
__aexit__
Clean up responses before closing
binance/ws/websocket_api.py:185
Method
__aexit__
(self, *args)
tests/test_threaded_stream.py:20
Method
__aiter__
(self)
tests/test_threaded_stream.py:23
Method
__anext__
(self)
tests/test_threaded_stream.py:26
Method
__call__
(self, *args, **kwargs)
tests/test_threaded_stream.py:14
Method
__del__
(self)
binance/client.py:11686
Method
__init__
( self, api_key: Optional[str] = None, api_secret: Optional[str] = None, reque
binance/client.py:25
Method
__init__
Binance API Client constructor :param api_key: Api Key :type api_key: str. :param api_secret: Api Secret :type api_se
binance/base_client.py:158
Method
__init__
(self, message)
binance/exceptions.py:26
Method
__init__
(self, code, message)
binance/exceptions.py:34
Method
__init__
(self, value)
binance/exceptions.py:43
Method
__init__
(self, value)
binance/exceptions.py:49
Method
__init__
(self, value)
binance/exceptions.py:55
Method
__init__
(self, value)
binance/exceptions.py:61
Method
__init__
(self, value)
binance/exceptions.py:67
Method
__init__
(self, value)
binance/exceptions.py:89
Method
__init__
( self, required_tld: str, actual_tld: str, endpoint_name: str = "endpoint" )
binance/exceptions.py:101
Method
__init__
( self, api_key: Optional[str] = None, api_secret: Optional[str] = None, reque
binance/async_client.py:27
Method
__init__
( self, client: AsyncClient, url, keepalive_type, prefix="ws/",
binance/ws/keepalive_websocket.py:9
Method
__init__
Initialise the ThreadedApiManager :param api_key: Binance API key :param api_secret: Binance API secret :param requests_param
binance/ws/threaded_stream.py:11
Method
__init__
Create a DepthCacheManager instance :param client: Binance API client :type client: binance.Client :param loop: :type
binance/ws/depthcache.py:141
Method
__init__
Initialise the DepthCacheManager :param client: Binance API client :type client: binance.Client :param loop: asyncio loop
binance/ws/depthcache.py:299
Method
__init__
( self, api_key: Optional[str] = None, api_secret: Optional[str] = None, reque
binance/ws/depthcache.py:440
Method
__init__
( self, url: str, tld: str = "com", testnet: bool = False, https_proxy
binance/ws/websocket_api.py:12
Method
__init__
( self, api_key: Optional[str] = None, api_secret: Optional[str] = None, reque
binance/ws/streams.py:1376
Method
__init__
( self, url: str, path: Optional[str] = None, prefix: str = "ws/", is_
binance/ws/reconnecting_websocket.py:52
Method
__str__
(self)
binance/exceptions.py:21
Method
__str__
(self)
binance/exceptions.py:29
Method
__str__
(self)
binance/exceptions.py:38
Method
__str__
(self)
binance/exceptions.py:113
Method
_apply_orders
(self, msg)
binance/ws/depthcache.py:421
Method
_before_socket_listener_start
(self)
binance/ws/streams.py:1401
Method
_ed25519_signature
(self, query_string: str)
binance/base_client.py:376
Method
_generate_ws_api_signature
(self, data: Dict)
binance/base_client.py:412
Method
_get_socket
(self)
binance/ws/depthcache.py:371
Method
_get_socket
(self)
binance/ws/depthcache.py:429
Method
_get_socket
(self)
binance/ws/depthcache.py:435
Method
_hmac_signature
(self, query_string: str)
binance/base_client.py:384
Method
_init_session
(self)
binance/client.py:58
Method
_init_session
(self)
binance/async_client.py:120
Method
_make_sync
(self, method)
binance/base_client.py:440
Method
_process_depth_message
Process a depth event message. :param msg: Depth event message. :return:
binance/ws/depthcache.py:411
Method
_rsa_signature
(self, query_string: str)
binance/base_client.py:347
Method
_start_socket
Start the depth cache socket :return:
binance/ws/depthcache.py:361
Method
aggregate_trade_iter
Iterate over aggregate trade data from (start_time or last_id) to the end of the history so far. If start_time is specified, start wi
binance/client.py:604
Method
aggregate_trade_iter
(self, symbol, start_str=None, last_id=None)
binance/async_client.py:403
Method
aggtrade_socket
Start a websocket for symbol trade data https://github.com/binance-exchange/binance-official-api-docs/blob/master/web-socket-streams.md#aggre
binance/ws/streams.py:440
Method
book_ticker_socket
Start a websocket for the best bid or ask's price or quantity for all symbols. https://github.com/binance-exchange/binance-official-api-docs/
binance/ws/streams.py:880
Function
cancel_algo_order
Cancel a specific algo order
examples/futures_algo_order_examples.py:183
Function
cancel_all_algo_orders
Cancel all open algo orders for a symbol
examples/futures_algo_order_examples.py:193
Method
cancel_all_open_margin_orders
Cancels all active orders on a symbol for margin account. https://developers.binance.com/docs/margin_trading/trade/Margin-Account-Ca
binance/client.py:4711
Method
cancel_all_open_margin_orders
(self, **params)
binance/async_client.py:1290
Method
cancel_all_open_orders
Cancel all open orders on a symbol. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#cancel-all-
binance/client.py:2031
Method
cancel_all_open_orders
(self, **params)
binance/async_client.py:4385
Method
cancel_margin_oco_order
(self, **params)
binance/async_client.py:1397
Method
cancel_margin_order
(self, **params)
binance/async_client.py:1283
Method
cancel_order
Cancel an active order. Either orderId or origClientOrderId must be sent. https://developers.binance.com/docs/binance-spot-api-docs/rest-api/
binance/client.py:1999
Method
cancel_order
(self, **params)
binance/async_client.py:802
Method
change_fixed_activity_to_daily_position
(self, **params)
binance/async_client.py:1642
Function
client
()
tests/conftest.py:50
Function
clientAsync
()
tests/conftest.py:65
Function
close_all_futures_positions
(futuresClientAsync)
tests/test_async_client_futures.py:300
Function
close_all_futures_positions
(futuresClient)
tests/test_client_futures.py:354
Method
coin_futures_socket
Start a websocket for coin futures data https://binance-docs.github.io/apidocs/delivery/en/#websocket-market-streams :returns: c
binance/ws/streams.py:1049
Method
coin_futures_user_socket
Start a websocket for coin futures user data https://binance-docs.github.io/apidocs/delivery/en/#user-data-streams :returns: connect
binance/ws/streams.py:1004
Method
connection_lock
(self)
binance/ws/websocket_api.py:40
Function
controlled_recv
()
tests/test_threaded_stream.py:69
Method
convert_accept_quote
(self, **params)
binance/async_client.py:3160
Method
convert_request_quote
(self, **params)
binance/async_client.py:3153
Function
create_basic_stop_market_order
Create a basic STOP_MARKET algo order
examples/futures_algo_order_examples.py:22
Method
create_isolated_margin_account
(self, **params)
binance/async_client.py:1157
Method
create_margin_loan
(self, **params)
binance/async_client.py:1260
Method
create_margin_oco_order
(self, **params)
binance/async_client.py:1390
Method
create_margin_order
(self, **params)
binance/async_client.py:1274
Function
create_margin_ordertest_
(asyncClient)
tests/test_async_client_margin.py:162
Function
create_margin_ordertest_
(client)
tests/test_client_margin.py:217
Function
create_stop_market_close_position
Create a STOP_MARKET order to close all positions
examples/futures_algo_order_examples.py:99
Function
create_stop_with_reduce_only
Create a STOP order with reduce only mode
examples/futures_algo_order_examples.py:113
← previous
next →
701–800 of 3,093, ranked by callers