walk_forward_analysis
Optimizes moving average crossover strategies using walk-forward analysis to validate trading parameters across training and testing periods.
Instructions
Performs Walk Forward Analysis on MA Crossover. Optimizes (Fast, Slow) on Train, tests on Test.
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": "walk_forward_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| start_date | No | 2020-01-01 | |
| end_date | No | 2023-12-31 | |
| train_months | No | ||
| test_months | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |