PolyScan::OrderBook
Inherits JSON::Serializable < Reference < Object
Constructors
new(token_id : String, market_id : String | Nil, outcome_name : String | Nil, bids : Array(BookLevel), asks : Array(BookLevel), fetched_at_unix_ms : Int64, sequence : Int64 = 0_i64)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
ask_depth
Sourceasks
Sourcebid_depth
Sourcebids
Sourcefetched_at_unix_ms
Sourcemarket_id
Sourceoutcome_name
Sourcesequence
Sourcespread
Sourcetoken_id
Sourcetop_ask
Sourcetop_bid
Sourcevalidation_errors
Source