Skip to main content

query_crypto_history_orders

Function query_crypto_history_orders 

Source
pub async fn query_crypto_history_orders(
    backend: &BackendConn,
    acc_id: u64,
    trd_cache: &TrdCache,
    start_micros: u64,
    end_micros: u64,
) -> Result<Vec<CachedOrder>>
Expand description

Query crypto history orders through CMD20623.

C++ 10.5.6508 NNProto_Trd_OrderCrypto.cpp:373-398 sends inbound_read::HistoryOrderListReq with start_time / end_time already in microseconds. Unlike the active order query, this read path does not update the active order cache.