{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/backquant-com/json-schema/backquant-com-expected-move-response-schema.json",
  "title": "ExpectedMoveResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/backquant-com-api-openapi.json#/components/schemas/ExpectedMoveResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "const": true,
      "title": "Success",
      "default": true
    },
    "data": {
      "$ref": "#/$defs/ExpectedMoveData"
    },
    "meta": {
      "$ref": "#/$defs/V2Meta"
    }
  },
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "$defs": {
    "ExpectedMoveData": {
      "properties": {
        "spot_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Spot Price"
        },
        "atm_iv": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Atm Iv"
        },
        "days_to_expiry": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Days To Expiry"
        },
        "expected_move_1sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Move 1Sd"
        },
        "expected_move_1sd_pct": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Move 1Sd Pct"
        },
        "expected_move_2sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Move 2Sd"
        },
        "expected_move_2sd_pct": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Move 2Sd Pct"
        },
        "upper_1sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Upper 1Sd"
        },
        "lower_1sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lower 1Sd"
        },
        "upper_2sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Upper 2Sd"
        },
        "lower_2sd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lower 2Sd"
        },
        "straddle_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Straddle Price"
        },
        "atm_iv_1d": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Atm Iv 1D",
          "description": "Front live expiry's ATM IV (decimal) behind the 1-day move."
        },
        "expected_move_1d": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Move 1D",
          "description": "spot x atm_iv_1d x sqrt(1/365)."
        },
        "upper_1d": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Upper 1D"
        },
        "lower_1d": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lower 1D"
        },
        "expiry_1d": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expiry 1D",
          "description": "The expiry `atm_iv_1d` came from."
        },
        "exchange_breakdown_1d": {
          "anyOf": [
            {
              "additionalProperties": {
                "type": "number"
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Exchange Breakdown 1D",
          "description": "Each venue's ATM IV (decimal) for `expiry_1d`; `exchanges=` averages these."
        },
        "ts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ts"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "ExpectedMoveData",
      "description": "`atm_iv` / `atm_iv_1d` are decimals (0.33 = 33%) on this endpoint."
    },
    "V2Meta": {
      "properties": {
        "version": {
          "type": "string",
          "const": "2.0",
          "title": "Version",
          "description": "API version tag."
        },
        "timestamp": {
          "type": "string",
          "title": "Timestamp",
          "description": "ISO 8601 wall-clock when the response was built."
        },
        "request_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Request Id",
          "description": "X-Request-ID for tracing across logs / Sentry."
        },
        "symbol": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Symbol",
          "description": "Symbol the response is about, if applicable."
        },
        "spot_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Spot Price",
          "description": "Current spot price for the symbol."
        },
        "computed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Computed At",
          "description": "ISO 8601 of when the underlying cache value was last written."
        },
        "freshness_seconds": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Freshness Seconds",
          "description": "`now - computed_at` in seconds; useful for staleness alarms."
        },
        "source": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source",
          "description": "Upstream venue list the data flowed through."
        },
        "exchanges_filtered": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Exchanges Filtered",
          "description": "Echo of the `?exchanges=` filter when one was applied."
        },
        "rate_limit": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rate Limit",
          "description": "`{limit, remaining, reset}` echo of the rate-limit headers."
        },
        "extra": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Extra",
          "description": "Open dict for endpoint-specific metadata (filter_hash, etc.)."
        }
      },
      "type": "object",
      "required": [
        "version",
        "timestamp"
      ],
      "title": "V2Meta",
      "description": "The meta block returned alongside every v2 response.\n\nEvery field after `version`/`timestamp` is optional because endpoints\nattach different combinations - e.g. `/v2/status` skips `symbol`, the\nchain endpoint sets `extra.filter_hash`, etc. Listing them here means\nSDKs get a typed accessor for each instead of a generic `meta: dict`."
    }
  }
}