Skip to main content

query_account_info_after_trade_push

Function query_account_info_after_trade_push 

Source
pub async fn query_account_info_after_trade_push(
    backend: &BackendConn,
    acc_id: u64,
    trd_cache: &TrdCache,
    push_version: Option<u64>,
    asset_category: Option<u32>,
    quote_level: Cmd3020QuoteLevel,
) -> Result<()>
Expand description

Refresh real-account assets after CMD4716 ASSET/QUOTE notification.

C++ forwards the top-level NotifyMsg version and nested AssetChangeData.asset_category into AccountInfoReq; ordinary FTAPI reads keep both absent. The deprecated top-level notify asset_category is not an input to this adapter.