data_get_trades
Get the most recent strategy orders; provide entity_id when multiple strategies are loaded to focus on one. Auto-opens the Strategy Tester and shows the selected strategy's trades.
Instructions
Get the most recent strategy orders. Pass entity_id when more than one strategy is loaded. Auto-opens Strategy Tester and unhides the selected strategy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | Exact strategy entity ID from chart_get_state. Strongly recommended when more than one strategy is loaded. | |
| max_trades | No | Maximum trades to return (1-20, default 20) |