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
+151 -151
View File
@@ -1,10 +1,31 @@
{
"timestamp": "2026-06-26 16:07",
"timestamp": "2026-06-29 16:11",
"analyses": [
{
"name": "丘钛科技",
"code": "01478",
"price": 5.99,
"sentiment": "positive",
"confidence": 0.57,
"brief": "丘钛科技5月手机摄像头模组销售数量增长39.4%。丘钛科技5月手机摄像头模组销售...",
"keywords": [
"汇顶科技",
"丘钛科技是公司的供应商之一",
"证券日报网讯",
"汇顶科技在互动平台回答投资者提问时表示",
"丘钛科技"
],
"news_count": 5,
"pos_count": 3,
"neg_count": 0,
"neu_count": 2,
"reason": "SL_dist=3.0% TP_dist=19.2%",
"priority": 1
},
{
"name": "紫金矿业",
"code": "601899",
"price": 25.1,
"price": 25.79,
"sentiment": "negative",
"confidence": 0.59,
"brief": "紫金矿业成交额超上一日全天。数据宝统计,截至14:10,紫金矿业成交额116.5...",
@@ -19,58 +40,142 @@
"pos_count": 0,
"neg_count": 2,
"neu_count": 3,
"reason": "SL_dist=19.6% TP_dist=3.3%",
"reason": "SL_dist=10.8% TP_dist=2.8%",
"priority": 1
},
{
"name": "中银香港",
"code": "02388",
"price": 45.48,
"sentiment": "neutral",
"name": "海博思创",
"code": "688411",
"price": 286.0,
"sentiment": "positive",
"confidence": 0.56,
"brief": "中银香港携泰国子行首批接入人民银行“数币达”平台。中银香港副总裁邢桂伟表示:“中...",
"brief": "储能概念震荡反弹海博思创涨超10%。储能概念盘中震荡反弹,海博思创涨超10%,德...",
"keywords": [
"中银香港携泰国子行首批接入人民银行",
"数币达",
"平台",
"中银香港副总裁邢桂伟表示",
"中银香港陈卫全"
"储能概念震荡反弹海博思创涨超",
"储能概念盘中震荡反弹",
"海博思创涨超",
"德业股份",
"海博思创等成立能源科技公司"
],
"news_count": 4,
"pos_count": 2,
"neg_count": 0,
"neu_count": 2,
"reason": "SL_dist=7.8% TP_dist=0.9%",
"priority": 1
},
{
"name": "中芯国际",
"code": "688981",
"price": 151.0,
"sentiment": "positive",
"confidence": 0.63,
"brief": "中芯国际成交额超150亿元。数据宝统计,截至14:42,中芯国际成交额150.1...",
"keywords": [
"中芯国际成交额超",
"亿元",
"数据宝统计",
"截至",
"逆市上升"
],
"news_count": 5,
"pos_count": 1,
"pos_count": 2,
"neg_count": 1,
"neu_count": 2,
"reason": "SL_dist=4.0% TP_dist=4.0%",
"priority": 1
},
{
"name": "建滔积层板",
"code": "01888",
"price": 83.41,
"sentiment": "positive",
"confidence": 0.7,
"brief": "建滔积层板获南向资金连续14天净买入。6月26日上榜的成交活跃股中,建滔积层板通...",
"keywords": [
"建滔积层板获南向资金连续",
"天净买入",
"日上榜的成交活跃股中",
"建滔积层板通过港股通渠道成交金额为",
"建滔积层板"
],
"news_count": 5,
"pos_count": 4,
"neg_count": 0,
"neu_count": 4,
"reason": "SL_dist=10.6% TP_dist=0.3%",
"neu_count": 1,
"reason": "SL_dist=2.4% TP_dist=14.4%",
"priority": 1
},
{
"name": "华恒生物",
"code": "688639",
"price": 16.63,
"sentiment": "negative",
"confidence": 0.6,
"brief": "实控人被刑拘华恒生物20CM跌停。今日早间,华恒生物20%开盘跌停,报17.12...",
"keywords": [
"华恒生物",
"龙虎榜数据",
"交易所",
"日公布的交易公开信息显示",
"华恒生物实控人被刑拘港股上市紧急叫停"
],
"news_count": 5,
"pos_count": 0,
"neg_count": 3,
"neu_count": 2,
"reason": "SL_dist=18.8% TP_dist=4.0%",
"priority": 1
},
{
"name": "宁德时代",
"code": "300750",
"price": 381.0,
"sentiment": "negative",
"confidence": 0.6,
"brief": "宁德时代成交额超150亿元。数据宝统计,截至14:16,宁德时代成交额151.1...",
"price": 392.36,
"sentiment": "neutral",
"confidence": 0.57,
"brief": "宁德时代成交额超100亿元。数据宝统计,截至11:04,宁德时代成交额100.7...",
"keywords": [
"股宁德时代盘中跌",
"现报",
"宁德时代成交额超",
"亿元",
"数据宝统计"
"数据宝统计",
"截至",
"宁德时代"
],
"news_count": 5,
"pos_count": 1,
"pos_count": 2,
"neg_count": 2,
"neu_count": 2,
"reason": "SL_dist=13.4% TP_dist=3.9%",
"neu_count": 1,
"reason": "SL_dist=4.5% TP_dist=2.9%",
"priority": 1
},
{
"name": "比亚迪股份",
"code": "01211",
"price": 63.32,
"sentiment": "neutral",
"confidence": 0.55,
"brief": "蒿慧杰叶牛平会见比亚迪股份有限公司董事长兼总裁王传福。人民财讯6月27日电,据西...",
"keywords": [
"蒿慧杰叶牛平会见比亚迪股份有限公司董事长兼总裁王传福",
"人民财讯",
"日电",
"据西安发布",
"摩根大通在比亚迪股份"
],
"news_count": 5,
"pos_count": 0,
"neg_count": 0,
"neu_count": 5,
"reason": "SL_dist=3.4% TP_dist=21.3%",
"priority": 1
},
{
"name": "腾讯控股",
"code": "00700",
"price": 411.8,
"price": 365.95,
"sentiment": "positive",
"confidence": 0.56,
"brief": "100家港股公司回购腾讯控股回购5.01亿港元。本次回购5.01亿港元的腾讯控股...",
"confidence": 0.57,
"brief": "106家港股公司回购腾讯控股回购5.01亿港元。本次回购5.01亿港元的腾讯控股...",
"keywords": [
"家港股公司回购腾讯控股回购",
"亿港元",
@@ -79,137 +184,32 @@
"腾讯控股午后涨超"
],
"news_count": 5,
"pos_count": 2,
"pos_count": 4,
"neg_count": 0,
"neu_count": 3,
"reason": "SL_dist=19.8% TP_dist=0.8%",
"priority": 1
},
{
"name": "模塑科技",
"code": "000700",
"price": 14.13,
"sentiment": "negative",
"confidence": 0.57,
"brief": "模塑科技:基于商业保密要求,公司不便透露与客户的具体合作信息。证券日报网讯6月1...",
"keywords": [
"机器人概念逆势拉升模塑科技",
"祥鑫科技双双涨停",
"机器人概念盘中逆势拉升",
"模塑科技涨停",
"模塑科技"
],
"news_count": 5,
"pos_count": 1,
"neg_count": 2,
"neu_count": 2,
"reason": "SL_dist=1.6% TP_dist=20.3%",
"priority": 1
},
{
"name": "法拉电子",
"code": "600563",
"price": 188.76,
"sentiment": "neutral",
"confidence": 0.55,
"brief": "法拉电子:2025年年度权益分派实施公告。证券日报网讯6月4日,法拉电子发布20...",
"keywords": [
"法拉电子",
"年年度权益分派实施公告",
"证券日报网讯",
"法拉电子发布",
"三季度订单充足生产处于满产状态"
],
"news_count": 5,
"pos_count": 0,
"neg_count": 0,
"neu_count": 5,
"reason": "SL_dist=9.7% TP_dist=1.0%",
"priority": 1
},
{
"name": "中国神华",
"code": "01088",
"price": 40.6,
"sentiment": "positive",
"confidence": 0.56,
"brief": "中国神华:5月商品煤产量同比下降4.1%。南财智讯6月17日电,中国神华公告,5...",
"keywords": [
"中国神华",
"向财务公司增资",
"亿元",
"公告称",
"国家能源集团财务公司股东中国神华参与公司增资获董事会批准公司增资合计"
],
"news_count": 5,
"pos_count": 2,
"neg_count": 0,
"neu_count": 3,
"reason": "SL_dist=18.5% TP_dist=1.7%",
"priority": 1
},
{
"name": "中际旭创",
"code": "300308",
"price": 1253.89,
"sentiment": "negative",
"confidence": 0.62,
"brief": "中际旭创成交额超100亿元。数据宝统计,截至09:48,中际旭创成交额102.3...",
"keywords": [
"中际旭创成交额超",
"亿元",
"数据宝统计",
"截至",
"中际旭创成交额达"
],
"news_count": 5,
"pos_count": 0,
"neg_count": 4,
"neu_count": 1,
"reason": "涨跌幅-5.25%",
"priority": 2
"reason": "SL_dist=1.9% TP_dist=4.9%",
"priority": 1
},
{
"name": "长飞光纤光缆",
"code": "06869",
"price": 250.6,
"sentiment": "negative",
"confidence": 0.58,
"brief": "港股光通信股走弱长飞光纤光缆跌超8%。截至发稿,长飞光纤光缆(06869.HK)...",
"keywords": [
"港股光通信股走弱长飞光纤光缆跌超",
"截至发稿",
"长飞光纤光缆",
"舜宇光学科技",
"港股人工智能股震荡走低长飞光纤光缆跌超"
],
"news_count": 5,
"pos_count": 0,
"neg_count": 5,
"neu_count": 0,
"reason": "涨跌幅-12.87%",
"priority": 2
},
{
"name": "丘钛科技",
"code": "01478",
"price": 6.84,
"name": "长芯博创",
"code": "300548",
"price": 253.19,
"sentiment": "positive",
"confidence": 0.57,
"brief": "丘钛科技5月手机摄像头模组销售数量增长39.4%。丘钛科技5月手机摄像头模组销售...",
"confidence": 0.62,
"brief": "长芯博创龙虎榜数据(6月15日)。长芯博创今日涨停,全天换手率9.65%,成交额...",
"keywords": [
"丘钛科技",
"月手机摄像头模组销售数量增长",
"月摄像头模组与激光雷达销量同比增",
"发布公告",
"公司摄像头模组与激光雷达销售数量合计"
"长芯博创",
"收购控股子公司少数股东股份实施完成",
"公告称",
"公司已完成收购控股子公司长芯盛",
"长芯博创成交额创上市以来新高"
],
"news_count": 5,
"pos_count": 3,
"pos_count": 4,
"neg_count": 0,
"neu_count": 2,
"reason": "涨跌幅-5.00%",
"priority": 2
"neu_count": 1,
"reason": "SL_dist=11.7% TP_dist=1.7%",
"priority": 1
}
],
"status": "ok",