PRUVIQ · Schema

BacktestResponse

Custom strategy backtest result.

CryptocurrencyBacktestingFinanceOpen Data

Properties

Name Type Description
name string
direction string
executed boolean False when the strategy failed validation and nothing was run — every metric is a placeholder (0), NOT a 0-trade result. validation_errors says why. HTTP stays 200 (documented contract).
direction_source string «request» = the request sent direction; «default_short» = it was omitted and this run is SHORT (the /backtest default — /simulate would use the strategy registry's direction instead).
sl_pct number
tp_pct number
max_bars integer
indicators_used array
conditions_count integer
total_trades integer
wins integer
losses integer
win_rate number
total_return_pct number
profit_factor number
avg_win_pct number
avg_loss_pct number
max_drawdown_pct number
max_consecutive_losses integer
tp_count integer
sl_count integer
timeout_count integer
total_fees_pct number
total_funding_pct number
sharpe_ratio number
sortino_ratio number
calmar_ratio number
coins_used integer
top_n_requested object The top_n this run resolved to. null for explicit symbols= requests (no top-N universe).
eligible_universe object Coins eligible for a top-N universe at run time (stablecoins unless include_stablecoins, non-crypto and liquidity-dead markets excluded), read in the same selection as the coins run. null for symbols=
universe_capped object eligible_universe < top_n_requested: the request asked for more coins than exist, so the whole eligible universe ran. A cap only — coins lacking data are reported in coins_missing_data. null for symbo
coins_missing_data object min(top_n_requested, eligible_universe) - (selected coins with at least one candle inside start_date..end_date). Counts selected coins with no complete candle up to the cutoff AND coins whose candles
data_range string
equity_curve array
coin_results array
trades array
compounding boolean
ruin_index object
ruin_trade object
per_coin_usd number
leverage integer
initial_capital_usd number
total_return_usd number
total_return_pct_portfolio number
max_drawdown_usd number
expectancy number
recovery_factor number
payoff_ratio number
btc_hold_return_pct number
eth_hold_return_pct number
btc_hold_curve array
eth_hold_curve array
var_95 number
cvar_95 number
strategy_grade string
grade_details string
edge_p_value object
warnings array
walk_forward_consistency object
walk_forward_details string
profit_factor_ci object
sharpe_ci object
deflated_sharpe object
dsr_haircut_pct object
mc_p_value object
mc_percentile object
jensens_alpha object
avg_bars_held number
median_bars_held number
positions_skipped integer
pnl_distribution array
pnl_buckets array
regime_performance object
is_valid boolean
validation_errors array
yearly_stats array
monthly_stats array
compute_time_ms integer
scope_disclosure object Population coverage is separate from sample/reliability warnings.
reliability_checks array 축별 판정 레코드 — 이 응답의 «판정 SSoT». reliability_warning 은 파생물. ⚠ `verdict` 는 세 값이다. `not_evaluated` 를 «통과»로 세면 0거래 응답이 「4개 축 통과」로 읽힌다 — 그 축들은 실행조차 안 됐다.
reliability_warning object 계약은 build_reliability_warning 한 곳이 소유한다(룰3).
View JSON Schema on GitHub

JSON Schema

pruviq-com-backtest-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pruviq-com/json-schema/pruviq-com-backtest-response-schema.json",
  "title": "BacktestResponse",
  "description": "Custom strategy backtest result.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pruviq-com-openapi.json#/components/schemas/BacktestResponse",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "direction": {
      "type": "string",
      "title": "Direction"
    },
    "executed": {
      "type": "boolean",
      "title": "Executed",
      "description": "False when the strategy failed validation and nothing was run — every metric is a placeholder (0), NOT a 0-trade result. validation_errors says why. HTTP stays 200 (documented contract).",
      "default": true
    },
    "direction_source": {
      "type": "string",
      "enum": [
        "request",
        "default_short"
      ],
      "title": "Direction Source",
      "description": "«request» = the request sent direction; «default_short» = it was omitted and this run is SHORT (the /backtest default — /simulate would use the strategy registry's direction instead).",
      "default": "request"
    },
    "sl_pct": {
      "type": "number",
      "title": "Sl Pct"
    },
    "tp_pct": {
      "type": "number",
      "title": "Tp Pct"
    },
    "max_bars": {
      "type": "integer",
      "title": "Max Bars"
    },
    "indicators_used": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Indicators Used"
    },
    "conditions_count": {
      "type": "integer",
      "title": "Conditions Count"
    },
    "total_trades": {
      "type": "integer",
      "title": "Total Trades"
    },
    "wins": {
      "type": "integer",
      "title": "Wins"
    },
    "losses": {
      "type": "integer",
      "title": "Losses"
    },
    "win_rate": {
      "type": "number",
      "title": "Win Rate"
    },
    "total_return_pct": {
      "type": "number",
      "title": "Total Return Pct"
    },
    "profit_factor": {
      "type": "number",
      "title": "Profit Factor"
    },
    "avg_win_pct": {
      "type": "number",
      "title": "Avg Win Pct"
    },
    "avg_loss_pct": {
      "type": "number",
      "title": "Avg Loss Pct"
    },
    "max_drawdown_pct": {
      "type": "number",
      "title": "Max Drawdown Pct"
    },
    "max_consecutive_losses": {
      "type": "integer",
      "title": "Max Consecutive Losses"
    },
    "tp_count": {
      "type": "integer",
      "title": "Tp Count"
    },
    "sl_count": {
      "type": "integer",
      "title": "Sl Count"
    },
    "timeout_count": {
      "type": "integer",
      "title": "Timeout Count"
    },
    "total_fees_pct": {
      "type": "number",
      "title": "Total Fees Pct",
      "default": 0.0
    },
    "total_funding_pct": {
      "type": "number",
      "title": "Total Funding Pct",
      "default": 0.0
    },
    "sharpe_ratio": {
      "type": "number",
      "title": "Sharpe Ratio",
      "default": 0.0
    },
    "sortino_ratio": {
      "type": "number",
      "title": "Sortino Ratio",
      "default": 0.0
    },
    "calmar_ratio": {
      "type": "number",
      "title": "Calmar Ratio",
      "default": 0.0
    },
    "coins_used": {
      "type": "integer",
      "title": "Coins Used"
    },
    "top_n_requested": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Top N Requested",
      "description": "The top_n this run resolved to. null for explicit symbols= requests (no top-N universe)."
    },
    "eligible_universe": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Eligible Universe",
      "description": "Coins eligible for a top-N universe at run time (stablecoins unless include_stablecoins, non-crypto and liquidity-dead markets excluded), read in the same selection as the coins run. null for symbols= requests (and on /backtest when the strategy is invalid, is_valid=false)."
    },
    "universe_capped": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Universe Capped",
      "description": "eligible_universe < top_n_requested: the request asked for more coins than exist, so the whole eligible universe ran. A cap only — coins lacking data are reported in coins_missing_data. null for symbols= requests."
    },
    "coins_missing_data": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Coins Missing Data",
      "description": "min(top_n_requested, eligible_universe) - (selected coins with at least one candle inside start_date..end_date). Counts selected coins with no complete candle up to the cutoff AND coins whose candles all fall outside the requested window (those stay in coins_used, so this can exceed min(top_n_requested, eligible_universe) - coins_used). null for symbols= requests."
    },
    "data_range": {
      "type": "string",
      "title": "Data Range"
    },
    "equity_curve": {
      "items": {
        "$ref": "#/$defs/EquityPoint"
      },
      "type": "array",
      "title": "Equity Curve"
    },
    "coin_results": {
      "items": {
        "$ref": "#/$defs/CoinResult"
      },
      "type": "array",
      "title": "Coin Results",
      "default": []
    },
    "trades": {
      "items": {
        "$ref": "#/$defs/TradeItem"
      },
      "type": "array",
      "title": "Trades",
      "default": []
    },
    "compounding": {
      "type": "boolean",
      "title": "Compounding",
      "default": false
    },
    "ruin_index": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ruin Index"
    },
    "ruin_trade": {
      "anyOf": [
        {
          "$ref": "#/$defs/RuinTrade"
        },
        {
          "type": "null"
        }
      ]
    },
    "per_coin_usd": {
      "type": "number",
      "title": "Per Coin Usd",
      "default": 60.0
    },
    "leverage": {
      "type": "integer",
      "title": "Leverage",
      "default": 5
    },
    "initial_capital_usd": {
      "type": "number",
      "title": "Initial Capital Usd",
      "default": 0.0
    },
    "total_return_usd": {
      "type": "number",
      "title": "Total Return Usd",
      "default": 0.0
    },
    "total_return_pct_portfolio": {
      "type": "number",
      "title": "Total Return Pct Portfolio",
      "default": 0.0
    },
    "max_drawdown_usd": {
      "type": "number",
      "title": "Max Drawdown Usd",
      "default": 0.0
    },
    "expectancy": {
      "type": "number",
      "title": "Expectancy",
      "default": 0.0
    },
    "recovery_factor": {
      "type": "number",
      "title": "Recovery Factor",
      "default": 0.0
    },
    "payoff_ratio": {
      "type": "number",
      "title": "Payoff Ratio",
      "default": 0.0
    },
    "btc_hold_return_pct": {
      "type": "number",
      "title": "Btc Hold Return Pct",
      "default": 0.0
    },
    "eth_hold_return_pct": {
      "type": "number",
      "title": "Eth Hold Return Pct",
      "default": 0.0
    },
    "btc_hold_curve": {
      "items": {
        "$ref": "#/$defs/EquityPoint"
      },
      "type": "array",
      "title": "Btc Hold Curve",
      "default": []
    },
    "eth_hold_curve": {
      "items": {
        "$ref": "#/$defs/EquityPoint"
      },
      "type": "array",
      "title": "Eth Hold Curve",
      "default": []
    },
    "var_95": {
      "type": "number",
      "title": "Var 95",
      "default": 0.0
    },
    "cvar_95": {
      "type": "number",
      "title": "Cvar 95",
      "default": 0.0
    },
    "strategy_grade": {
      "type": "string",
      "title": "Strategy Grade",
      "default": ""
    },
    "grade_details": {
      "type": "string",
      "title": "Grade Details",
      "default": ""
    },
    "edge_p_value": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Edge P Value"
    },
    "warnings": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Warnings",
      "default": []
    },
    "walk_forward_consistency": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Walk Forward Consistency"
    },
    "walk_forward_details": {
      "type": "string",
      "title": "Walk Forward Details",
      "default": ""
    },
    "profit_factor_ci": {
      "anyOf": [
        {
          "$ref": "#/$defs/MetricCI"
        },
        {
          "type": "null"
        }
      ]
    },
    "sharpe_ci": {
      "anyOf": [
        {
          "$ref": "#/$defs/MetricCI"
        },
        {
          "type": "null"
        }
      ]
    },
    "deflated_sharpe": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deflated Sharpe"
    },
    "dsr_haircut_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dsr Haircut Pct"
    },
    "mc_p_value": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mc P Value"
    },
    "mc_percentile": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mc Percentile"
    },
    "jensens_alpha": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jensens Alpha"
    },
    "avg_bars_held": {
      "type": "number",
      "title": "Avg Bars Held",
      "default": 0.0
    },
    "median_bars_held": {
      "type": "number",
      "title": "Median Bars Held",
      "default": 0.0
    },
    "positions_skipped": {
      "type": "integer",
      "title": "Positions Skipped",
      "default": 0
    },
    "pnl_distribution": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Pnl Distribution",
      "default": []
    },
    "pnl_buckets": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Pnl Buckets",
      "default": []
    },
    "regime_performance": {
      "anyOf": [
        {
          "$ref": "#/$defs/RegimePerformance"
        },
        {
          "type": "null"
        }
      ]
    },
    "is_valid": {
      "type": "boolean",
      "title": "Is Valid"
    },
    "validation_errors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Validation Errors",
      "default": []
    },
    "yearly_stats": {
      "items": {
        "$ref": "#/$defs/YearlyStat"
      },
      "type": "array",
      "title": "Yearly Stats",
      "default": []
    },
    "monthly_stats": {
      "items": {
        "$ref": "#/$defs/MonthlyStat"
      },
      "type": "array",
      "title": "Monthly Stats",
      "default": []
    },
    "compute_time_ms": {
      "type": "integer",
      "title": "Compute Time Ms",
      "default": 0
    },
    "scope_disclosure": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Scope Disclosure",
      "description": "Population coverage is separate from sample/reliability warnings.",
      "readOnly": true
    },
    "reliability_checks": {
      "items": {
        "$ref": "#/$defs/ReliabilityCheck"
      },
      "type": "array",
      "title": "Reliability Checks",
      "description": "축별 판정 레코드 — 이 응답의 «판정 SSoT». reliability_warning 은 파생물.\n\n⚠ `verdict` 는 세 값이다. `not_evaluated` 를 «통과»로 세면 0거래 응답이\n「4개 축 통과」로 읽힌다 — 그 축들은 실행조차 안 됐다.",
      "readOnly": true
    },
    "reliability_warning": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reliability Warning",
      "description": "계약은 build_reliability_warning 한 곳이 소유한다(룰3).",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "name",
    "direction",
    "sl_pct",
    "tp_pct",
    "max_bars",
    "indicators_used",
    "conditions_count",
    "total_trades",
    "wins",
    "losses",
    "win_rate",
    "total_return_pct",
    "profit_factor",
    "avg_win_pct",
    "avg_loss_pct",
    "max_drawdown_pct",
    "max_consecutive_losses",
    "tp_count",
    "sl_count",
    "timeout_count",
    "coins_used",
    "data_range",
    "equity_curve",
    "is_valid",
    "scope_disclosure",
    "reliability_checks",
    "reliability_warning"
  ],
  "$defs": {
    "CoinResult": {
      "properties": {
        "symbol": {
          "type": "string",
          "title": "Symbol"
        },
        "trades": {
          "type": "integer",
          "title": "Trades"
        },
        "wins": {
          "type": "integer",
          "title": "Wins"
        },
        "losses": {
          "type": "integer",
          "title": "Losses"
        },
        "win_rate": {
          "type": "number",
          "title": "Win Rate"
        },
        "profit_factor": {
          "type": "number",
          "title": "Profit Factor"
        },
        "total_return_pct": {
          "type": "number",
          "title": "Total Return Pct"
        },
        "avg_pnl_pct": {
          "type": "number",
          "title": "Avg Pnl Pct"
        },
        "tp_count": {
          "type": "integer",
          "title": "Tp Count"
        },
        "sl_count": {
          "type": "integer",
          "title": "Sl Count"
        },
        "timeout_count": {
          "type": "integer",
          "title": "Timeout Count"
        }
      },
      "type": "object",
      "required": [
        "symbol",
        "trades",
        "wins",
        "losses",
        "win_rate",
        "profit_factor",
        "total_return_pct",
        "avg_pnl_pct",
        "tp_count",
        "sl_count",
        "timeout_count"
      ],
      "title": "CoinResult",
      "description": "Per-coin simulation result in portfolio backtest."
    },
    "EquityPoint": {
      "properties": {
        "time": {
          "type": "string",
          "title": "Time"
        },
        "value": {
          "type": "number",
          "title": "Value"
        }
      },
      "type": "object",
      "required": [
        "time",
        "value"
      ],
      "title": "EquityPoint"
    },
    "MetricCI": {
      "properties": {
        "unit": {
          "type": "string",
          "title": "Unit"
        },
        "point": {
          "type": "number",
          "title": "Point"
        },
        "lo": {
          "type": "number",
          "title": "Lo"
        },
        "hi": {
          "type": "number",
          "title": "Hi"
        },
        "ci_pct": {
          "type": "number",
          "title": "Ci Pct"
        },
        "n_input": {
          "type": "integer",
          "title": "N Input"
        },
        "n_resamples": {
          "type": "integer",
          "title": "N Resamples"
        },
        "n_used": {
          "type": "integer",
          "title": "N Used"
        },
        "no_loss_pct": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "No Loss Pct"
        }
      },
      "type": "object",
      "required": [
        "unit",
        "point",
        "lo",
        "hi",
        "ci_pct",
        "n_input",
        "n_resamples",
        "n_used"
      ],
      "title": "MetricCI",
      "description": "지표 하나의 부트스트랩 신뢰구간.\n\n★ `unit` 이 **값으로** 있는 이유 (Q-B29 A, 2026-08-29):\n각 지표의 CI 는 «그 헤드라인이 실제로 쓰는 입력» 을 재표집해야 한다.\n    profit_factor  ← 거래별 gross P/L        → unit=\"trades\"\n    sharpe_ratio   ← 일별 수익률 × √365      → unit=\"daily_returns\"\n거래를 재표집해 Sharpe CI 를 내면 **화면의 그 Sharpe 가 아니다.** 그런데\n틀려 보이지 않는다 — 실측(BTCUSDT rsi<30 long, 176거래): 헤드라인 −0.91,\n거래 축 CI −4.78~0.29 로 **헤드라인이 구간 안에 들어간다.** 라벨도 «Sharpe\nCI», 숫자 모양도 맞고 점추정도 구간 안이다. 축만 다르다.\n⇒ 라벨이 스스로 축을 말하게 한다. 소비자는 이 값을 «무엇을 몇 번 재표집한\n  CI 인가» 문구에 그대로 쓴다(룰4 스코프 라벨)."
    },
    "MonthlyStat": {
      "properties": {
        "month": {
          "type": "string",
          "title": "Month"
        },
        "trades": {
          "type": "integer",
          "title": "Trades"
        },
        "wins": {
          "type": "integer",
          "title": "Wins"
        },
        "win_rate": {
          "type": "number",
          "title": "Win Rate"
        },
        "total_return_pct": {
          "type": "number",
          "title": "Total Return Pct"
        },
        "profit_factor": {
          "type": "number",
          "title": "Profit Factor"
        }
      },
      "type": "object",
      "required": [
        "month",
        "trades",
        "wins",
        "win_rate",
        "total_return_pct",
        "profit_factor"
      ],
      "title": "MonthlyStat",
      "description": "Per-month performance breakdown."
    },
    "RegimeMetrics": {
      "properties": {
        "trades": {
          "type": "integer",
          "title": "Trades"
        },
        "win_rate": {
          "type": "number",
          "title": "Win Rate"
        },
        "total_return": {
          "type": "number",
          "title": "Total Return"
        },
        "profit_factor": {
          "type": "number",
          "title": "Profit Factor"
        },
        "avg_pnl": {
          "type": "number",
          "title": "Avg Pnl"
        }
      },
      "type": "object",
      "required": [
        "trades",
        "win_rate",
        "total_return",
        "profit_factor",
        "avg_pnl"
      ],
      "title": "RegimeMetrics"
    },
    "RegimePerformance": {
      "properties": {
        "bull": {
          "$ref": "#/$defs/RegimeMetrics"
        },
        "bear": {
          "$ref": "#/$defs/RegimeMetrics"
        },
        "sideways": {
          "$ref": "#/$defs/RegimeMetrics"
        }
      },
      "type": "object",
      "required": [
        "bull",
        "bear",
        "sideways"
      ],
      "title": "RegimePerformance"
    },
    "ReliabilityCheck": {
      "properties": {
        "axis_id": {
          "type": "string",
          "enum": [
            "trades",
            "ruin",
            "sample",
            "leverage",
            "diversification"
          ],
          "title": "Axis Id"
        },
        "verdict": {
          "type": "string",
          "enum": [
            "pass",
            "fail",
            "not_evaluated"
          ],
          "title": "Verdict"
        },
        "value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value"
        },
        "threshold": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Threshold"
        },
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message"
        }
      },
      "type": "object",
      "required": [
        "axis_id",
        "verdict"
      ],
      "title": "ReliabilityCheck",
      "description": "신뢰 판정 **한 축의 레코드**. 판정은 여기 «데이터»로 산다.\n\n2026-08-31 온리원 토론: 판정 결과가 데이터가 아니라 **문장**으로 살아서\n① 통과·미평가가 응답에 **존재하지 않고**(실패만 join 하니 나머지는 `None`)\n② 프론트가 그 문자열을 `startsWith(\"Small sample\")` · `!includes(\" · \")` 로\n   **파싱**하고 ③ 화면에서 「전부 통과」·「필드 안 옴」·「이 경로에 컴포넌트\n없음」이 **한 픽셀**이 됐다. 세 결함의 공통 뿌리는 «판정의 표현»이다.\n\n`verdict` 가 **세 값**인 것이 이 모델의 핵심이다 — `not_evaluated` 가 없으면\n0거래 응답에서 나머지 4축이 «통과»로 읽힌다(실제로는 실행조차 안 된다)."
    },
    "RuinTrade": {
      "properties": {
        "symbol": {
          "type": "string",
          "title": "Symbol"
        },
        "entry_time": {
          "type": "string",
          "title": "Entry Time"
        },
        "exit_time": {
          "type": "string",
          "title": "Exit Time"
        },
        "table_row": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Table Row"
        },
        "rows_shown": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rows Shown"
        }
      },
      "type": "object",
      "required": [
        "symbol",
        "entry_time",
        "exit_time"
      ],
      "title": "RuinTrade",
      "description": "The trade at which capital reached zero (Q-H1218). ruin_index counts trades in realisation (exit) order;\na trade table listed in entry order shows a different row at position N, so the trade is named, not only numbered."
    },
    "TradeItem": {
      "properties": {
        "symbol": {
          "type": "string",
          "title": "Symbol"
        },
        "direction": {
          "type": "string",
          "title": "Direction"
        },
        "entry_time": {
          "type": "string",
          "title": "Entry Time"
        },
        "exit_time": {
          "type": "string",
          "title": "Exit Time"
        },
        "entry_price": {
          "type": "number",
          "title": "Entry Price",
          "default": 0.0
        },
        "exit_price": {
          "type": "number",
          "title": "Exit Price",
          "default": 0.0
        },
        "pnl_pct": {
          "type": "number",
          "title": "Pnl Pct"
        },
        "pnl_usd": {
          "type": "number",
          "title": "Pnl Usd",
          "default": 0.0
        },
        "exit_reason": {
          "type": "string",
          "title": "Exit Reason"
        },
        "bars_held": {
          "type": "integer",
          "title": "Bars Held"
        },
        "mfe_pct": {
          "type": "number",
          "title": "Mfe Pct",
          "default": 0.0
        },
        "mae_pct": {
          "type": "number",
          "title": "Mae Pct",
          "default": 0.0
        }
      },
      "type": "object",
      "required": [
        "symbol",
        "direction",
        "entry_time",
        "exit_time",
        "pnl_pct",
        "exit_reason",
        "bars_held"
      ],
      "title": "TradeItem"
    },
    "YearlyStat": {
      "properties": {
        "year": {
          "type": "integer",
          "title": "Year"
        },
        "trades": {
          "type": "integer",
          "title": "Trades"
        },
        "wins": {
          "type": "integer",
          "title": "Wins"
        },
        "win_rate": {
          "type": "number",
          "title": "Win Rate"
        },
        "total_return_pct": {
          "type": "number",
          "title": "Total Return Pct"
        },
        "profit_factor": {
          "type": "number",
          "title": "Profit Factor"
        }
      },
      "type": "object",
      "required": [
        "year",
        "trades",
        "wins",
        "win_rate",
        "total_return_pct",
        "profit_factor"
      ],
      "title": "YearlyStat",
      "description": "Per-year performance breakdown."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pruviq-com-backtest-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.