Skip to content

    Vertical Spread

    verified

    Two-leg debit or credit spread on a single expiry.

    Verification note

    Mirrors internal strategy object used by Probability Engine and OptionsRobot deep-links.

    Example payload

    Realistic wire-shaped payload a conforming producer would emit. Validates against the schema above.

    {
      "ticker": "AAPL",
      "side": "CALL",
      "direction": "DEBIT",
      "expiry": "2026-09-19",
      "long_strike": 235,
      "short_strike": 245,
      "quantity": 5,
      "net_price": 3.85
    }

    JSON Schema

    draft/2020-12
    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "$id": "https://rebeltrade.com/options-schema/registry/strategies/vertical-spread@0.1.0",
      "type": "object",
      "required": [
        "ticker",
        "side",
        "expiry",
        "long_strike",
        "short_strike",
        "quantity"
      ],
      "properties": {
        "ticker": {
          "type": "string"
        },
        "side": {
          "enum": [
            "CALL",
            "PUT"
          ]
        },
        "direction": {
          "enum": [
            "DEBIT",
            "CREDIT"
          ]
        },
        "expiry": {
          "type": "string",
          "format": "date"
        },
        "long_strike": {
          "type": "number"
        },
        "short_strike": {
          "type": "number"
        },
        "quantity": {
          "type": "integer",
          "minimum": 1
        },
        "net_price": {
          "type": "number"
        }
      }
    }