train_ml_predictor
Train an ML model to generate trading signals for a stock. Set parameters like model type and return threshold to create predictive signals from historical data.
Instructions
Train an ML predictor model for trading signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol to train on | |
| start_date | No | Start date for training data | |
| end_date | No | End date for training data | |
| model_type | No | ML model type (random_forest) | random_forest |
| target_periods | No | Forward periods for target variable | |
| return_threshold | No | Return threshold for signal classification | |
| n_estimators | No | ||
| max_depth | No | ||
| min_samples_split | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||