get_latest_signal
Check the latest trading signal from a strategy by evaluating it on the most recent bar, returning the signal value and triggered conditions.
Instructions
Evaluate the strategy on the most recent bar only — no P&L, no stats.
Returns the latest signal (-1/0/1), which condition slots fired, and the bar timestamp. Use for "what would this strategy do right now" questions; use run_backtest for performance.
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": {
"data_source": "<data_source>",
"strategy": "<strategy>"
},
"name": "get_latest_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | Yes | ||
| execution | No | ||
| data_inputs | No | ||
| data_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||