Expand description
Stable API — trade-side currency labels and shared user-facing diagnostics. Trade-side currency labels and shared user-facing funds diagnostics.
This module is deliberately lower than futu-trd and trade-domain crates so
SDK, gateway, and domain policies can share one warning contract without
introducing reverse domain dependencies.
Modules§
- currency_
id Trd_Common.proto::Currencyenum values used by public trade surfaces.
Functions§
- currency_
label - Public
Trd_Common.Currencylabel used in diagnostics. - funds_
currency_ mismatch_ warning - User-visible warning when a single-currency backend ignores explicit funds currency and returns the account native currency instead.
- parse_
currency_ label - Parse a user-facing currency code into
Trd_Common.Currency. - trade_
read_ currency_ for_ sim_ nn_ market - Project a present internal
NN_TrdMarketinto the currency used by simulated trade-read position and order responses.