Skip to content

v1.4 — Batch Testing + Portfolio Diversification Analyzer (34 tools)

Choose a tag to compare

@Boschi404 Boschi404 released this 02 Aug 15:56
· 5 commits to master since this release

🚀 v1.4 — Portfolio Intelligence (34 tools)

🆕 Batch Testing

  • run_multi_backtest — Test EA on multiple symbols in one call, get aggregate stats
  • backtest_to_returns — Convert results to returns series for portfolio analysis

🆕 Portfolio Diversification (0-100 score)

  • analyze_portfolio_diversification — Comprehensive scoring with:
    • Correlation matrix + pair analysis
    • Diversification score (0-100) with verdict
    • Volatility reduction benefit %
    • Concentration risk detection
    • Asset class coverage analysis
    • Specific recommendations (which pairs to remove)

🆕 Live Portfolio Health

  • get_portfolio_health — Real-time portfolio analysis:
    • Total P&L, exposure, margin usage
    • Win/loss ratio
    • Concentration risk (single symbol dominance)
    • Health verdict: HEALTHY / CONCENTRATED / DRAWING DOWN

Scoring Scale

  • 80-100: 🏆 EXCELLENT — Highly diversified
  • 60-79: ✅ GOOD — Well diversified
  • 40-59: ⚠️ MODERATE — Some concentration risk
  • 20-39: 🔴 POOR — High correlation
  • 0-19: ❌ NOT DIVERSIFIED — Single asset portfolio

Full Pipeline Now

Write EA → Compile → Multi-Backtest → Returns → Diversification Score → Kelly Sizing → Live Trade → Monitor Health