-record(orderbook_sub, { codes :: list(glupbit@types:market()), level :: gleam@option:option(binary()), is_only_snapshot :: boolean(), is_only_realtime :: boolean() }).