• Joined on 2026-10-06
chenht pushed to main at chenht/xuanlong-future 2026-12-03 21:22:08 +08:00
f108ee6411 测试信号走批次+回执(与真实信号同链路,每台测试机一条批次,push_type=test);推送统计增加触达状态(已触达/等待回执/超时未回执/失败)、送达延迟、后端延迟(K线收盘→发出);管理页同步展示;附测试
chenht pushed to main at chenht/xuanlong-future 2026-12-03 14:09:32 +08:00
1193ba9ded 推送改版三项(用户要求):①失败不重试但记录极光返回原因(push_batches.error/push_log.error) ②每轮扫描每用户只发一条聚合推送,正文列出本轮全部信号点,避免短时连推触发极光频控 ③push_batches批次表+receipt_token,客户端收到回执上报,后台新增推送收发统计(发送/成功/失败/回执/到达率)
chenht pushed to main at chenht/xuanlong-future 2026-12-02 23:20:33 +08:00
099f09511d 修复设备注册SQL占位符数量错误(8占位/7参数,生产上注册必失败且客户端静默);jpush_rid空值不再覆盖已有地址(启动时极光未分配RID会清空推送地址)
c65dd9b771 修复专属测试机500:sqlite3.Row无.get()方法,改下标访问;测试改用真实Row造数据覆盖该差异
39b240fc64 专属测试机:测试信号只发给标记设备,旧版收不到(devices.is_tester列;客户端构建注入XL_TESTER=1才上报;不指定时不再发给全部设备);版本升至1.4.6+17(测试版,不上传生产分发)
Compare 3 commits »
chenht pushed to main at chenht/xuanlong-future 2026-11-25 14:04:52 +08:00
4629367dfe 判定层拆分封根前/封根后两条独立通道(classify_signals纯函数):未定型K不进正式判定、不推进checkpoint;盘中命中出封根前提醒且divergence_time用最终封根时间;同一封根点只出一条;封根后独立再报正式信号;本轮新封根的K收场其封根前提醒(复现/未复现);附8项测试
3475714afe 交易时段表+合成输出预期封根时间:sessions.py按用户提供的交易所时段表建六组(A无夜盘/B夜盘23:00/C到01:00/D到02:30/E股指/F国债),与生产85品种15m根数核对80个完全一致;synthesize_traded每根K新增expected_close/is_closed(盘中未满组的dt是临时标签,11:30→13:45每轮漂移,expected_close恒为最终封根点;当日真正尾根视为已定型);修ALL9被rstrip错分为豆一;附31项测试
Compare 2 commits »
chenht pushed to main at chenht/xuanlong-future 2026-11-24 23:35:47 +08:00
99e245509b 合成不再剔除零成交平线K:用户确认通达信对开盘=收盘的K(含四价全等零成交平线)照画不跳根;旧is_phantom_bar按v=0且o=c剔除共4340根(BBL9/RSL9/WRL9为主),致其后封根错位、全平线交易日一根不出;每根15m均计数;附回归测试
chenht pushed to main at chenht/xuanlong-future 2026-11-24 23:18:28 +08:00
207d1cb4a5 30分钟合成改为与90/120同规则(交易分钟流上15m每2根封根,休息不计时但累计不中断,跨日重置):旧时钟取整把10:15并入10:30根致每根OHLC错位、红蓝与通达信不一致;30m改全量先清后插(原仅写尾120根致指标种子过浅)
chenht pushed to main at chenht/xuanlong-future 2026-11-24 22:48:59 +08:00
4dffdf2a69 refresh_derived改先清后插:合成尾段短K随轮次漂移,INSERT OR REPLACE致旧短行永久残留污染90m/120m桶(每轮一根15m间隔脏行,o=会话开盘v=累计量,即App封根错乱根因)
chenht pushed to main at chenht/xuanlong-future 2026-11-24 10:08:34 +08:00
868f43aed9 版本升至1.4.5+16:备选通道改为IP:80标准端口(蜂窝网络3003被拦时的兜底,nginx按Host精确匹配不影响其他站点)
chenht pushed to main at chenht/xuanlong-future 2026-11-24 01:18:59 +08:00
752e5d6bf2 推送旧信号闸门:divergence_time距今>30分钟的pending通知置skipped不弹推送(补扫/宕机追赶批量产出的历史信号只留App列表可见)
chenht pushed to main at chenht/xuanlong-future 2026-11-24 00:56:52 +08:00
3da3737069 scan_bd预热期崩溃修复:COND_A路径证据格式化ma35[i]无None防护(MA35前34根为None),缓存窗口早期K线的SELLCOND+COND_A信号触发即TypeError致整轮判定失败(慢性errors根源);证据None显示占位'—';附生产SSL9 90m真实数据回归测试
chenht pushed to main at chenht/xuanlong-future 2026-11-24 00:50:00 +08:00
83a49c922a 判定/刷新失败日志升级为完整traceback
chenht pushed to main at chenht/xuanlong-future 2026-11-24 00:41:45 +08:00
c800b32b1d 扫描器失败点加日志:refresh/判定异常此前静默吞掉(errors计数无细节),无法定位慢性errors来源
chenht pushed to main at chenht/xuanlong-future 2026-11-23 23:32:09 +08:00
995e1a07f4 TDX挂死防护:CLOSE-WAIT连接的recv会阻塞不抛异常,共享锁被占致整轮扫描永久卡死(今夜生产事故,23:31轮次缺失);改为独立线程+硬超时执行请求,超时弃线换连接;连接交换锁不再跨网络IO持有,消除锁死链
chenht pushed to main at chenht/xuanlong-future 2026-11-23 23:23:05 +08:00
e1bd0b35b3 CLAUDE.md:记录15m合成源常刷新教训与日线交易日定型口径(15:00)
chenht pushed to main at chenht/xuanlong-future 2026-11-23 23:19:14 +08:00
b3ae6ae039 日线定型口径修正:TDX按交易日标注,标签D的日线=D前夜夜盘+D白盘,D天15:00定型(实证:夜盘中形成中的日线标签为次一交易日且开盘=当晚夜盘首根开盘);旧自然日口径23:00/贵金属02:30致日线信号系统性迟到8小时,删NIGHT_TILL_0230特判
chenht pushed to main at chenht/xuanlong-future 2026-11-23 21:46:32 +08:00
93c61fde9a 修复合成周期停更:15m作为30m/90m/120m合成源必须在每轮扫描先刷新(PERIODS移除15m判定后遗漏,缓存冻结致三周期停更)
chenht pushed to main at chenht/xuanlong-future 2026-11-23 21:32:15 +08:00
5bbebe326c 状态常驻通知:通知级VISIBILITY_PUBLIC(锁屏隐藏模式可见);版本升至1.4.4+15
614186bf2c 修复updatePersistentStatus缺context参数编译错误
435dc88933 状态常驻通知(4/4c):登录态自动启停+设置页开关
26fbc4aae5 状态常驻通知(4/4b):信号到达原生更新常驻状态并即时刷新
5ed2b1bc70 状态常驻通知(4/4a):轮询完成后写入常驻状态文本
Compare 9 commits »
chenht pushed to main at chenht/xuanlong-future 2026-11-23 21:10:53 +08:00
6c7d04109b 设计文档:状态常驻通知(前台服务specialUse,推送驱动+15分兜底刷新,一行摘要,默认开启)
chenht pushed to main at chenht/xuanlong-future 2026-11-23 20:03:38 +08:00
9c1fbd0a82 测试信号改为纯测试推送:不读写行情K线/信号表,直接走真实闹钟链路(JPush message+signal_alarm extras)发【测试】文案到已注册设备(kind=test);管理台返回极光应答并在失败时提示;客户端闹钟文案识别test=测试信号;版本升至1.4.3+14
chenht pushed to main at chenht/xuanlong-future 2026-11-23 19:57:12 +08:00
4864f76a10 管理台错误可视化:全局未处理Promise异常弹toast(按钮点击失败此前静默无反应,无法定位原因)