pub fn broker_id_from_account(acc: &CachedTrdAcc) -> Option<u32>Expand description
Crypto native account requests need broker ids such as 1001/1007.
Prefer the C++ sort key (BrokerID << 48) | (TrdMkt << 32) | IntraAccID
stored by bridge/account/real_projection.rs:323-326. If a historical
cache entry lacks that key, fall back to Trd_Common.SecurityFirm mapping
used by C++ NetCallback::BrokerIDToTcpCategory.