type Orderbook: {
asks: OrderbookEntry[];
bids: OrderbookEntry[];
};
Represents an order book with separate arrays for asks and bids.
Type declaration
Member | Type | Description |
---|---|---|
asks | OrderbookEntry [] | Array of order book entries representing sell orders (asks). |
bids | OrderbookEntry [] | Array of order book entries representing buy orders (bids). |