pub fn build_sim(
acc_id: u64,
cipher: Option<Vec<u8>>,
market: Option<u32>,
security_type: Option<u32>,
) -> MsgHeaderExpand description
构造 sim-account sim_odr_sys_cmn::MsgHeader.
Sim shape 与 real shape 差异:
- 多
market字段 (sim 账户跨市场必填, seefutu_domain_trade_account::sim_account_header_market_like_cpp). - 无
sub_account_id.
§Args
market: C++ rawNN_TrdMarket(Sim_US_Margin=100等也可出现)。None仅用于确认为空 header 的测试/兼容路径。