Broker flow chart
broker_flowRetrieve the cumulative net buy/sell flow of top brokers for a stock symbol over a selected period, with optional broker code filtering.
Instructions
Broker flow: the cumulative net buy/sell of the top brokers in one symbol over time (the Broker Flow chart). Filter to a broker with broker_code.
Volumes (lot, blot, slot) are in lots of 100 shares; values are IDR.
Returns (Stockbit's data field): data{from, to, data_last_updated, date_session_info, price_chart_data[{date, time 'HH:mm', datetime_label, value{raw}, open{raw}, high{raw}, low{raw}}], broker_chart_data[{type TYPE_CHART_VALUE|TYPE_CHART_VOLUME, brokers[codes], charts[{broker_code, chart[{date,time,value{raw,formatted}}]}]}]}. Values are cumulative net per broker: VALUE in IDR, VOLUME in lots (XL 517,461 = marketdetectors blot). 1-min points for 1D, hourly for 7D, daily beyond.
Endpoint: GET exodus /order-trade/running-trade/chart/{symbol}.
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": {
"symbol": "<symbol>"
},
"name": "broker_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom range end; send instead of `period`. | |
| from | No | Custom range start; send instead of `period`. | |
| period | No | Preset ('Latest'). Mutually exclusive with from/to. Default "RT_PERIOD_LAST_1_DAY". | |
| symbol | Yes | symbol | |
| broker_code | No | Repeated key (indexes:null). Omit to let server pick top-5 brokers (response.brokers). | |
| market_board | No | BOARD_TYPE_* family; default REGULAR, CASH for rights tickers (symbol contains '-R'). Default "BOARD_TYPE_REGULAR". | |
| investor_type | No | investor_type Default "INVESTOR_TYPE_ALL". |