Skip to main content

PublicSimulation

The lean, anonymous, allowlisted projection of a FROZEN Monte Carlo simulation. A simulation result is backtest-shaped, so this REUSES every PublicBacktest field (built field-by-field from the simulation's MEDIAN distributions and its median equity curve, de-based to index 100) and adds only a scenario label. Money is always relative (percent / index) — there is NO absolute capital/balance, no raw result/config, no ids, no owner PII, and no linked entities.

type PublicSimulation {
projectionLevel: ShareProjectionLevel!
strategyName: String!
exchangeName: String
timeframe: String
totalReturnPct: Float
winRatePct: Float
totalTrades: Int!
maxDrawdownPct: Float
sharpe: Float
sortino: Float
calmar: Float
cagrPct: Float
profitFactor: Float
pairCount: Int!
startDate: Time
endDate: Time
backtestDays: Int
equityCurve: [Float!]!
scenarioLabel: String
}

Fields

PublicSimulation.projectionLevel ● ShareProjectionLevel! non-null enum

The publisher's chosen projection level (card = teaser, full = all safe fields).

PublicSimulation.strategyName ● String! non-null scalar

Parent strategy human display name (never the mangled Freqtrade class name).

PublicSimulation.exchangeName ● String scalar

Exchange NAME only (e.g. 'binance') from the seeding backtest — never keys or account data.

PublicSimulation.timeframe ● String scalar

PublicSimulation.totalReturnPct ● Float scalar

Median total return across all Monte Carlo runs, as a percent (never an absolute amount).

PublicSimulation.winRatePct ● Float scalar

Median win rate across all runs, as a percent.

PublicSimulation.totalTrades ● Int! non-null scalar

Trade sample size (from the seeding backtest); 0 when unknown.

PublicSimulation.maxDrawdownPct ● Float scalar

Median max drawdown across all runs, as a percent.

PublicSimulation.sharpe ● Float scalar

Median Sharpe across all runs (degenerate/near-infinite values are dropped).

PublicSimulation.sortino ● Float scalar

Median Sortino across all runs.

PublicSimulation.calmar ● Float scalar

PublicSimulation.cagrPct ● Float scalar

PublicSimulation.profitFactor ● Float scalar

Median profit factor across all runs.

PublicSimulation.pairCount ● Int! non-null scalar

Pair count (from the seeding backtest); 0 when unknown.

PublicSimulation.startDate ● Time scalar

PublicSimulation.endDate ● Time scalar

PublicSimulation.backtestDays ● Int scalar

PublicSimulation.equityCurve ● [Float!]! non-null scalar

The MEDIAN (p50) simulated equity curve, de-based so the first point is index 100 (shape only).

PublicSimulation.scenarioLabel ● String scalar

Human scenario label composed from the Monte Carlo method + iteration count (e.g. 'Bootstrap · 5,000 iterations'). Null when unavailable. Never the publisher's free-text simulation name/description.

Returned By

publicSimulation query