Get Training Result
get_training_resultWait for a training started by train_strategy and return its result.
Waits up to wait_s seconds (default 30, at most 120). While it runs: done false and the status; call again with the same job_id. When done: model_stem, the out-of-sample test_stats and the train_stats (ret, mdd and wr are fractions, pf the profit factor, n the trade count), long_stats, short_stats, exits (trades by exit reason: TP, SL, signal, close_only, end) and the last 50 out-of-sample trades with pips and pnl_usd. A failed training answers ok false with the reason. Read only; nothing is charged.
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": {
"job_id": "<job_id>"
},
"name": "get_training_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id train_strategy returned. | |
| wait_s | No | Seconds to wait for the result, 0 to 120. Default 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||