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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "data_get_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_trades | No | Maximum trades to return |