IOrderBookResponse Interface representing an order book.
const orderBook: IOrderBook = { asks: [ ["51000", "2000.00000000"], ["52000", "2000.00000000"], ["52500", "1000.00000000"] ], bids: [ ["50000", "1000.00000000"], ["49500", "1000.00000000"], ["49000", "1000.00000000"] ]}; Copy
const orderBook: IOrderBook = { asks: [ ["51000", "2000.00000000"], ["52000", "2000.00000000"], ["52500", "1000.00000000"] ], bids: [ ["50000", "1000.00000000"], ["49500", "1000.00000000"], ["49000", "1000.00000000"] ]};
Array of ask orders, each represented by a tuple containing price and amount.
Array of bid orders, each represented by a tuple containing price and amount.
IOrderBookResponse Interface representing an order book.
See
Example