Stream Orderbooks
This channel provides orderbook data specified by the market. It will tick every time there were updates in the targeted market.
Last updated
This channel provides orderbook data specified by the market. It will tick every time there were updates in the targeted market.
Last updated
Field | Type | Description |
---|---|---|
markets
array
A list of Solana program addresses or market symbols.
limit
number
OPTIONAL. The maximum number of orders to fetch on both sides. If not specified, gets the whole orderbook.
slot
string
The slot number.
orderbook
string
See orderbook
below for details.
market
string
Symbol of the market.
marketAddress
string
The program address the target market.
project
string
Name of the DEX project. "P_OPENBOOK"
, "P_SERUM"
bids
list
See bids & asks
below for details. Sorted by price in descending order.
asks
list
See bids & asks
below for details. Sorted by price in ascending order.
price
number
The price of the order (in quote/base currency).
size
number
The size of the order (in base currency).