data_get_strategy_results
Extract performance metrics from TradingView Strategy Tester to evaluate Pine Script backtests. Returns Net Profit, Profit Factor, Win Rate, Max Drawdown, Total Trades, and Sharpe Ratio.
Instructions
Extract performance metrics from the TradingView Strategy Tester panel (Net Profit, Profit Factor, Win Rate, Max Drawdown, Total Trades, Sharpe Ratio). WHEN TO USE: Call after compiling a Pine Script strategy to evaluate quantitative backtest results. SIDE EFFECTS: None (Read-only). LIMITATIONS: Requires a strategy script to be actively running on the chart with Strategy Tester panel populated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||