Raw schema
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 24,
"description": "Yahoo-style ticker, such as \"AAPL\". Also accepted: BRK-B, EUR/USD or EURUSD, BTC-USD or BTCUSD, GOLD (GC=F), SPX. Turn a company name into its ticker first: Apple is AAPL."
},
"timeframe": {
"type": "string",
"enum": [
"5m",
"15m",
"1h",
"1d",
"1w"
],
"description": "5m, 15m, 1h, 1d (default) or 1w"
},
"indicators": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "string",
"enum": [
"sma",
"ema",
"rsi",
"macd",
"bollinger",
"atr",
"stochastic",
"vwap"
]
},
"description": "Up to 4 of sma, ema, rsi, macd, bollinger, atr, stochastic, vwap. Volume is always drawn. Defaults to sma and rsi when omitted."
},
"periods": {
"type": "object",
"description": "Lookback per indicator, in bars, such as {\"sma\": 50}. A period applies only when its indicator is in indicators. MACD stays 12, 26, 9 and VWAP has no length, so neither has an entry.",
"properties": {
"sma": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "20 bars by default. Used only when sma is in indicators; ignored otherwise."
},
"ema": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "20 bars by default. Used only when ema is in indicators; ignored otherwise."
},
"rsi": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "14 bars by default. Used only when rsi is in indicators; ignored otherwise."
},
"bollinger": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "20 bars by default. Used only when bollinger is in indicators; ignored otherwise."
},
"atr": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "14 bars by default. Used only when atr is in indicators; ignored otherwise."
},
"stochastic": {
"type": "integer",
"minimum": 2,
"maximum": 100,
"description": "14 bars by default. Used only when stochastic is in indicators; ignored otherwise."
}
},
"additionalProperties": false
},
"theme": {
"type": "string",
"enum": [
"dark",
"light"
],
"description": "dark (default) or light"
}
},
"required": [
"symbol"
],
"additionalProperties": false
}