---
title: "Queue Roundtrip Backtest"
method: POST
path: "/v1/terminal/live/roundtrip/backtest"
tags: ["terminal", "terminal"]
---

# Queue Roundtrip Backtest

`POST /v1/terminal/live/roundtrip/backtest`

## Request

- Base URL: `https://app.mrtrades.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.mrtrades.com/v1/terminal/live/roundtrip/backtest`
- Auth: none declared

Queue a replay of your closed positions. It runs in the background; poll the run.

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- RoundTripBacktestBody
  - `coin` string
  - `days` integer
  - `trigger_bps` number, nullable
  - `ask_jev` boolean
  - `max_jev_calls` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mrtrades/apis/mtdp-api.md) · [All operations](https://skmtc.dev/mrtrades/apis/mtdp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mrtrades/apis/mtdp-api/revisions/ba2bad6ca261?raw)
