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