-record(trade_sub, { codes :: list(glupbit@types:market()), is_only_snapshot :: boolean(), is_only_realtime :: boolean() }).