changedInput schema / $schema
Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
removedInput schema / properties / candles
Removed value: -{
- "description": "HLC K 线数组 [{high, low, close}]",
- "items": {
- "properties": {
- "close": {
- "type": "number"
- },
- "high": {
- "type": "number"
- },
- "low": {
- "type": "number"
- }
- },
- "required": [
- "high",
- "low",
- "close"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
-}
addedInput schema / properties / interval
Added value: +{
+ "enum": [
+ "1m",
+ "3m",
+ "5m",
+ "15m",
+ "30m",
+ "1h",
+ "2h",
+ "4h",
+ "6h",
+ "8h",
+ "12h",
+ "1d",
+ "3d",
+ "1w",
+ "1M"
+ ],
+ "type": "string"
+}
addedInput schema / properties / limit
Added value: +{
+ "default": 200,
+ "maximum": 1500,
+ "minimum": 2,
+ "type": "integer"
+}
removedInput schema / properties / period / description
Removed value: -"计算周期"
changedInput schema / properties / period / maximum
Previous value: -9007199254740991New value: +100
removedInput schema / properties / smoothingType
Removed value: -{
- "default": "EMA",
- "enum": [
- "EMA",
- "RMA",
- "SMA",
- "WMA",
- "WSMA"
- ],
- "type": "string"
-}
addedInput schema / properties / symbol
Added value: +{
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "candles"
-]New value: +[
+ "symbol",
+ "interval"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+}