CNY币种统一修复 — decisions.json所有价格字段统一CNY

问题:港股在decisions.json存HKD、portfolio.json存CNY,
报告交叉读取导致建滔积层板止损判断错位(CNY价vs HKD止损)。
修复:
price_monitor.refresh_data_prices() 每次拉价后,
对港股5位代码的全部价格字段(price/stop_loss/take_profit等)
及嵌套analysis/trigger字段,统一xHK_RATE→CNY
保证所有文件价格口径一致
This commit is contained in:
知微
2026-06-29 16:28:59 +08:00
parent 4bcc51f219
commit 1ad2c20493
7 changed files with 1508 additions and 782 deletions
+18 -18
View File
@@ -94,7 +94,7 @@
"date": "2026-06-29",
"high": 432.0,
"low": 411.0,
"close": 422.2
"close": 418.0
}
],
"00968": [
@@ -108,7 +108,7 @@
"date": "2026-06-29",
"high": 2.08,
"low": 1.97,
"close": 2.04
"close": 2.01
}
],
"00981": [
@@ -120,9 +120,9 @@
},
{
"date": "2026-06-29",
"high": 85.25,
"high": 85.8,
"low": 79.05,
"close": 84.15
"close": 84.6
}
],
"01070": [
@@ -136,7 +136,7 @@
"date": "2026-06-29",
"high": 13.0,
"low": 12.4,
"close": 12.9
"close": 13.0
}
],
"01088": [
@@ -150,7 +150,7 @@
"date": "2026-06-29",
"high": 41.48,
"low": 40.0,
"close": 41.3
"close": 41.1
}
],
"01211": [
@@ -164,7 +164,7 @@
"date": "2026-06-29",
"high": 75.55,
"low": 72.2,
"close": 73.35
"close": 72.75
}
],
"01478": [
@@ -178,7 +178,7 @@
"date": "2026-06-29",
"high": 7.17,
"low": 6.6,
"close": 6.92
"close": 6.98
}
],
"01888": [
@@ -192,7 +192,7 @@
"date": "2026-06-29",
"high": 103.5,
"low": 89.05,
"close": 96.55
"close": 96.3
}
],
"02202": [
@@ -220,7 +220,7 @@
"date": "2026-06-29",
"high": 52.45,
"low": 50.0,
"close": 52.05
"close": 51.85
}
],
"02359": [
@@ -234,7 +234,7 @@
"date": "2026-06-29",
"high": 154.6,
"low": 143.4,
"close": 153.8
"close": 151.7
}
],
"02388": [
@@ -247,8 +247,8 @@
{
"date": "2026-06-29",
"high": 46.3,
"low": 43.42,
"close": 43.66
"low": 43.38,
"close": 43.78
}
],
"02628": [
@@ -262,7 +262,7 @@
"date": "2026-06-29",
"high": 28.56,
"low": 26.7,
"close": 27.76
"close": 27.82
}
],
"06160": [
@@ -276,7 +276,7 @@
"date": "2026-06-29",
"high": 177.0,
"low": 164.7,
"close": 175.8
"close": 175.0
}
],
"06869": [
@@ -290,7 +290,7 @@
"date": "2026-06-29",
"high": 286.8,
"low": 227.2,
"close": 241.2
"close": 239.6
}
],
"09868": [
@@ -304,7 +304,7 @@
"date": "2026-06-29",
"high": 49.14,
"low": 45.32,
"close": 47.5
"close": 47.54
}
],
"09988": [
@@ -318,7 +318,7 @@
"date": "2026-06-29",
"high": 95.45,
"low": 88.65,
"close": 93.4
"close": 92.3
}
],
"300035": [