Skip to content

v2.0.0 - Apex AI Copilot 2.0, Smart Money Concepts (SMC) Engine, Gateway HUD & Port 3111 🚀

Latest

Choose a tag to compare

@thieucong98 thieucong98 released this 04 Oct 08:39
7c824d0

🚀 Quant Backtest Pro v2.0.0 Release Notes — Major Landmark Release

We are immensely proud to announce the official release of Quant Backtest Pro v2.0.0! 🚀
This major milestone delivers institutional Smart Money Concepts (SMC) trading capabilities, the Apex AI Copilot 2.0 with in-HUD Gateway configuration, the 5 Breakthrough Upgrades Suite (v2.2), and standardized frontend architecture on port 3111.


🧠 1. Apex AI Copilot 2.0 & Smart Money Concepts (SMC) Engine

  • In-HUD AI Gateway & Model Settings (⚙️):
    • Embedded configuration card directly in the HUD header without leaving the chart canvas.
    • Multi-provider support: Custom Gateway / Reverse Proxy, OpenAI, Google Gemini, DeepSeek, Ollama local LLMs.
    • Live Test Ping button sends a lightweight probe to /api/copilot/ping returning real-time round-trip latency (ms) or clear error diagnostics.
    • Direct configuration saving with dynamic quant_llm_config_changed broadcast, updating engine badges instantly without page reload.
  • Smart Endpoint Auto-Normalization:
    • Automatically detects and normalizes user-entered URLs (plain hosts, /v1, or /chat/completions) avoiding path duplication 404 errors.
  • Dual Delivery Resilience Engine:
    • Seamlessly attempts SSE streaming (stream: true) first.
    • Automatically retries via standard Non-Streaming request (stream: false) if the gateway rejects streaming or lacks SSE support.
    • Streams clear diagnostic notices to the HUD if upstream gateways encounter authorization or network failures before gracefully falling back to local SMC.
  • Dynamic Risk-to-Reward (R:R) NLP Calibration Parser:
    • Mathematical entity extraction supporting natural language prompts in Vietnamese and English (e.g. "Rủi ro / Lợi nhuận? tôi muốn tỉ lệ lợi nhuận là 1:3", "R:R 1:4", "SL 15 pip, TP 60 pip").
    • Automatically calibrates Stop Loss and Take Profit levels mathematically to satisfy the requested ratio.
  • One-Click R:R Preset Chips & Prompt Engineering Guide:
    • Quick action chips ([🎯 R:R 1:3], [🎯 R:R 1:2], [🎯 R:R 1:4]) for instant analysis.
    • Interactive prompt guide (?) popover detailing syntax tips for R:R, SL/TP, and SMC bias.
  • Active Inference Engine Telemetry Badge:
    • Visual status indicator in the HUD header displaying active engine ([⚡ SMC Algorithm] or [🧠 Model]) with explanatory tooltip.

🌐 2. Standardized Port 3111 Migration

  • Standardized frontend development and preview port to 3111 across Vite, Express backend CORS policies, Cloudflare Tunnel configuration, MT5 gateway CORS, and shell launchers (start_all.bat, start_all.sh).
  • Enhanced CORS isolation and origin security.

💎 3. 5 Breakthrough Upgrades Suite (v2.2)

  • Real-Time SSE Streaming Strategy Generator: Token-by-token code generation with speed telemetry and interactive <think> Chain-of-Thought terminal.
  • Visual Block Strategy Builder: No-code visual rule block composer compiling bidirectionally to/from sandbox JavaScript code.
  • AI Trade Post-Mortem & Autopsy: Forensic trade diagnosis with 0-100 Discipline score and 5 root cause classifications.
  • 1,000-Path Monte Carlo Prop Firm Pass Probability: Bootstrap simulation stress-testing funded challenge rules (10% profit, 5% daily loss).
  • Multi-Channel Webhook Dispatcher: Instant execution notifications to Telegram Bot API and Discord Webhooks with chart canvas attachments.

📚 4. Ecosystem & Documentation Review


✅ 5. Verification & Quality Gates

  • 237 / 237 Automated Tests Passing (100%)
  • 100% Internationalization parity across 4 locales (vi, en, ja, zh) with zero hardcoded strings.
  • FIPS-grade AES-256-GCM encrypted security key vault.
  • Clean production Vite build in ~7.38s.