Skip to content

Latest commit

 

History

History
75 lines (44 loc) · 2.08 KB

general.rst

File metadata and controls

75 lines (44 loc) · 2.08 KB

General Endpoints

client.ping()
time_res = client.get_server_time()
status = client.get_system_status()

Returns

{
    "status": 0,        # 0: normal,1:system maintenance
    "msg": "normal"     # normal or System maintenance.
}
info = client.get_exchange_info()

Get the exchange info for a particular symbol

info = client.get_symbol_info('BNBBTC')

Get information of coins (available for deposit and withdraw) for user

info = client.get_all_tickers()

Get daily account snapshot of specific type. Valid types: SPOT/MARGIN/FUTURES.

info = client.get_account_snapshot(type='SPOT')

This call is deprecated, use the above Exchange Info call

products = client.get_products()