Skip to main content

Module read_plan

Module read_plan 

Source
Expand description

Trade read request planning.

This module owns pure, surface-independent decisions for read-side trade APIs. Gateway handlers still own cache/backend IO, broker routing, and in-flight guards.

Structs§

GetFundsReadPlan

Enums§

RefreshAction
Backend refresh decision for cache-backed read APIs.

Functions§

decide_cache_snapshot_refresh_action
decide_explicit_refresh_action
decide_refresh_action
derive_top_level_currency
Funds top-level currency projection.
derive_top_level_net_cash_power
Top-level Funds.netCashPower presentation branches.
funds_currency_mismatch_warning
User-visible warning when a single-currency backend ignores explicit funds currency and returns the account native currency instead.
plan_get_funds_read
Build the currency-facing read plan for Trd_GetFunds.
sim_or_fund_currency_override
Sim-futures and fund accounts expose fixed native currencies.