TPTBusiness
|
2cec08bc91
|
feat: add daily log rotation, llama health wait, factor auto-fixer, and README updates
- Add rdagent/log/daily_log.py: daily-rotating structured logs per command
(fin_quant, strategies, evaluate, parallel) with loguru; all.log combined sink
- predix.py: route TeeWriter output to logs/YYYY-MM-DD/ instead of root dir;
wrap quant() and evaluate() in daily_log.session() for start/stop/duration tracking
- rdagent/app/cli.py: fin_quant_cli waits for llama.cpp /health endpoint before
starting pipeline (up to 300 s); daily_log integration for fin_quant,
generate_strategies, eval_all, parallel commands
- scripts/predix_gen_strategies_real_bt.py: daily_log integration with
per-strategy ACCEPTED/REJECTED entries and summary on completion
- rdagent/components/coder/factor_coder/auto_fixer.py: new module that patches
common LLM-generated factor issues (min_periods, inf/NaN, groupby.transform,
MultiIndex corrections)
- rdagent/components/coder/factor_coder/prompts.yaml: add critical rules for
EURUSD 1-min intraday factors (min_periods, inf handling, groupby, date range)
- README.md: document --reasoning off and --n-gpu-layers 28 for llama-server;
explain VRAM constraints when Ollama is running alongside llama.cpp
- .bandit.yml: suppress B615 (HuggingFace unsafe download) for RL benchmark files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-16 07:20:08 +02:00 |
|
TPTBusiness
|
b98c9cd572
|
feat: Add GitHub infrastructure, CI/CD pipelines, and examples
- Add GitHub issue templates (bug, feature, docs)
- Add pull request template with closed-source checklist
- Add CODEOWNERS for code review assignment
- Add CI/CD workflows (ci, lint, security, docs, release)
- pytest + coverage with Python 3.10/3.11 matrix
- Ruff + MyPy code quality checks
- Bandit + safety security scanning
- Sphinx docs + GitHub Pages deployment
- Automated PyPI releases on tag push
- Add 6 comprehensive examples + Jupyter quickstart
- 01_factor_discovery.py (LLM factor generation)
- 02_factor_evolution.py (factor optimization)
- 03_strategy_generation.py (IC-weighted combination)
- 04_backtest_simple.py (strategy backtesting)
- 05_model_training.py (XGBoost/LSTM training)
- 06_rl_trading_agent.py (PPO/DQN/A2C agents)
- notebooks/quickstart.ipynb (interactive tutorial)
- Restructure .gitignore with explicit closed-source sections
- Add CI/coverage/license badges to README
- Complete CLI docstrings for all 9 commands
- Add data_config.yaml for quant loop configuration
|
2026-04-11 21:40:18 +02:00 |
|