changedInput schema / properties / cards / items / properties / data / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "allOf": [
- {
- "additionalProperties": true,
- "properties": {
- "card": {
- "const": "payoff-compare",
- "type": "string"
- },
- "debit": {
- "type": "null"
- },
- "longPremium": {
- "type": "number"
- },
- "shortPremium": {
- "type": "number"
- }
- },
- "required": [
- "card",
- "longPremium",
- "shortPremium"
- ],
- "type": "object"
- },
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "t": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "v": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price/anyOf/0"
- }
- },
- "required": [
- "t",
- "v"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "type": "array"
- },
- "card": {
- "const": "price-chart",
- "type": "string"
- },
- "changePct": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "metrics": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "value": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "label",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "periodLabel": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "previousClose": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- {
- "type": "null"
- }
- ]
- },
- "price": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "strikes": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "side": {
- "enum": [
- "buy",
- "sell"
- ],
- "type": "string"
- },
- "strike": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "strike",
- "side"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "symbol": {
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "card",
- "symbol",
- "price",
- "changePct",
- "bars",
- "periodLabel",
- "metrics"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "watchlist",
- "type": "string"
- },
- "rows": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
- },
- {
- "type": "null"
- }
- ]
- },
- "changePct": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "name": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "note": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "price": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "priceUnit": {
- "enum": [
- "currency",
- "points"
- ],
- "type": "string"
- },
- "symbol": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "symbol",
- "price",
- "changePct",
- "note"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "warning": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "card",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "news",
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "publishedAt": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "publisher": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "tag": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "title": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "tone": {
- "anyOf": [
- {
- "enum": [
- "gain",
- "loss",
- "info",
- "wait"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "publisher",
- "title",
- "url"
- ],
- "type": "object"
- },
- "maxItems": 12,
- "minItems": 1,
- "type": "array"
- },
- "warning": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "card",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "strategy-diagram",
- "type": "string"
- },
- "contracts": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "debit": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "expiration": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "fees": {
- "minimum": 0,
- "type": "number"
- },
- "kind": {
- "enum": [
- "call",
- "put"
- ],
- "type": "string"
- },
- "longStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "multiplier": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "shortStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "underlyingPrice": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "card",
- "underlying",
- "kind",
- "longStrike",
- "shortStrike",
- "contracts",
- "multiplier",
- "fees",
- "expiration"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "payoff-compare",
- "type": "string"
- },
- "contracts": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/contracts"
- },
- "debit": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/debit"
- },
- "expiration": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
- },
- "fees": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/fees"
- },
- "kind": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/kind"
- },
- "longPremium": {
- "minimum": 0,
- "type": "number"
- },
- "longStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "multiplier": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "shortPremium": {
- "minimum": 0,
- "type": "number"
- },
- "shortStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "underlyingPrice": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/underlyingPrice"
- }
- },
- "required": [
- "card",
- "underlying",
- "kind",
- "longStrike",
- "shortStrike",
- "contracts",
- "multiplier",
- "fees",
- "expiration",
- "longPremium",
- "shortPremium"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "expiry-compare",
- "type": "string"
- },
- "decayBasis": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "holdingDays": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "rows": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "breakeven": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "daysLeft": {
- "minimum": 0,
- "type": "number"
- },
- "debit": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "decay": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
- },
- {
- "type": "null"
- }
- ]
- },
- "expiration": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
- },
- "thetaPerDay": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- }
- },
- "required": [
- "expiration",
- "daysLeft",
- "debit",
- "breakeven",
- "thetaPerDay"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "minItems": 2,
- "type": "array"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "card",
- "underlying",
- "holdingDays",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "option-chain",
- "type": "string"
- },
- "expiration": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
- },
- "kind": {
- "enum": [
- "call",
- "put"
- ],
- "type": "string"
- },
- "marketStatus": {
- "enum": [
- "open",
- "closed",
- "unknown"
- ],
- "type": "string"
- },
- "nextOpen": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "rows": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ask": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "bid": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "delta": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "last": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "openInterest": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- "selected": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/side"
- },
- {
- "type": "null"
- }
- ]
- },
- "strike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- }
- },
- "required": [
- "strike",
- "bid",
- "ask",
- "last",
- "delta",
- "openInterest"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "underlyingPrice": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- }
- },
- "required": [
- "card",
- "underlying",
- "kind",
- "expiration",
- "underlyingPrice",
- "marketStatus",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "broker": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "card": {
- "const": "broker-status",
- "type": "string"
- },
- "chainDetail": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "chainStatus": {
- "enum": [
- "found",
- "missing",
- "unknown"
- ],
- "type": "string"
- },
- "connection": {
- "enum": [
- "connected",
- "reconnect_required",
- "unknown"
- ],
- "type": "string"
- },
- "connectionDetail": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "marketStatus": {
- "enum": [
- "open",
- "closed",
- "unknown"
- ],
- "type": "string"
- },
- "mode": {
- "anyOf": [
- {
- "enum": [
- "live",
- "paper"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "nextOpen": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "pricesDetail": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "card",
- "broker",
- "connection",
- "connectionDetail",
- "chainStatus",
- "chainDetail",
- "marketStatus",
- "pricesDetail"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "strategy-problem",
- "type": "string"
- },
- "detail": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "observedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "strategyId": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "strategyName": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "subject": {
- "enum": [
- "bot",
- "backtest",
- "broker"
- ],
- "type": "string"
- }
- },
- "required": [
- "card",
- "strategyId",
- "strategyName",
- "subject",
- "status",
- "detail"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bars": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
- },
- "card": {
- "const": "setup-checklist",
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "state": {
- "enum": [
- "met",
- "unmet",
- "unknown"
- ],
- "type": "string"
- },
- "value": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "label",
- "state",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "levels": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "price": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "tone": {
- "enum": [
- "gain",
- "loss",
- "wait"
- ],
- "type": "string"
- }
- },
- "required": [
- "label",
- "price",
- "tone"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "notes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "text": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "tone": {
- "default": "info",
- "enum": [
- "loss",
- "info"
- ],
- "type": "string"
- }
- },
- "required": [
- "label",
- "text"
- ],
- "type": "object"
- },
- "maxItems": 2,
- "type": "array"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- }
- },
- "required": [
- "card",
- "underlying",
- "items",
- "bars",
- "levels",
- "notes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "accountValue": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "budgetPct": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "card": {
- "const": "risk-budget",
- "type": "string"
- },
- "contracts": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "maxLoss": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "card",
- "account",
- "accountValue",
- "maxLoss",
- "contracts",
- "budgetPct"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- {
- "type": "null"
- }
- ]
- },
- "approvalUrl": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/2/properties/items/items/properties/url"
- },
- {
- "type": "null"
- }
- ]
- },
- "card": {
- "const": "trade-ticket",
- "type": "string"
- },
- "contracts": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/contracts"
- },
- "debit": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/debit"
- },
- "expiration": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
- },
- "fees": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/fees"
- },
- "kind": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/kind"
- },
- "longPrice": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- {
- "type": "null"
- }
- ]
- },
- "longStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "mode": {
- "anyOf": [
- {
- "enum": [
- "live",
- "paper",
- "scenario"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "multiplier": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "note": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "priceBasis": {
- "enum": [
- "last",
- "mid",
- "unknown"
- ],
- "type": "string"
- },
- "reviewUrl": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/2/properties/items/items/properties/url"
- },
- {
- "type": "null"
- }
- ]
- },
- "shortPrice": {
- "anyOf": [
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
- },
- {
- "type": "null"
- }
- ]
- },
- "shortStrike": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
- },
- "state": {
- "enum": [
- "draft",
- "waiting",
- "ready"
- ],
- "type": "string"
- },
- "timeInForce": {
- "enum": [
- "day",
- "gtc"
- ],
- "type": "string"
- },
- "underlying": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
- },
- "underlyingPrice": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/underlyingPrice"
- }
- },
- "required": [
- "card",
- "underlying",
- "kind",
- "longStrike",
- "shortStrike",
- "contracts",
- "multiplier",
- "fees",
- "expiration",
- "state",
- "timeInForce",
- "note",
- "priceBasis"
- ],
- "type": "object"
- }
- ]
- }
- ]
- },
- {
- "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountValue": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "card": {
- "const": "debit-scenarios",
- "type": "string"
- },
- "contracts": {
- "default": 1,
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "debitPresets": {
- "items": {
- "minimum": 0,
- "type": "number"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "expiration": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "fees": {
- "default": 0,
- "minimum": 0,
- "type": "number"
- },
- "initialDebit": {
- "minimum": 0,
- "type": "number"
- },
- "kind": {
- "enum": [
- "call",
- "put"
- ],
- "type": "string"
- },
- "longStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "multiplier": {
- "default": 100,
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "shortStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "underlying": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "card",
- "underlying",
- "expiration",
- "kind",
- "longStrike",
- "shortStrike"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "card": {
- "const": "credit-scenarios",
- "type": "string"
- },
- "contracts": {
- "default": 1,
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "creditPresets": {
- "items": {
- "minimum": 0,
- "type": "number"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "expiration": {
- "$ref": "#/properties/cards/items/properties/data/anyOf/1/properties/expiration"
- },
- "fees": {
- "default": 0,
- "minimum": 0,
- "type": "number"
- },
- "initialCredit": {
- "minimum": 0,
- "type": "number"
- },
- "longCallStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "longPutStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "multiplier": {
- "default": 100,
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "shortCallStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "shortPutStrike": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "underlying": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "card",
- "underlying",
- "expiration",
- "longPutStrike",
- "shortPutStrike",
- "shortCallStrike",
- "longCallStrike"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "card": {
+ "const": "payoff-compare",
+ "type": "string"
+ },
+ "debit": {
+ "type": "null"
+ },
+ "longPremium": {
+ "type": "number"
+ },
+ "shortPremium": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "card",
+ "longPremium",
+ "shortPremium"
+ ],
+ "type": "object"
+ },
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "t": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "v": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price/anyOf/0"
+ }
+ },
+ "required": [
+ "t",
+ "v"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "type": "array"
+ },
+ "card": {
+ "const": "price-chart",
+ "type": "string"
+ },
+ "changePct": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "metrics": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "value": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "label",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "periodLabel": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "previousClose": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "strikes": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "side": {
+ "enum": [
+ "buy",
+ "sell"
+ ],
+ "type": "string"
+ },
+ "strike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "strike",
+ "side"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "symbol": {
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card",
+ "symbol",
+ "price",
+ "changePct",
+ "bars",
+ "periodLabel",
+ "metrics"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "watchlist",
+ "type": "string"
+ },
+ "period": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/1/properties/rows/items/properties/period"
+ },
+ "rows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "changePct": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "note": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "period": {
+ "enum": [
+ "today",
+ "week",
+ "month",
+ "ytd",
+ "year",
+ "five-years"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "priceUnit": {
+ "enum": [
+ "currency",
+ "points"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "changePct",
+ "note"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "warning": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "card",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "news",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "publishedAt": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "publisher": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "tag": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "title": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "tone": {
+ "anyOf": [
+ {
+ "enum": [
+ "gain",
+ "loss",
+ "info",
+ "wait"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "publisher",
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 12,
+ "minItems": 1,
+ "type": "array"
+ },
+ "warning": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "card",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "strategy-diagram",
+ "type": "string"
+ },
+ "contracts": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "debit": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "expiration": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "fees": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "enum": [
+ "call",
+ "put"
+ ],
+ "type": "string"
+ },
+ "longStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "multiplier": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "shortStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "underlyingPrice": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "kind",
+ "longStrike",
+ "shortStrike",
+ "contracts",
+ "multiplier",
+ "fees",
+ "expiration"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "payoff-compare",
+ "type": "string"
+ },
+ "contracts": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/contracts"
+ },
+ "debit": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/debit"
+ },
+ "expiration": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
+ },
+ "fees": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/fees"
+ },
+ "kind": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/kind"
+ },
+ "longPremium": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "longStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "multiplier": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "shortPremium": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "shortStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "underlyingPrice": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/underlyingPrice"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "kind",
+ "longStrike",
+ "shortStrike",
+ "contracts",
+ "multiplier",
+ "fees",
+ "expiration",
+ "longPremium",
+ "shortPremium"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "expiry-compare",
+ "type": "string"
+ },
+ "decayBasis": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "holdingDays": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "rows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "breakeven": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "daysLeft": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "debit": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "decay": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "expiration": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
+ },
+ "thetaPerDay": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ }
+ },
+ "required": [
+ "expiration",
+ "daysLeft",
+ "debit",
+ "breakeven",
+ "thetaPerDay"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 2,
+ "type": "array"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "holdingDays",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "option-chain",
+ "type": "string"
+ },
+ "expiration": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
+ },
+ "kind": {
+ "enum": [
+ "call",
+ "put"
+ ],
+ "type": "string"
+ },
+ "marketStatus": {
+ "enum": [
+ "open",
+ "closed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "nextOpen": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ask": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "bid": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "delta": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "last": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "openInterest": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ "selected": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/side"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "strike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ }
+ },
+ "required": [
+ "strike",
+ "bid",
+ "ask",
+ "last",
+ "delta",
+ "openInterest"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "underlyingPrice": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "kind",
+ "expiration",
+ "underlyingPrice",
+ "marketStatus",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "broker": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "card": {
+ "const": "broker-status",
+ "type": "string"
+ },
+ "chainDetail": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "chainStatus": {
+ "enum": [
+ "found",
+ "missing",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "connection": {
+ "enum": [
+ "connected",
+ "reconnect_required",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "connectionDetail": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "marketStatus": {
+ "enum": [
+ "open",
+ "closed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "anyOf": [
+ {
+ "enum": [
+ "live",
+ "paper"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "nextOpen": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pricesDetail": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "card",
+ "broker",
+ "connection",
+ "connectionDetail",
+ "chainStatus",
+ "chainDetail",
+ "marketStatus",
+ "pricesDetail"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "strategy-problem",
+ "type": "string"
+ },
+ "detail": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "observedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "strategyId": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "strategyName": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "subject": {
+ "enum": [
+ "bot",
+ "backtest",
+ "broker"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "card",
+ "strategyId",
+ "strategyName",
+ "subject",
+ "status",
+ "detail"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bars": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/bars"
+ },
+ "card": {
+ "const": "setup-checklist",
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "state": {
+ "enum": [
+ "met",
+ "unmet",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "label",
+ "state",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "levels": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "price": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "tone": {
+ "enum": [
+ "gain",
+ "loss",
+ "wait"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "price",
+ "tone"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "notes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "text": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "tone": {
+ "default": "info",
+ "enum": [
+ "loss",
+ "info"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "text"
+ ],
+ "type": "object"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "items",
+ "bars",
+ "levels",
+ "notes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "accountValue": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "budgetPct": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "card": {
+ "const": "risk-budget",
+ "type": "string"
+ },
+ "contracts": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "maxLoss": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "card",
+ "account",
+ "accountValue",
+ "maxLoss",
+ "contracts",
+ "budgetPct"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "approvalUrl": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/2/properties/items/items/properties/url"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "card": {
+ "const": "trade-ticket",
+ "type": "string"
+ },
+ "contracts": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/contracts"
+ },
+ "debit": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/debit"
+ },
+ "expiration": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/expiration"
+ },
+ "fees": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/fees"
+ },
+ "kind": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/kind"
+ },
+ "longPrice": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "longStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "mode": {
+ "anyOf": [
+ {
+ "enum": [
+ "live",
+ "paper",
+ "scenario"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "multiplier": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "note": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "priceBasis": {
+ "enum": [
+ "last",
+ "mid",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "reviewUrl": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/2/properties/items/items/properties/url"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "shortPrice": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/price"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "shortStrike": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/strikes/anyOf/0/items/properties/strike"
+ },
+ "state": {
+ "enum": [
+ "draft",
+ "waiting",
+ "ready"
+ ],
+ "type": "string"
+ },
+ "timeInForce": {
+ "enum": [
+ "day",
+ "gtc"
+ ],
+ "type": "string"
+ },
+ "underlying": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/0/properties/symbol"
+ },
+ "underlyingPrice": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1/anyOf/3/properties/underlyingPrice"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "kind",
+ "longStrike",
+ "shortStrike",
+ "contracts",
+ "multiplier",
+ "fees",
+ "expiration",
+ "state",
+ "timeInForce",
+ "note",
+ "priceBasis"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/0/anyOf/0/allOf/1"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountValue": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "card": {
+ "const": "debit-scenarios",
+ "type": "string"
+ },
+ "contracts": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "debitPresets": {
+ "items": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "expiration": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "fees": {
+ "default": 0,
+ "minimum": 0,
+ "type": "number"
+ },
+ "initialDebit": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "kind": {
+ "enum": [
+ "call",
+ "put"
+ ],
+ "type": "string"
+ },
+ "longStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "multiplier": {
+ "default": 100,
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "shortStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "underlying": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "expiration",
+ "kind",
+ "longStrike",
+ "shortStrike"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "card": {
+ "const": "credit-scenarios",
+ "type": "string"
+ },
+ "contracts": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "creditPresets": {
+ "items": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+ },
+ "expiration": {
+ "$ref": "#/properties/cards/items/properties/data/anyOf/1/properties/expiration"
+ },
+ "fees": {
+ "default": 0,
+ "minimum": 0,
+ "type": "number"
+ },
+ "initialCredit": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "longCallStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "longPutStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "multiplier": {
+ "default": 100,
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "shortCallStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "shortPutStrike": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "underlying": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card",
+ "underlying",
+ "expiration",
+ "longPutStrike",
+ "shortPutStrike",
+ "shortCallStrike",
+ "longCallStrike"
+ ],
+ "type": "object"
+ }
+]