Stock Trade Flow
get_stock_flowRaw intraday stock trade-flow for one symbol. Views: 'recent' (recent stock trades, newest first), 'summary' (stock trade-flow totals), 'blocks' (large stock trades), 'history' (minute stock-flow buckets, newest first), 'cumulative' (cumulative net stock flow), 'bars' (multi-resolution OHLCV+flow bars, oldest first, for live chart feeds).
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>",
"view": "<view>"
},
"name": "get_stock_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | View: 'recent' | 'summary' | 'blocks' | 'history' | 'cumulative' | 'bars' | |
| limit | No | Max trades returned (1–500, default 50). Only applies to 'recent'. | |
| apiKey | No | FlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp. | |
| symbol | Yes | Stock ticker (e.g. SPY, AAPL, TSLA) | |
| minutes | No | Window size in minutes for 'history', 'cumulative', or 'bars' (1–10080, default 60/240). | |
| resolution | No | Bar resolution for 'bars' view: '1s', '1m', '5m', '15m', '30m', '1h', '4h'. Required when view='bars'. |