Performance Monitor

Track and analyze trading performance metrics into a structured JSON report.

38|9|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/IgorGanapolsky/trading --skill performance-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Performance Monitor
Source: https://github.com/IgorGanapolsky/trading/tree/main/.claude/skills/performance_monitor
Command: npx skills add https://github.com/IgorGanapolsky/trading --skill performance-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-dotenv, and includes scripts (resource) components.

What problem does it solve?

This Skill provides comprehensive performance analytics for trading operations, including real-time P&L tracking, risk-adjusted returns, drawdown analysis, win-rate statistics, and benchmark comparisons.

Core Features & Use Cases

  • Performance tracking: Real-time and historical P&L, returns, and equity analytics.
  • Risk-adjusted metrics: Sharpe, Sortino, Calmar, max drawdown, and volatility metrics.
  • Trade statistics: Win rate, profit factor, expectancy, and hold-time analysis.
  • Benchmark comparison: Assess performance against a benchmark like SPY.

Quick Start

Run the Performance Monitor to calculate performance metrics for a given period and benchmark (e.g., SPY), then generate a summary report.

Frequently Asked Questions about Performance Monitor

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

FAQPage Schema
How do I calculate Sharpe ratio and other risk-adjusted returns for my trading strategy?

Risk-adjusted metrics like Sharpe ratio, Sortino ratio, and Calmar ratio measure returns relative to volatility and drawdown. This Skill computes these metrics automatically from your trade history, helping you assess whether returns compensate for the risk taken.

Can I track drawdown and maximum loss in real-time trading performance?

Yes. This Skill tracks maximum drawdown and equity curve changes in real-time and historical periods, showing you peak-to-trough declines and current underwater status so you can monitor portfolio stress immediately.

How do I compare my trading performance against a benchmark like SPY?

Benchmark comparison outputs relative returns, risk metrics, and performance gaps between your strategy and an index. This Skill generates structured reports showing whether your strategy outperforms the benchmark on a risk-adjusted basis.

What trading statistics does a performance report include?

Performance reports contain win rate, profit factor, trade expectancy, average hold time, and position-level analysis. These trade statistics reveal strategy consistency, profitability per trade, and typical holding periods to identify strengths and edge sources.

Can I use this for both real-time and historical performance analysis?

Yes. The Skill handles both real-time P&L tracking and historical backtesting, calculating returns, volatility, and drawdown metrics across any period you define for strategy evaluation and optimization.