SimulationRequest
시뮬레이션 요청 `extra="forbid"` — 모르는 필드는 **거부**한다(2026-09-20, Q-B97). 왜: 이 파일에 `extra` 선언이 한 줄도 없어서 Pydantic v2 기본값 `ignore` 가 적용돼 있었다. 그래서 `{"params": {...}}` 처럼 한 겹 감싸 보내면 **전 필드가 기본값으로 떨어지고 HTTP 200 에 전혀 다른 답**이 나갔다(실측 27배 차이). 호출자는 자기 입력이 버려진 걸 알 길이 없다 — 오답이 성공처럼 보인다. 사람에게도 나쁘지만 **에이전트에게 특히 나쁘다**: 사람은 화면 숫자가 이상하면 멈추지만, 프로그램은 200 을 받으면 그대로 인용한다. 회귀 위험은 켜기 전에 실측했다 — `/simulate` 를 부르는 프론트 4곳의 전송 키 합집합 13개가 **전부 이 모델의 필드**다(모델에만 있는 8개는 무관): SimulatorPage(자동실행) 13 · StrategyDemo 5 · TrustGapPanel 9 · simRequest 10 빌더의 커스텀 전략 본문(`...customSnapshot`)은 이 엔드포인트가 아니라 `/backtest` 로 간다 — 그쪽 모델은 이 변경의 범위가 아니다.
Properties
| Name | Type | Description |
|---|---|---|
| record_provenance | boolean | Capture actual engine/input hashes for a fresh registry-strategy execution; bypass result cache, retain compute limits |
| strategy | string | Strategy ID |
| direction | object | long | short | both (null = use strategy default) |
| sl_pct | number | Stop Loss % |
| tp_pct | number | Take Profit % |
| max_bars | integer | Max holding period (bars) |
| market_type | string | spot | futures |
| symbols | object | Specific symbols (null = use top_n) |
| symbol | object | Single-symbol alias for `symbols`. Auto-mapped (prevents silent ignore of a singular field). |
| top_n | object | Number of coins (null = top 50) |
| include_stablecoins | boolean | Include stablecoins (USDC, DAI…) in the top_n universe. Default false — ~0 volatility → empty backtests. Ignored when `symbols` is set (explicit picks always honored). |
| start_date | object | Backtest start date (YYYY-MM-DD) |
| end_date | object | Backtest end date (YYYY-MM-DD) |
| cutoff_utc | object | Only candles closed by this UTC instant; null = current closed hour. Does not freeze historical source revisions. |
| timeframe | string | Candle timeframe: 1H, 2H, 4H, 6H, 12H, 1D, 1W |
| compounding | boolean | True = reinvest profits (compound), False = fixed position size (simple) |
| avoid_hours | object | UTC hours to avoid entering trades (0-23). null = use strategy default |
| avoid_months | object | Months to avoid entering trades (1-12). null = no month filter |
| min_vol_regime | object | Minimum ATR ratio (current ATR / 14-period ATR MA) to allow entry. e.g., 0.7 = skip low-volatility periods. null = no filter |
| btc_trend_filter | boolean | If true, only allow LONG entries when BTC is above its 50-period SMA. Improves LONG edge in bull regimes. |
| fee_pct | object | Fee per side (0.0005 = 0.05%). None = use market_type default |
| leverage | number | Leverage multiplier for PnL calculation |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pruviq-com/json-schema/pruviq-com-simulation-request-schema.json",
"title": "SimulationRequest",
"description": "시뮬레이션 요청\n\n`extra=\"forbid\"` — 모르는 필드는 **거부**한다(2026-09-20, Q-B97).\n\n왜: 이 파일에 `extra` 선언이 한 줄도 없어서 Pydantic v2 기본값 `ignore` 가\n적용돼 있었다. 그래서 `{\"params\": {...}}` 처럼 한 겹 감싸 보내면 **전 필드가\n기본값으로 떨어지고 HTTP 200 에 전혀 다른 답**이 나갔다(실측 27배 차이).\n호출자는 자기 입력이 버려진 걸 알 길이 없다 — 오답이 성공처럼 보인다.\n사람에게도 나쁘지만 **에이전트에게 특히 나쁘다**: 사람은 화면 숫자가 이상하면\n멈추지만, 프로그램은 200 을 받으면 그대로 인용한다.\n\n회귀 위험은 켜기 전에 실측했다 — `/simulate` 를 부르는 프론트 4곳의 전송 키\n합집합 13개가 **전부 이 모델의 필드**다(모델에만 있는 8개는 무관):\n SimulatorPage(자동실행) 13 · StrategyDemo 5 · TrustGapPanel 9 · simRequest 10\n빌더의 커스텀 전략 본문(`...customSnapshot`)은 이 엔드포인트가 아니라\n`/backtest` 로 간다 — 그쪽 모델은 이 변경의 범위가 아니다.",
"x-generated": "2026-11-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pruviq-com-openapi.json#/components/schemas/SimulationRequest",
"properties": {
"record_provenance": {
"type": "boolean",
"title": "Record Provenance",
"description": "Capture actual engine/input hashes for a fresh registry-strategy execution; bypass result cache, retain compute limits",
"default": false
},
"strategy": {
"type": "string",
"title": "Strategy",
"description": "Strategy ID",
"default": "bb-squeeze"
},
"direction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Direction",
"description": "long | short | both (null = use strategy default)"
},
"sl_pct": {
"type": "number",
"maximum": 50.0,
"minimum": 1.0,
"title": "Sl Pct",
"description": "Stop Loss %",
"default": 10.0
},
"tp_pct": {
"type": "number",
"maximum": 50.0,
"minimum": 1.0,
"title": "Tp Pct",
"description": "Take Profit %",
"default": 8.0
},
"max_bars": {
"type": "integer",
"maximum": 168.0,
"minimum": 1.0,
"title": "Max Bars",
"description": "Max holding period (bars)",
"default": 48
},
"market_type": {
"type": "string",
"enum": [
"futures",
"spot"
],
"title": "Market Type",
"description": "spot | futures",
"default": "futures"
},
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Symbols",
"description": "Specific symbols (null = use top_n)"
},
"symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Symbol",
"description": "Single-symbol alias for `symbols`. Auto-mapped (prevents silent ignore of a singular field)."
},
"top_n": {
"anyOf": [
{
"type": "integer",
"maximum": 535.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Top N",
"description": "Number of coins (null = top 50)"
},
"include_stablecoins": {
"type": "boolean",
"title": "Include Stablecoins",
"description": "Include stablecoins (USDC, DAI…) in the top_n universe. Default false — ~0 volatility → empty backtests. Ignored when `symbols` is set (explicit picks always honored).",
"default": false
},
"start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Date",
"description": "Backtest start date (YYYY-MM-DD)"
},
"end_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "End Date",
"description": "Backtest end date (YYYY-MM-DD)"
},
"cutoff_utc": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Cutoff Utc",
"description": "Only candles closed by this UTC instant; null = current closed hour. Does not freeze historical source revisions."
},
"timeframe": {
"type": "string",
"enum": [
"1H",
"2H",
"4H",
"6H",
"12H",
"1D",
"1W"
],
"title": "Timeframe",
"description": "Candle timeframe: 1H, 2H, 4H, 6H, 12H, 1D, 1W",
"default": "1H"
},
"compounding": {
"type": "boolean",
"title": "Compounding",
"description": "True = reinvest profits (compound), False = fixed position size (simple)",
"default": false
},
"avoid_hours": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Avoid Hours",
"description": "UTC hours to avoid entering trades (0-23). null = use strategy default"
},
"avoid_months": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Avoid Months",
"description": "Months to avoid entering trades (1-12). null = no month filter"
},
"min_vol_regime": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Min Vol Regime",
"description": "Minimum ATR ratio (current ATR / 14-period ATR MA) to allow entry. e.g., 0.7 = skip low-volatility periods. null = no filter"
},
"btc_trend_filter": {
"type": "boolean",
"title": "Btc Trend Filter",
"description": "If true, only allow LONG entries when BTC is above its 50-period SMA. Improves LONG edge in bull regimes.",
"default": false
},
"fee_pct": {
"anyOf": [
{
"type": "number",
"maximum": 0.01,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Fee Pct",
"description": "Fee per side (0.0005 = 0.05%). None = use market_type default"
},
"leverage": {
"type": "number",
"maximum": 125.0,
"minimum": 1.0,
"title": "Leverage",
"description": "Leverage multiplier for PnL calculation",
"default": 1.0
}
},
"additionalProperties": false,
"type": "object"
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/pruviq-com-simulation-request"
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.