POST
cURL

Authorizations

Authorization
string
header
required

The authorization field takes the session bearer returned by sign-in, or an API key where the route allows keys. Paste the token itself into the authorization field. When invitation-only access is enabled, private operations require the account's sign-in email to be invited. Sign-in can complete without an invitation, but private HTTP, MCP and FIX operations refuse with access_not_allowlisted (HTTP 403): "Private access is limited to invited accounts. Contact support to request access." Public market data remains available. Invitation changes apply to the next private operation, including existing FIX sessions. Do not retry until support confirms access.

Path Parameters

accountId
string
required
Minimum string length: 1

Body

application/json
strategyCode
string
required
Required string length: 1 - 20000
marketId
string
required
Required string length: 1 - 64
timeframe
enum<string>
required
Available options:
1m,
3m,
5m,
15m,
30m,
1h,
2h,
4h,
8h,
12h,
1d,
3d,
1w
fromEpochMs
integer
required
Required range: x >= 0
toEpochMs
integer
required
initialCapital
string

Initial simulation capital as decimal text in the market's settlement asset, greater than zero and at most 1000000. Precision must fit that asset's decimals (at most 10); excess significant decimals are refused. Omit for 10000 units.

Maximum string length: 32
Pattern: ^[0-9]+(?:\.[0-9]{1,10})?$
series
enum<string>
default:index

Legacy trade requests are accepted; simulation always uses market index candles.

Available options:
trade,
index
horizonTrades
integer
default:10

How many trades one bootstrap run sums: the probability is over that many trades.

Required range: 1 <= x <= 100
seed
integer
default:1

The bootstrap seed. The same request with the same seed answers the same numbers.

Required range: 0 <= x <= 4294967295
feeBps
number
default:0

Optional higher fee floor in basis points; zero still charges the venue's real maker and taker fees.

Required range: 0 <= x <= 1000
slippageBps
number
default:0

Optional higher base slippage floor; the modeled half-spread and size impact always apply.

Required range: 0 <= x <= 1000

Response

Success

marketId
string
required
Minimum string length: 1
pnlAsset
string
required

The market's settlement asset for the displayed simulated PnL.

Minimum string length: 1
timeframe
enum<string>
required
Available options:
1m,
3m,
5m,
15m,
30m,
1h,
2h,
4h,
8h,
12h,
1d,
3d,
1w
series
string
required
Allowed value: "index"
seriesLabel
enum<string>
required

Which prices the estimate comes from; show it beside the probability.

Available options:
trade price series,
index price series
seriesNote
string
required
Allowed value: "Backtest uses market index candles; trade requests are accepted for compatibility."
window
object
required
barCount
integer
required
Required range: x >= 0
initialCapital
number
required
feeBps
number
required
Required range: x >= 0
slippageBps
number
required
Required range: x >= 0
assumptions
object
required
summary
object
required
probability
object
required
chart
object
required