analyzing-backtests

Analyze Jupyter notebook backtest results and generate a structured Markdown report.

Updated Jul 19, 2023
One-click install
npx skills add https://github.com/PoorRican/dotfiles --skill analyzing-backtests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-backtests
Source: https://github.com/PoorRican/dotfiles/tree/main/claude/.claude/skills/analyzing-backtests
Command: npx skills add https://github.com/PoorRican/dotfiles --skill analyzing-backtests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes algorithmic trading backtest results from Jupyter notebooks and generates a comprehensive summary report.

Core Features & Use Cases

  • Notebook parsing: Reads the .ipynb file and extracts code, markdown, and outputs
  • Metrics extraction: Gathers performance metrics like returns, drawdown, trades, and risk stats
  • Report generation: Produces a structured Markdown report with key findings

Quick Start

Analyze backtest_notebook.ipynb to produce a summary report.

Frequently Asked Questions about analyzing-backtests

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

FAQPage Schema
How do I extract metrics from a Jupyter notebook backtest and generate a summary report?

This Skill analyzes Jupyter notebooks containing algorithmic trading backtests and extracts key metrics like returns, drawdown, Sharpe ratio, and win rate to produce a structured Markdown summary report. It parses code, markdown, and cell outputs to capture strategy performance and risk data, then organizes findings into sections covering strategy, period, performance, risk metrics, and recommendations.

What backtest metrics does the notebook analysis extract?

The analysis extracts performance metrics including returns, capital, drawdowns, Sharpe ratio, win rate, number of trades, volatility, alpha, and beta. Unavailable metrics are marked as N/A in the report.

Can I analyze backtest results from .ipynb files directly?

Yes, the Skill reads .ipynb files directly and parses all code cells, markdown sections, and output data to extract backtest results. It captures version control state and processes the notebook end-to-end without requiring manual data extraction.

What information does the generated backtest report include?

The Markdown report includes sections on strategy name and configuration, date coverage, performance metrics, risk metrics, key findings from the backtest results, and actionable recommendations based on the analysis.

What do I need before running backtest analysis on a notebook?

You need a Jupyter notebook (.ipynb) containing your algorithmic trading backtest results with strategy configuration, date coverage, and performance or risk metrics present in code, markdown, or cell outputs.