resample
Aggregate stored trade prints into OHLCV bars at a chosen interval for crypto or US equity market data analysis.
Instructions
Aggregate stored trade prints into OHLCV bars at a chosen interval.
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>",
"start_ns": "<start_ns>",
"end_ns": "<end_ns>"
},
"name": "resample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ns | Yes | ||
| symbol | Yes | ||
| interval | No | 1m | |
| start_ns | Yes | ||
| fill_empty | No | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |