Top stocks by investor flow
market_top_stocksRank stocks by net, gross, or buy/sell value for foreign, domestic, or all investors over a chosen period and market type, with IDR totals, buy/sell summaries, and mid-day snapshots.
Instructions
Stocks ranked by net (or buy/sell) value of an investor type (all, foreign, domestic) over a period.
Values IDR. Mid-day snapshots carry is_mid_day.
Returns (Stockbit's data field): data{response_info{page, start_date, end_date, investor_type, market_type, value_type, max_day_duration}, display_option{enabled_value_type{net,gross}, is_mid_day, is_break_time, foreign_value_column}, summary{buy,sell,net}{raw,formatted}, banner_message, + buy/sell/total stock rows (row field names not resolved statically)}.
Endpoint: GET exodus /order-trade/top-stock.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "market_top_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | end Default "". | |
| page | No | Next = response_info.page+1. Default 1. | |
| start | No | Custom range (sent '' when period set). Range capped by response_info.max_day_duration. Default "". | |
| period | No | period Default "TOP_STOCK_PERIOD_LATEST". | |
| value_type | No | value_type Default "VALUE_TYPE_NET". | |
| market_type | No | market_type Default "MARKET_TYPE_REGULER". | |
| investor_type | No | Desktop first call sends *_UNSPECIFIED to get server defaults. Default "INVESTOR_TYPE_ALL". |