get_price_context
Fetch OHLCV candles and trade markers for a symbol, with optional risk and marker inputs to derive the data window for trade analysis.
Instructions
Return OHLCV candles + trade markers as JSON for a symbol/window, fetched locally under your Databento key. Free. Pass fills via markers and the initial stop/target via risk; omit timeframe/start/end to derive the window from the markers (span padded, ~60 candles). For a chart image or trade analysis, use the render / analyze tools.
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": "get_price_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| risk | No | ||
| start | No | ||
| levels | No | ||
| render | No | ||
| symbol | Yes | ||
| markers | No | ||
| session | No | eth | |
| timezone | No | UTC | |
| timeframe | No | ||
| indicators | No | ||
| max_candles | No | ||
| point_value | No | ||
| render_options | No |