{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodataapi-com/json-schema/cryptodataapi-com-long-short-ratio-response-schema.json",
  "title": "LongShortRatioResponse",
  "description": "Long/short ratio data.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodataapi-com-derivatives-api-openapi.yml#/components/schemas/LongShortRatioResponse",
  "properties": {
    "symbol": {
      "type": "string",
      "title": "Symbol"
    },
    "long_short_ratio": {
      "type": "number",
      "title": "Long Short Ratio",
      "default": 1.0
    },
    "long_account_pct": {
      "type": "number",
      "title": "Long Account Pct",
      "default": 50
    },
    "short_account_pct": {
      "type": "number",
      "title": "Short Account Pct",
      "default": 50
    },
    "top_trader_long_short_ratio": {
      "type": "number",
      "title": "Top Trader Long Short Ratio",
      "default": 1.0
    },
    "top_trader_long_pct": {
      "type": "number",
      "title": "Top Trader Long Pct",
      "default": 50
    },
    "history": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "History",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "symbol"
  ]
}