validate-tv-backtest

Extract TradingView strategy metrics and generate a validation report comparing backtest results.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Jaggia/backTestingTraderBot --skill validate-tv-backtest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-tv-backtest
Source: https://github.com/Jaggia/backTestingTraderBot/tree/main/.claude/skills/validate-tv-backtest
Command: npx skills add https://github.com/Jaggia/backTestingTraderBot --skill validate-tv-backtest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validating TradingView backtests can be error-prone due to mismatched data sources and date ranges. This skill automates the end-to-end process of downloading TV data, running the backtest, and comparing results against a TradingView strategy report screenshot to ensure alignment and accuracy.

Core Features & Use Cases

  • Automated TV data download: fetches fresh TradingView data for the target symbol (QQQ) at 5-minute intervals.
  • Backtest execution & metrics capture: runs the backtest for the extracted date range and collects P&L, max drawdown, total trades, win rate, and profit factor.
  • Validation reporting: generates a side-by-side comparison and a markdown validation document stored in the results directory for audit trails.
  • Use Case: verify that a TradingView strategy report matches the engine results for a given date range to confirm data and parameter accuracy.

Quick Start

Provide a TradingView strategy screenshot to begin the validation workflow.

Frequently Asked Questions about validate-tv-backtest

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

FAQPage Schema
How do I validate a TradingView backtest against my own engine results?

To validate a TradingView backtest, provide a TradingView strategy report screenshot. The tool extracts key metrics like P&L and max drawdown, downloads fresh data, runs the backtest, and generates a side-by-side comparison report.

What is the best way to match TradingView strategy results with local equities data?

Matching TradingView strategy results requires aligning the date range and data source. This skill converts the extracted date range to ISO format, downloads fresh TradingView data for equities, and compares the backtest output against the screenshot metrics.

How do I extract metrics like profit factor and max drawdown from a TradingView screenshot?

Extracting metrics from a TradingView screenshot is handled automatically. The skill reads the image to capture total P&L, max drawdown, total trades, profitable trades, and profit factor, converting the date range to ISO format for CLI input.

Can I download fresh TradingView data for QQQ 5-minute bars for backtesting?

Yes, you can download fresh TradingView data for QQQ 5-minute bars. The skill fetches the data and saves the CSV to a specific directory, warning you if the extracted date range is older than the latest available data.

Does TradingView backtest validation work with other symbols or timeframes?

Currently, the automated data download targets QQQ at 5-minute intervals. The validation workflow extracts metrics from the screenshot and runs the backtest for that specific data, but it warns if the date range is older than the latest data.

Why does my TradingView backtest validation show mismatched results?

Mismatched backtest validation results often stem from unaligned data sources or date ranges. The skill mitigates this by downloading fresh TradingView data, converting dates to ISO format, and generating a markdown validation report for audit trails.