Function map_trade_record
pub fn map_trade_record(record: &TradeRecord, now: Instant) -> Option<Execution>Expand description
A trade of the history (POST /trades/search). The docs describe a flat record (tradeNum,
orderNum, tradeQuantity, tradeDateTime, …) without our clientOrderId and without a
commission: cid is None, commission 0. The older data form is still read if it comes.