General Endpoints¶
Ping the server¶
client.ping()
Get the server time¶
time_res = client.get_server_time()
Get system status¶
status = client.get_system_status()
Returns
{
"status": 0, # 0: normal,1:system maintenance
"msg": "normal" # normal or System maintenance.
}
Get Exchange Info¶
info = client.get_exchange_info()
Get Symbol Info¶
Get the exchange info for a particular symbol
info = client.get_symbol_info('BNBBTC')
Get Current Products¶
This call is deprecated, use the above Exchange Info call
products = client.get_products()