backtesting-analysis

Run backtests, analyze performance metrics, and generate CSV/JSON ranking reports.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/sayujks0071/probable-fiesta --skill backtesting-analysis-sayujks0071
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backtesting-analysis
Source: https://github.com/sayujks0071/probable-fiesta/tree/main/.cursor/skills/backtesting-analysis
Command: npx skills add https://github.com/sayujks0071/probable-fiesta --skill backtesting-analysis-sayujks0071

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, structlog, pandas, numpy, scipy, httpx, pydantic-settings.

What problem does it solve?

Backtesting-analysis enables analysts to run backtests, analyze strategy performance, compare variants, and generate ranking reports to streamline strategy selection.

Core Features & Use Cases

  • Backtest Execution & Integration: orchestrates backtests using the OpenAlgo/AITRAPP stack and collects results.
  • Performance Metrics & Ranking: computes key metrics (returns, drawdown, win rate) and ranks strategies.
  • Report Generation: exports CSV/JSON rankings for review and deployment decisions.

Quick Start

Run the ranking script to backtest a strategy over a date range and generate a ranked report.

Frequently Asked Questions about backtesting-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare and rank multiple trading strategy backtests?

To compare and rank trading strategy backtests, you can compute key performance metrics like returns, drawdown, and win rate across historical data. This Skill uses pandas and numpy to evaluate multiple strategy variants and generates a ranked report for deployment selection.

What metrics are used to evaluate backtesting performance for trading strategies?

Backtesting performance is evaluated using metrics such as returns, drawdown, and win rate computed via numpy and scipy. The Skill calculates these quantitative metrics across historical data to provide clear insights and rank strategy effectiveness for deployment.

Does this backtesting analysis Skill require integration with the OpenAlgo engine?

Yes, executing backtests and analyzing results requires integration with the OpenAlgo backtest engine and AITRAPP adapter. The Skill orchestrates backtests through these platforms while using a Python stack for data handling and metrics computation.

Can I export backtest ranking reports to CSV or JSON formats?

Yes, you can export backtest ranking reports to CSV or JSON formats. After computing performance metrics and ranking strategies over historical data, the Skill generates these report files to streamline strategy review and deployment decisions.

How do I run a backtest over a specific date range and generate a report?

To run a backtest over a specific date range, execute the ranking script with your desired parameters. The Skill orchestrates the backtest via the OpenAlgo stack, collects the results, and automatically generates a ranked report for review.

What Python libraries are needed for strategy backtesting and metrics computation?

Strategy backtesting and metrics computation require a Python stack including pandas, numpy, and scipy for data handling and mathematical calculations. The Skill also depends on pyyaml, structlog, httpx, and pydantic-settings for configuration and operational tasks.