Tune parameters quickly: set a narrower P_RANGE / TW_RANGE and a smaller trade_years (e.g. 0.5) with SLICE_FOR_OPTIMIZATION_ONLY=True. Final validation: set USE_FULL_DATA=True and ...
HMM-regime-DQN-trader-Peru/ ├── src/ │ ├── __init__.py │ ├── ingest.py # Data ingestion (yfinance, FRED, Excel, sentiment) │ ├── preprocess.py # Data preprocessing and feature engineering │ ├── ...
Every investor has a moment when a brilliant idea pops into their head and they’re suddenly convinced they’ve cracked the market’s secret code. But ideas are cheap, and markets are not, so the real ...