Broker activity (what a broker traded)
broker_activityRetrieve a broker's buy and sell stock rankings over a selected period, using net or gross values and board filters, to follow its market activity.
Instructions
For one broker code: the stocks it bought and sold most over a period, net or gross. Use it to follow a broker across the market.
Volumes (lot, blot, slot) are in lots of 100 shares; values are IDR. market_board takes MARKET_TYPE_* values.
Returns (Stockbit's data field): data{from, to, broker_activity_transaction{brokers_buy[{stock_code, value, lot, avg_price}], brokers_sell[{stock_code, value(negative), lot(negative), avg_price}]}}. value IDR, lot lots (inferred).
Endpoint: GET exodus /order-trade/broker/activity.
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": {
"broker_code": "<broker_code>"
},
"name": "broker_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom range end; send instead of `period`. | |
| from | No | Custom range start; send instead of `period`. | |
| page | No | Next page while a side returned 50 rows. Default 1. | |
| limit | No | limit Default 50. | |
| period | No | RT_PERIOD_* (UI preset 'today' -> RT_PERIOD_LAST_1_DAY). Default "RT_PERIOD_LAST_1_DAY". | |
| broker_code | Yes | Repeated key (indexes:null). UI max 10 brokers. | |
| market_board | No | MARKET_TYPE_* (UI maps BOARD_TYPE_REGULAR->MARKET_TYPE_REGULER etc.). Default "MARKET_TYPE_REGULER". | |
| investor_type | No | investor_type Default "INVESTOR_TYPE_ALL". | |
| transaction_type | No | transaction_type Default "TRANSACTION_TYPE_NET". |