mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-02 18:07:43 +00:00
44a06a65f4
Removed: - Factor count (closed) - Strategy count (closed) - Sharpe/return/drawdown numbers (closed) Only open-source feature descriptions remain.
2.7 KiB
2.7 KiB
Predix v2.0.0 Release Notes
Release Date: 2026-04-10
Tag: v2.0.0
🎉 Overview
Major update adding AI-powered strategy generation, realistic backtesting, and comprehensive CLI tooling. Predix now autonomously generates, evaluates, and optimizes trading strategies using local LLMs.
✨ Added
LLM-Powered Strategy Generation
- StrategyOrchestrator: Generate trading strategies by combining factors with LLM
- Local llama.cpp Support: Run strategy generation locally (Qwen3.5-35B)
- OpenRouter Support: Optional cloud model fallback
- Improved Prompts (v3): IC-sign-aware factor combination instructions
- Diverse Factor Selection: Automatic selection by type (momentum, divergence, volatility, session)
Realistic Backtesting
- OHLCV-Based Returns: Real price returns instead of factor proxies
- Spread Costs: 1.5 bps per trade deducted from returns
- Forward-Fill Support: Daily factors → 1-min frequency
- Proper Annualization: sqrt(252*1440) for 1-min data
CLI Commands
rdagent predix- Show beautiful welcome screen (perfect for screenshots!)rdagent start_llama- Start llama.cpp serverrdagent start_loop- Start strategy generator loop with auto-restartrdagent generate_strategies- Generate strategies from factorsrdagent optimize_portfolio- Portfolio optimizationrdagent eval_all- Evaluate factors with full datardagent batch_backtest- Batch backtest existing factorsrdagent report- Generate PDF performance reportsrdagent rebacktest- Re-backtest existing strategies
Code Quality
- 282+ Integration Tests: All features tested
- Security Hardening: All Dependabot/CodeQL alerts resolved
- Pre-commit Hooks: Automated tests + security scanning
🔧 Changed
- Utility scripts organized in
scripts/directory - Generated data moved to
results/ - Config files moved to
constraints/ - Root directory cleaned
🐛 Fixed
- JSON strategy files no longer committed to root
- LICENSE badge link corrected (main → master)
- Security vulnerabilities resolved (bandit, path traversal)
📦 Installation
git clone https://github.com/TPTBusiness/Predix
cd Predix
pip install -e .
🚀 Quick Start
# Show welcome screen
rdagent predix
# Start LLM server
rdagent start_llama
# Run trading loop
rdagent fin_quant --auto-strategies
# Generate strategies manually
rdagent generate_strategies --count 5 --optuna
🔒 Security
- All known vulnerabilities resolved
- Bandit security scanning integrated
- Pre-commit hooks for automated checks
- Path traversal prevention hardened
📄 License
MIT License - see LICENSE for details.