MCPcopy Create free account

hub / github.com/sammchardy/python-binance / functions

Functions3,093 in github.com/sammchardy/python-binance

↓ 1 callersMethodorder_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 callersMethodpapi_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 callersMethodpapi_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 callersMethodpapi_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 callersMethodpapi_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 callersMethodping
(self)
binance/async_client.py:340
↓ 1 callersMethodportfolio_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 callersFunctionsetup
(app)
docs/conf.py:194
↓ 1 callersMethodsocket_listener
(self)
binance/ws/threaded_stream.py:59
↓ 1 callersMethodstake_asset_us
(self, **params)
binance/async_client.py:1708
↓ 1 callersMethodstart_depth_cache
( self, callback: Callable, symbol: str, refresh_interval=None, bm=Non
binance/ws/depthcache.py:481
↓ 1 callersFunctionsync_client_example
Example 1: Synchronous Client with verbose mode
examples/verbose_example.py:21
↓ 1 callersMethoduniversal_transfer
Unviversal transfer api accross different binance account types https://developers.binance.com/docs/wallet/asset/user-universal-transfer
binance/client.py:8793
↓ 1 callersMethodunstake_asset_us
(self, **params)
binance/async_client.py:1716
↓ 1 callersFunctionwebsocket_example
Example 3: WebSocket with verbose mode
examples/verbose_example.py:49
↓ 1 callersFunctionwrite_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 callersMethodws_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 callersMethodws_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
Methodaggregate_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
Methodaggregate_trade_iter
(self, symbol, start_str=None, last_id=None)
binance/async_client.py:403
Methodaggtrade_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
Methodbook_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
Functioncancel_algo_order
Cancel a specific algo order
examples/futures_algo_order_examples.py:183
Functioncancel_all_algo_orders
Cancel all open algo orders for a symbol
examples/futures_algo_order_examples.py:193
Methodcancel_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
Methodcancel_all_open_margin_orders
(self, **params)
binance/async_client.py:1290
Methodcancel_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
Methodcancel_all_open_orders
(self, **params)
binance/async_client.py:4385
Methodcancel_margin_oco_order
(self, **params)
binance/async_client.py:1397
Methodcancel_margin_order
(self, **params)
binance/async_client.py:1283
Methodcancel_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
Methodcancel_order
(self, **params)
binance/async_client.py:802
Methodchange_fixed_activity_to_daily_position
(self, **params)
binance/async_client.py:1642
Functionclient
()
tests/conftest.py:50
FunctionclientAsync
()
tests/conftest.py:65
Functionclose_all_futures_positions
(futuresClientAsync)
tests/test_async_client_futures.py:300
Functionclose_all_futures_positions
(futuresClient)
tests/test_client_futures.py:354
Methodcoin_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
Methodcoin_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
Methodconnection_lock
(self)
binance/ws/websocket_api.py:40
Functioncontrolled_recv
()
tests/test_threaded_stream.py:69
Methodconvert_accept_quote
(self, **params)
binance/async_client.py:3160
Methodconvert_request_quote
(self, **params)
binance/async_client.py:3153
Functioncreate_basic_stop_market_order
Create a basic STOP_MARKET algo order
examples/futures_algo_order_examples.py:22
Methodcreate_isolated_margin_account
(self, **params)
binance/async_client.py:1157
Methodcreate_margin_loan
(self, **params)
binance/async_client.py:1260
Methodcreate_margin_oco_order
(self, **params)
binance/async_client.py:1390
Methodcreate_margin_order
(self, **params)
binance/async_client.py:1274
Functioncreate_margin_ordertest_
(asyncClient)
tests/test_async_client_margin.py:162
Functioncreate_margin_ordertest_
(client)
tests/test_client_margin.py:217
Functioncreate_stop_market_close_position
Create a STOP_MARKET order to close all positions
examples/futures_algo_order_examples.py:99
Functioncreate_stop_with_reduce_only
Create a STOP order with reduce only mode
examples/futures_algo_order_examples.py:113
← previousnext →701–800 of 3,093, ranked by callers