Skip to main content

BacktestPairResult

Per-pair performance breakdown from a backtest run.

type BacktestPairResult {
key: String!
trades: Int!
profitTotal: Float!
profitTotalAbs: Float!
winRate: Float!
profitFactor: Float
sharpe: Float!
sortino: Float!
sqn: Float!
maxDrawdownAbs: Float!
wins: Int!
losses: Int!
marketChange: Float
}

Fields​

BacktestPairResult.key ● String! non-null scalar​

BacktestPairResult.trades ● Int! non-null scalar​

BacktestPairResult.profitTotal ● Float! non-null scalar​

BacktestPairResult.profitTotalAbs ● Float! non-null scalar​

BacktestPairResult.winRate ● Float! non-null scalar​

Share of winning trades for this pair. Unit: fraction 0..1 (0.05 = 5%).

BacktestPairResult.profitFactor ● Float scalar​

Gross profit over gross loss for this pair. Null when the pair had no losing trade (#4786).

BacktestPairResult.sharpe ● Float! non-null scalar​

BacktestPairResult.sortino ● Float! non-null scalar​

BacktestPairResult.sqn ● Float! non-null scalar​

BacktestPairResult.maxDrawdownAbs ● Float! non-null scalar​

BacktestPairResult.wins ● Int! non-null scalar​

BacktestPairResult.losses ● Int! non-null scalar​

BacktestPairResult.marketChange ● Float scalar​

What holding this pair did over the run's window (#4780): the close of its last candle over the close of its first, minus 1. Signed. Unit: fraction (0.05 = +5%). The Breakdown's per-pair "Holding made". Null for a run without a hold line (BacktestSeries.holdUnavailableReason).

Member Of​

BacktestSummary object