<wss-channel> market
Name | Type | Description |
---|---|---|
event_type | string | ”book” |
asset_id | string | asset ID (token ID) |
market | string | condition ID of market |
timestamp | string | unix timestamp the current book generation in milliseconds (1/1,000 second) |
hash | string | hash summary of the orderbook content |
buys | OrderSummary[] | list of type (size, price) aggregate book levels for buys |
sells | OrderSummary[] | list of type (size, price) aggregate book levels for sells |
OrderSummary
object is of the form:
Name | Type | Description |
---|---|---|
price | string | size available at that price level |
size | string | price of the orderbook level |
Name | Type | Description |
---|---|---|
event_type | string | ”price_change” |
asset_id | string | asset ID (token ID) |
market | string | condition ID of market |
price | string | price level affected |
size | string | new aggregate size for price level |
side | string | buy/sell |
timestamp | string | time of event |
Name | Type | Description |
---|---|---|
event_type | string | ”price_change” |
asset_id | string | asset ID (token ID) |
market | string | condition ID of market |
old_tick_size | string | previous minimum tick size |
new_tick_size | string | current minimum tick size |
side | string | buy/sell |
timestamp | string | time of event |