AI Agent Hub
Back to skills
⚖️

DeepQuant Strategy Comparison Assistant

Professional Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @org-0ueytgdu/deepquant-strategy-compare using https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When iterating quantitative strategies, a single backtest report shows only one strategy's performance. It does not explain which strategy is more robust, where the difference comes from, or what should be changed next. This assistant places multiple completed backtests on the same evaluation frame, comparing returns, risk, risk-adjusted returns, position structure, rebalancing timing, and transaction cost rather than listing isolated metrics.

How It Works

It reads the report directory generated by deepquant-backtest, which should include portfolio.csv, trades.csv, and stock_positions.csv; summary.xlsx is optional. The workflow includes:

  • Metric comparison: reports total return, annualized return, maximum drawdown, Sharpe ratio, win rate, trade count, and transaction cost, highlighting the best-performing strategy.
  • Overlay charting: draws cumulative return curves on the same axis, shades maximum drawdown intervals, and optionally overlays a benchmark curve.
  • Difference analysis: explains differences through return source, risk profile, and transaction cost, such as rotation-driven diversification versus single-asset beta exposure.
  • Optimization notes: provides actionable directions for each strategy's weaknesses, including cash buffers, position persistence thresholds, and cost constraints.

Boundaries

The skill depends on local Python 3.8 through 3.12 and the deepquant SDK, and requires existing readable backtest reports. It does not create new backtests; it compares and diagnoses completed results. Authentication, permissions, and credential handling are security-bound: initialization checks must not be bypassed, and sensitive values such as appKey or TOKEN must not be exposed or written into files.

Use Cases

  • Before strategy review, place ETF rotation and buy-and-hold backtests in the same metric table to compare returns, drawdown, and transaction costs.
  • After receiving multiple deepquant-backtest reports, generate overlay cumulative return charts and mark maximum drawdown intervals for a robustness briefing.
  • For a rotation strategy with high turnover and cost, use trade and position records to identify monthly turnover and suggest position persistence thresholds.
  • After confirming authentication and a report directory with portfolio.csv, trades.csv, and stock_positions.csv, compare completed strategies and output diagnostic suggestions.

Best For

  • Quant researchers who need to place multiple backtest results in the same frame and compare returns, maximum drawdown, Sharpe ratio, and transaction costs.
  • Strategy review owners who need to judge which of two strategies is more robust and prepare difference analysis before an investment research meeting.
  • DeepQuant users who already have a deepquant-backtest report directory and want overlay return charts plus strategy-specific optimization suggestions.
  • Risk and compliance staff who need to review drawdown intervals, transaction costs, and authentication boundaries in backtest results without bypassing authentication.