Skip to main content

query_crypto_trade_configs

Function query_crypto_trade_configs 

Source
pub async fn query_crypto_trade_configs(
    backend: &BackendConn,
    broker_id: u32,
) -> Result<Vec<CryptoTradeConfig>>
Expand description

Query crypto trade configs through CMD20102.

C++ NNProto_Trd_CryptoTradeConfig.cpp:14-23,63-89 pulls the full trade config list per broker and stores it in INNData_Trd_CryptoTradeConfig. MaxBuySellQty needs the same config for min quantity and quantity increment.