Trade flow chart
flow_trade_flowRetrieve intraday buy-versus-sell trade flow for a stock, including cumulative value, volume, and frequency per interval, with date or range filters and optional pre/post-market exclusion.
Instructions
Trade flow over the day: cumulative buy vs sell value, volume and frequency per interval for one symbol, the series behind Stockbit's Trade Flow chart.
Volumes (lot, blot, slot) are in lots of 100 shares; values are IDR.
Returns (Stockbit's data field): data{date, from, to, is_show_pre_post, is_fca_stock, first_available_date, buy[], sell[], big_money_buy[], big_money_sell[], prices[], net_values[], net_values_volume[], big_money_net_values[], big_money_net_values_volume[] — each point {time 'HH:mm', date, lot{raw,formatted}, value{raw,formatted}, frequency{raw,formatted}} (raw strings; lot=lots, value=IDR); pre_post, big_money_pre_post, book_total{... same as trade-book ...}, historical_raw/intraday_raw{buy_lot_raw, sell_lot_raw, buy_value_raw, sell_value_raw}}. Multi-day ranges return DAILY buckets; UI then refetches date= for the live day and merges.
Endpoint: GET exodus /order-trade/trade-book/chart.
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": "flow_trade_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom range end; send instead of `period`. | |
| date | No | Single day. | |
| from | No | Custom range start; send instead of `period`. | |
| period | No | Preset alternative. | |
| symbol | Yes | Ticker. | |
| data_mode | No | Repeated key; exclude pre-opening / post-closing. Default []. | |
| time_interval | No | UI hard-codes '1m'. (User backend used '5m'; not seen in UI/HAR.) Default "1m". |