changedInput schema / $schema
Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
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"
+}
changedInput schema / properties / lookback / description
Previous value: -"分析窗口大小(等分为左右两半各 10 根)"New value: +"背离检测分析窗口(K 线根数)"
removedInput schema / properties / rsiPeriod / description
Removed value: -"RSI 周期"
changedInput schema / properties / rsiPeriod / maximum
Previous value: -9007199254740991New value: +250
addedInput schema / properties / symbol
Added value: +{
+ "type": "string"
+}
removedInput schema / properties / values
Removed value: -{
- "description": "价格序列(收盘价)",
- "items": {
- "type": "number"
- },
- "minItems": 1,
- "type": "array"
-}
changedInput schema / required
Previous value: -[
- "values"
-]New value: +[
+ "symbol",
+ "interval"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "high1": {
+ "additionalProperties": false,
+ "properties": {
+ "index": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "value"
+ ],
+ "type": "object"
+ },
+ "high2": {
+ "additionalProperties": false,
+ "properties": {
+ "index": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "value"
+ ],
+ "type": "object"
+ },
+ "low1": {
+ "additionalProperties": false,
+ "properties": {
+ "index": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "value"
+ ],
+ "type": "object"
+ },
+ "low2": {
+ "additionalProperties": false,
+ "properties": {
+ "index": {
+ "type": "number"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "index",
+ "value"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "high1",
+ "high2",
+ "low1",
+ "low2"
+ ],
+ "type": "object"
+ },
+ "rsi": {
+ "additionalProperties": false,
+ "properties": {
+ "atHigh1": {
+ "type": "number"
+ },
+ "atHigh2": {
+ "type": "number"
+ },
+ "atLow1": {
+ "type": "number"
+ },
+ "atLow2": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "atHigh1",
+ "atHigh2",
+ "atLow1",
+ "atLow2"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "enum": [
+ "bearish",
+ "bullish",
+ "both",
+ "none"
+ ],
+ "type": "string"
+ },
+ "window": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "window",
+ "price",
+ "rsi"
+ ],
+ "type": "object"
+}