removedInput schema / properties / run / properties
Removed value: -{
- "data": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "type": "string"
- },
- "interval": {
- "enum": [
- "1min",
- "5min",
- "15min",
- "30min",
- "1hour"
- ],
- "type": "string"
- },
- "source": {
- "enum": [
- "price-api",
- "intraday-api"
- ],
- "type": "string"
- },
- "start": {
- "type": "string"
- },
- "tickers": {
- "items": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "tickers",
- "start",
- "end",
- "source"
- ],
- "type": "object"
- },
- "money": {
- "additionalProperties": false,
- "properties": {
- "benchmark": {
- "const": "SPY",
- "default": "SPY",
- "type": "string"
- },
- "capital": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "capital"
- ],
- "type": "object"
- },
- "series": {
- "default": [],
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "field": {
- "enum": [
- "open",
- "high",
- "low",
- "close",
- "volume"
- ],
- "type": "string"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "price",
- "type": "string"
- },
- "ticker": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "ticker",
- "field",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "observations",
- "type": "string"
- },
- "points": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "knownAt": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "observedAt": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "value": {
- "type": "number"
- }
- },
- "required": [
- "observedAt",
- "knownAt",
- "value"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "op",
- "points",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Running sum, high, low, or first value since the session start. With bars, only the first bars of each session count; the value is null until they finish, then held for the rest of the session.",
- "properties": {
- "agg": {
- "enum": [
- "sum",
- "high",
- "low",
- "first"
- ],
- "type": "string"
- },
- "bars": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "session",
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "agg",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "lag",
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "enum": [
- "average",
- "high",
- "low",
- "sum",
- "change",
- "stddev"
- ],
- "type": "string"
- },
- "window": {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "window",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "alpha": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "smooth",
- "type": "string"
- },
- "window": {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "window",
- "alpha",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "left": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "op": {
- "enum": [
- "add",
- "subtract",
- "multiply",
- "ratio",
- "min",
- "max"
- ],
- "type": "string"
- },
- "right": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "id",
- "op",
- "left",
- "right",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "rank",
- "type": "string"
- },
- "order": {
- "enum": [
- "ascending",
- "descending"
- ],
- "type": "string"
- },
- "peers": {
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "peers",
- "order",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "A level that moves only one way. Up: the larger of input and its own prior value, and it restarts at input after the prior price closes below it. Down is the reverse. Use it for Supertrend style bands.",
- "properties": {
- "direction": {
- "enum": [
- "up",
- "down"
- ],
- "type": "string"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "ratchet",
- "type": "string"
- },
- "price": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "price",
- "direction",
- "lag"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Swing high or low of input: a value beyond the span values before it and not passed by the span values after it. Known only span bars later. back 0 is the latest swing, 1 the one before. read returns another series at that swing bar.",
- "properties": {
- "back": {
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "high",
- "low"
- ],
- "type": "string"
- },
- "lag": {
- "minimum": 0,
- "type": "integer"
- },
- "op": {
- "const": "pivot",
- "type": "string"
- },
- "read": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "span": {
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "op",
- "input",
- "kind",
- "span",
- "back",
- "lag"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "signals": {
- "default": [],
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "left": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "op": {
- "enum": [
- "above",
- "below",
- "crossAbove",
- "crossBelow"
- ],
- "type": "string"
- },
- "right": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "id",
- "op",
- "left",
- "right"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "inputs": {
- "items": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "op": {
- "enum": [
- "and",
- "or"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "inputs"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "input": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "op": {
- "const": "not",
- "type": "string"
- }
- },
- "required": [
- "id",
- "op",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "field": {
- "enum": [
- "month",
- "day",
- "firstSessionOfMonth",
- "utcMinute"
- ],
- "type": "string"
- },
- "id": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "op": {
- "const": "calendar",
- "type": "string"
- },
- "values": {
- "items": {
- "minimum": 0,
- "type": "integer"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "id",
- "op",
- "field",
- "values"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "simulation": {
- "additionalProperties": false,
- "properties": {
- "allocation": {
- "additionalProperties": false,
- "properties": {
- "targets": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ticker": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- },
- "weight": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- }
- ],
- "description": "A number, or a series read on the rebalance date. A series weight must be 0 to 1."
- },
- "when": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "when",
- "weight"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "when": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- }
- },
- "required": [
- "when",
- "targets"
- ],
- "type": "object"
- },
- "feeBps": {
- "default": 0,
- "maximum": 10000,
- "minimum": 0,
- "type": "number"
- },
- "fillTiming": {
- "enum": [
- "nextOpen",
- "nextClose"
- ],
- "type": "string"
- },
- "positions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "add": {
- "additionalProperties": false,
- "properties": {
- "distance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "maxUnits": {
- "exclusiveMinimum": 0,
- "minimum": 2,
- "type": "integer"
- }
- },
- "required": [
- "distance",
- "maxUnits"
- ],
- "type": "object"
- },
- "closeStopPct": {
- "exclusiveMinimum": 0,
- "maximum": 100,
- "type": "number"
- },
- "closeTargetPct": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "direction": {
- "enum": [
- "long",
- "short"
- ],
- "type": "string"
- },
- "enter": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "exit": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "option": {
- "additionalProperties": false,
- "properties": {
- "expiry": {
- "type": "string"
- },
- "premium": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "right": {
- "enum": [
- "call",
- "put"
- ],
- "type": "string"
- },
- "strike": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "right",
- "strike",
- "premium",
- "expiry"
- ],
- "type": "object"
- },
- "size": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "fraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- },
- "kind": {
- "const": "fraction",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "fraction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "distance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "kind": {
- "const": "risk",
- "type": "string"
- },
- "maxFraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- },
- "riskFraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- }
- },
- "required": [
- "kind",
- "riskFraction",
- "maxFraction",
- "distance"
- ],
- "type": "object"
- }
- ]
- },
- "stopDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "targetDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "ticker": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- },
- "trailDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ],
- "description": "Trailing stop: distance below the highest high since entry for a long, or above the lowest low for a short. It moves only in the trade's favor and applies from the next bar."
- }
- },
- "required": [
- "ticker",
- "direction",
- "enter",
- "size"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "sleeves": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "allocation": {
- "additionalProperties": false,
- "properties": {
- "targets": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ticker": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- },
- "weight": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- }
- ],
- "description": "A number, or a series read on the rebalance date. A series weight must be 0 to 1."
- },
- "when": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "when",
- "weight"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "when": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- }
- },
- "required": [
- "when",
- "targets"
- ],
- "type": "object"
- },
- "positions": {
- "default": [],
- "items": {
- "additionalProperties": false,
- "properties": {
- "add": {
- "additionalProperties": false,
- "properties": {
- "distance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "maxUnits": {
- "exclusiveMinimum": 0,
- "minimum": 2,
- "type": "integer"
- }
- },
- "required": [
- "distance",
- "maxUnits"
- ],
- "type": "object"
- },
- "closeStopPct": {
- "exclusiveMinimum": 0,
- "maximum": 100,
- "type": "number"
- },
- "closeTargetPct": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "direction": {
- "enum": [
- "long",
- "short"
- ],
- "type": "string"
- },
- "enter": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "exit": {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- "option": {
- "additionalProperties": false,
- "properties": {
- "expiry": {
- "type": "string"
- },
- "premium": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "right": {
- "enum": [
- "call",
- "put"
- ],
- "type": "string"
- },
- "strike": {
- "exclusiveMinimum": 0,
- "type": "number"
- }
- },
- "required": [
- "right",
- "strike",
- "premium",
- "expiry"
- ],
- "type": "object"
- },
- "size": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "fraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- },
- "kind": {
- "const": "fraction",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "fraction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "distance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "kind": {
- "const": "risk",
- "type": "string"
- },
- "maxFraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- },
- "riskFraction": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- }
- },
- "required": [
- "kind",
- "riskFraction",
- "maxFraction",
- "distance"
- ],
- "type": "object"
- }
- ]
- },
- "stopDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "targetDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- },
- "ticker": {
- "pattern": "^[A-Z0-9][A-Z0-9.-]{0,11}$",
- "type": "string"
- },
- "trailDistance": {
- "anyOf": [
- {
- "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
- "type": "string"
- },
- {
- "type": "number"
- }
- ],
- "description": "Trailing stop: distance below the highest high since entry for a long, or above the lowest low for a short. It moves only in the trade's favor and applies from the next bar."
- }
- },
- "required": [
- "ticker",
- "direction",
- "enter",
- "size"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "weight": {
- "exclusiveMinimum": 0,
- "maximum": 1,
- "type": "number"
- }
- },
- "required": [
- "weight"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "slippageBps": {
- "default": 0,
- "exclusiveMaximum": 10000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "fillTiming"
- ],
- "type": "object"
- },
- "version": {
- "const": 2,
- "type": "number"
- }
-}