Foreign flow summary
foreign_flow_summarySummarizes net foreign versus domestic buy/sell value or volume for one or more symbols over a chosen period, including mid-day snapshot flags.
Instructions
Foreign vs domestic summary for one or more symbols over a period: net foreign value/volume.
Values IDR. Mid-day snapshots carry is_mid_day / is_break_time.
Returns (Stockbit's data field): data{market_type, from, to, is_mid_day, is_break_time, gross{buy,sell}{raw,formatted}, net{all,regular,others}{raw,formatted}, percentage_foreign_value{raw,formatted}, percentage_domestic_value{raw,formatted}}. ALL-market view disabled while is_mid_day.
Endpoint: GET exodus /order-trade/foreign-domestic/summary.
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": {
"symbols": "<symbols>"
},
"name": "foreign_flow_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | to | |
| from | No | Only when period=TB_PERIOD_UNSPECIFIED. | |
| period | No | period Default "TB_PERIOD_LAST_1_DAY". | |
| symbols | Yes | Repeated key. | |
| data_type | No | data_type Default "DATA_TYPE_VALUE". | |
| market_type | No | First load sends UNSPECIFIED; server echoes chosen market_type. Default "MARKET_TYPE_UNSPECIFIED". |