Files
NexQuant/changelog/v2.0.0.md
T
TPTBusiness cbe1c52e00 refactor: rename project from Predix to NexQuant
Rename all source files, scripts, tests, documentation, and configuration
from Predix/predix to NexQuant/nexquant across the entire codebase.
2026-05-09 17:48:22 +02:00

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 server
  • rdagent start_loop - Start strategy generator loop with auto-restart
  • rdagent generate_strategies - Generate strategies from factors
  • rdagent optimize_portfolio - Portfolio optimization
  • rdagent eval_all - Evaluate factors with full data
  • rdagent batch_backtest - Batch backtest existing factors
  • rdagent report - Generate PDF performance reports
  • rdagent 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.