Skip to main content

query_position_account_info

Function query_position_account_info 

Source
pub async fn query_position_account_info(
    backend: &BackendConn,
    acc_id: u64,
    trd_cache: &TrdCache,
    requested_asset_category: Option<i32>,
    requested_currency: Option<i32>,
) -> Result<()>
Expand description

Query real-account positions through CMD3020 using the C++ PositionList request shape.

C++ QueryPositionListNoLimit calls QueryAssetInner(..., bWithoutFund=true, ...), so this wrapper keeps the same asset-category fanout as query_account_info but asks backend to omit fund/bond asset data from the response.