Backtest trades (one page)
backtest_tradesRetrieve paginated trades from a Janorium backtest, filter by side, exit reason, or entry layer, and inspect entry/exit, PnL, fees, funding, and risk metrics.
Instructions
One page of trades: side, entry/exit time and price, quantity, pnl/pnlPct, fees, fundingPaid (signed: negative was paid), exitReason, rMultiple, maePct/mfePct, barsHeld, entryLayerId and parentPositionId (the slices of one take-profit ladder share it). Omitted to keep rows short: leverage, marginUsed, liquidationPrice, slippageCost, feeKind, sizeFactor, riskAmount — GET /backtests/{id}/trades has them. size ≤ 50; the filter applies within the page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"backtestId": "<backtestId>"
},
"name": "backtest_trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| size | No | ||
| filter | No | ||
| backtestId | Yes |