mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
cbe1c52e00
Rename all source files, scripts, tests, documentation, and configuration from Predix/predix to NexQuant/nexquant across the entire codebase.
2.7 KiB
2.7 KiB
NexQuant 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. NexQuant 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 nexquant- 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/NexQuant
cd NexQuant
pip install -e .
🚀 Quick Start
# Show welcome screen
rdagent nexquant
# 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.