Order queue at a price
flow_order_queueRetrieve individual bid or offer orders waiting at a chosen price level for a stock, with lots, timestamps, broker details, and status, to inspect order book queue depth.
Instructions
The queue of individual orders waiting at one price level (bid or offer), with their lots and time, for one symbol. Use the order book first to pick the price.
Volumes (lot, blot, slot) are in lots of 100 shares; values are IDR.
Returns (Stockbit's data field): data{is_open_market, pagination{has_next_page}, orders[{id, queue_number '1', stock_code, time ISO8601, action_type, price, status ORDER_STATUS_*, open (lots remaining), lot (lots), queue_lot, board_type, broker_code, broker_group BROKER_GROUP_*, exchange_order_number{full '', formatted '5308276'}, order_number}]}.
Endpoint: GET exodus /order-trade/order-queue.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stock_code": "<stock_code>"
},
"name": "flow_order_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | limit Default 100. | |
| price | No | Price level; needed for queue paging and WS live updates. Unit: IDR. | |
| sort_by | No | sort_by | |
| board_type | No | board_type Default "BOARD_TYPE_REGULAR". | |
| stock_code | Yes | Ticker. | |
| action_type | No | Bid vs offer queue. Default "ACTION_TYPE_ALL". | |
| order_status | No | order_status Default "ORDER_STATUS_OPEN". | |
| sort_direction | No | First click on a column = ASC. | |
| filter_time_end | No | Literal dotted key. Unit: HH:mm. | |
| filter_time_start | No | Literal dotted key. Unit: HH:mm. | |
| jump_exchange_order_number | No | Jump to own order. | |
| last_exchange_order_number | No | Next page cursor = orders[-1].exchange_order_number.full. | |
| first_exchange_order_number | No | Previous page cursor = orders[0].exchange_order_number.full. | |
| search_exchange_order_number | No | Find a specific exchange order number (short 'formatted' form, e.g. 5308276). |