Skip to content

Commit 8592251

Browse files
authored
Merge pull request #60 from AKKI0511/analyze-quanttradeai-for-end-to-end-feature-implementation
Honor YAML feature definitions in data processor
2 parents 698ee3f + fbe11c5 commit 8592251

File tree

4 files changed

+667
-594
lines changed

4 files changed

+667
-594
lines changed

docs/configuration.md

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -382,26 +382,37 @@ models:
382382
learning_rate: 0.05
383383
```
384384

385-
### Research Configuration
386-
```yaml
387-
data:
388-
symbols: ['AAPL', 'TSLA']
389-
start_date: '2020-01-01'
390-
end_date: '2024-12-31'
391-
refresh: true
392-
393-
features:
394-
price_features:
395-
sma_periods: [5, 10, 20, 50]
396-
ema_periods: [5, 10, 20, 50]
397-
398-
momentum_features:
399-
rsi_period: 14
400-
macd_params:
401-
fast: 12
402-
slow: 26
403-
signal: 9
404-
```
385+
### Feature Engineering (`features_config.yaml`)
386+
```yaml
387+
price_features:
388+
- close_to_open
389+
- price_range
390+
391+
volume_features:
392+
- volume_sma: {periods: [5, 10]}
393+
- volume_sma_ratios: [5, 10]
394+
- on_balance_volume
395+
- volume_price_trend
396+
397+
volatility_features:
398+
- atr_periods: [14]
399+
- bollinger_bands: {period: 20, std_dev: 2}
400+
- keltner_channels: {periods: [20], atr_multiple: 1.5}
401+
402+
custom_features:
403+
- price_momentum: {periods: [5, 10]}
404+
- volume_momentum: {periods: [5, 10]}
405+
- mean_reversion: {lookback: [10, 20]}
406+
- volatility_breakout: {lookback: [20], threshold: 2.0}
407+
408+
pipeline:
409+
steps:
410+
- generate_technical_indicators
411+
- generate_volume_features
412+
- generate_custom_features
413+
- handle_missing_values
414+
- scale_features
415+
```
405416

406417
## 🔍 Configuration Validation
407418

0 commit comments

Comments
 (0)