data_get_trades
Extract individual trade execution logs from TradingView Strategy Tester, including entry/exit times, prices, contracts, and P&L, to review backtested Pine strategies trade by trade.
Instructions
Extract individual trade execution log from Strategy Tester (entry/exit times, prices, contracts, P&L). WHEN TO USE: Call when conducting granular trade-by-trade review or streak analysis of a backtested Pine strategy. SIDE EFFECTS: None (Read-only). LIMITATIONS: Strategy Tester bottom panel must have trade list populated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_trades | No | Maximum trades to return |