run_ml_strategy_backtest
Run backtests on stocks using machine learning strategies (ML predictor, adaptive, ensemble, regime-aware) to evaluate trading performance with customizable parameters.
Instructions
Run backtest using ML-enhanced strategies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol to backtest | |
| strategy_type | No | ML strategy type (ml_predictor, adaptive, ensemble, regime_aware) | ml_predictor |
| start_date | No | Start date (YYYY-MM-DD) | |
| end_date | No | End date (YYYY-MM-DD) | |
| initial_capital | No | Initial capital amount | |
| train_ratio | No | Ratio of data for training (0.0-1.0) | |
| model_type | No | random_forest | |
| n_estimators | No | ||
| max_depth | No | ||
| learning_rate | No | ||
| adaptation_method | No | gradient |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||