Generate professional tearsheets with custom SVG visualizations using the QuantStats library. Creates performance reports with MAE analysis, leverage recommendations, and trade lists. Use when analyzing strategy performance or generating visual reports.
This skill generates custom tearsheets using the QuantStats library - a Python library for portfolio analytics.
Key Features:
Generate comprehensive trading strategy tearsheets with:
# Generate tearsheet from trades CSV
/generate-tearsheet SOL_MTF_EMA_001 --trades ./trades.csv --capital 10000
# Verify backtest with Nautilus Trader
/verify-backtest SOL_MTF_EMA_001 --trades ./trades.csv
# Test optimal leverage configuration
/verify-mae-lev SOL_MTF_EMA_001 --leverage p95
Generate a complete tearsheet with all analysis sections.
Verify tearsheet results against Nautilus Trader for accuracy validation.
Run backtest with optimal leverage config derived from MAE analysis.
Each tearsheet generation produces:
{strategy}_comparison.html - Full HTML tearsheet{strategy}_comparison_metrics.json - JSON metrics for programmatic accessThe skill uses the tearsheet generator at:
/Users/DanBot/Desktop/dev/Backtests/backtesting/tearsheets/strategy_comparison_tearsheet.py
Ensure this path is accessible or update the script paths accordingly.