-record(orderbook, { market :: binary(), timestamp :: integer(), total_ask_size :: float(), total_bid_size :: float(), orderbook_units :: list(glupbit@quotation@orderbook:orderbook_unit()), level :: gleam@option:option(float()) }).