addedOutput schema / properties / indicators / items / oneOf
Added value: +[
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "sma",
+ "ema"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Moving average, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "period": {
+ "description": "Lookback in candles",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "period"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Moving average, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "rsi"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "RSI, from 0 to 100",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "period": {
+ "description": "Lookback in candles",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "period"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "RSI, from 0 to 100",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "atr"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Average true range, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "period": {
+ "description": "Lookback in candles",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "period"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Average true range, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "vwap"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Volume-weighted average price over all the given candles, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "Empty: VWAP has no setting",
+ "properties": {},
+ "required": [],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Volume-weighted average price over all the given candles, in the price unit",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "macd"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "histogram": {
+ "description": "MACD minus signal",
+ "type": "number"
+ },
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "macd": {
+ "description": "MACD line",
+ "type": "number"
+ },
+ "signal": {
+ "description": "Signal line",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "macd",
+ "signal",
+ "histogram"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "fast": {
+ "description": "Fast EMA length (12)",
+ "type": "integer"
+ },
+ "signal": {
+ "description": "Signal EMA length (9)",
+ "type": "integer"
+ },
+ "slow": {
+ "description": "Slow EMA length (26)",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "fast",
+ "slow",
+ "signal"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "histogram": {
+ "description": "MACD minus signal",
+ "type": "number"
+ },
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "macd": {
+ "description": "MACD line",
+ "type": "number"
+ },
+ "signal": {
+ "description": "Signal line",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "macd",
+ "signal",
+ "histogram"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "bollinger"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "lower": {
+ "description": "Lower band",
+ "type": "number"
+ },
+ "middle": {
+ "description": "Middle band (the SMA)",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "upper": {
+ "description": "Upper band",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "lower",
+ "middle",
+ "upper"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "deviations": {
+ "description": "Band width in standard deviations (2)",
+ "type": "integer"
+ },
+ "period": {
+ "description": "Lookback in candles",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "period",
+ "deviations"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "lower": {
+ "description": "Lower band",
+ "type": "number"
+ },
+ "middle": {
+ "description": "Middle band (the SMA)",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "upper": {
+ "description": "Upper band",
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "lower",
+ "middle",
+ "upper"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "indicator": {
+ "enum": [
+ "stochastic"
+ ],
+ "type": "string"
+ },
+ "latest": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "d": {
+ "description": "Stochastic %D, from 0 to 100",
+ "type": "number"
+ },
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "k": {
+ "description": "Stochastic %K, from 0 to 100",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "k",
+ "d"
+ ],
+ "type": "object"
+ },
+ "params": {
+ "description": "The settings used",
+ "properties": {
+ "dPeriod": {
+ "description": "%D length (3)",
+ "type": "integer"
+ },
+ "period": {
+ "description": "%K lookback in candles",
+ "type": "integer"
+ },
+ "slowing": {
+ "description": "%K smoothing (3)",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "period",
+ "slowing",
+ "dPeriod"
+ ],
+ "type": "object"
+ },
+ "series": {
+ "description": "The most recent values, oldest first, ending with latest",
+ "items": {
+ "description": "One value of the indicator at one candle",
+ "properties": {
+ "d": {
+ "description": "Stochastic %D, from 0 to 100",
+ "type": "number"
+ },
+ "index": {
+ "description": "Position of the candle, 0 is the oldest",
+ "type": "integer"
+ },
+ "k": {
+ "description": "Stochastic %K, from 0 to 100",
+ "type": "number"
+ },
+ "time": {
+ "description": "Time of the candle as given, or the ECB rate date; null when the candle had none",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "index",
+ "time",
+ "k",
+ "d"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "indicator",
+ "params",
+ "latest",
+ "series"
+ ],
+ "type": "object"
+ }
+]