Skip to main content

plan_get_funds_read

Function plan_get_funds_read 

Source
pub fn plan_get_funds_read(
    requested_currency: Option<i32>,
    security_firm: Option<i32>,
    trd_market: Option<i32>,
    uni_card_num: Option<&str>,
    trd_market_auth_list: &[i32],
) -> GetFundsReadPlan
Expand description

Build the currency-facing read plan for Trd_GetFunds.

effective_currency is the user-requested currency, or a broker default derived for Futures/Universal accounts when the user omits it. lookup_currency is the cache/backend key dimension. Legacy SingleCurrency accounts keep None only when the user also omitted currency; when the user explicitly requests a currency, C++ still carries it into ReqParams_Trd_Assets.enCurrency before QueryAsset, so the backend refresh/cache key must preserve it.