Structs§
- Cached
Cash Info - 分币种现金信息
- Cached
Funds - 缓存的资金 (对齐 C++ Ndt_Trd_AccFund 全字段)
- Cached
Market Info - 分市场资产信息
- Cached
Order - 缓存的订单 (对齐 C++ Ndt_Trd_Order 全字段)
- Cached
Order Fill - Cached current-order fill row, matching the public/backend projection used by current fill queries and direct fill notifications.
- Cached
Order Snapshot - v1.4.106 codex 0219 Finding 1+4: trade-write resolution snapshot.
- Cached
Position - 缓存的持仓 (对齐 C++ Ndt_Trd_AccPosition 全字段)
- Cached
TrdAcc - 缓存的账户信息
- Cipher
Exchange Account - One CMD2902 request row bound to the account revision captured at send time.
Deliberately does not implement
Debugbecause it owns cipher bytes. - Cipher
Exchange Lease - In-flight CMD2902 ownership token.
request_iddistinguishes overlapping requests on the same connection epoch; account revision rejects a response racing with unlock/lock/reload. - Cipher
Exchange Publish Report - Funds
Cache Key - v1.4.106 Finding A (codex source audit 2026-05-01): funds cache currency-aware key.
- Funds
Snapshot Lookup - Order
Confirm Context - v1.4.106 codex 0226 F1+F2: PlaceOrder 阶段 backend 返回
OrderNewRsp.action(CltAction.type == ORDER_CONFIRM=5) 时, 携带CltActionOrderConfirm二次 确认上下文 — 客户端需把这些字段透传给 backendOrderConfirmReq(cmd 4728). - Order
Confirm Key - v1.4.106 codex 0226 F1+F2: pending OrderConfirm cache key.
- Order
OpReq Key - C++
m_mapReqIDOrderIDkey, scoped by account to avoid cross-account collisions in the shared Rust trade cache. - Orphan
Order - v1.4.83 §9 F6: orphan order 结构化报告.
- Positions
Cache Key - PositionList account / asset-category / optional currency key.
- Positions
Snapshot Lookup - Stamped
Trade Snapshot - TrdCache
- 交易数据缓存
Enums§
- Cipher
Exchange Error - Resolve
Order Error - v1.4.106 codex 0219 Finding 1: ResolveOrderError 区分三种 cache miss 形态.
Constants§
- ORDER_
CONFIRM_ CONTEXT_ TTL_ MS - v1.4.106 codex 0226 F1+F2: pending order confirm context TTL (ms).
- ORDER_
OP_ REQ_ ORDER_ MAP_ CLEAR_ LIMIT - C++
FindOrderIDByReqIDclears the helper map once it reaches 512 entries.
Type Aliases§
- AccKey
- 账户 key: acc_id