完成综合分与聪明资金分分阶段阈值标定

This commit is contained in:
baobao 2026-10-28 16:47:58 +08:00
parent b2148a1901
commit bf2cce4d2c
29 changed files with 74014 additions and 0 deletions

View File

@ -2487,3 +2487,12 @@ QMT仍有序号缺口,16:23确认1441965、最高1442003、暂存32条。16:24
动了哪些文件:新增docs/微盘轮动每日复核_2026-10-28.md及evidence/micro50_daily_20261028.json,阶段接续追加最新入口。验证在155运行容器中只读完成,开发机核对证据关系、链接和git diff --check;无代码变更,不跑无关业务回归。
部署方式与边界:未部署,155镜像及私有工作树保留,188未操作。本地已进入用户的另一研究分支,其他提交和既有未提交改动均保留。未判收项仍是新版本自然冻结、完整微盘入退场及实际成交容量;本轮数据未齐已留痕,既有复核继续。
## 2026-10-28 综合分与聪明资金分分阶段标定
北京时间16:45,完成用户指定150/factordb评分表的只读导出与离线研究。按三参数标定形式冻结9档总分、9档聪明资金分及1至10交易日,合计810组;共同信号区间2025年1月2日至2026年9月30日,行情截至10月23日。报告与完整结果在`research/signal_scores_20261028/`,接续见`docs/综合分与聪明资金分标定接续_2026-10-28.md`。
每边30基点下,810组2026年平均单批净收益均为负。预设0.8/0.7/5日账户2026收益−21.77%、最大回撤−25.73%;只筛smart≥0.7为−21.12%。2025训练选出的smart≥0.8、2日方案为−38.66%,分阶段方案为−35.24%。阶段判断对沪深300或中证2000分类敏感;没有将任何研究参数写入运行系统。
开发机9项配置隔离、断网测试通过;3个逐笔账户重建最大误差5.22e-14,36条账户现金守恒通过,10种持有期训练截断复算一致,旧热度基线全路径复现。4幅研究图已检查。源表没有历史入库时刻或版本号,支持覆盖旧值,因此只称现存历史评分回放;缺评分日、缺历史资格和期末残仓已披露。待补不可覆盖快照、历史可用时间、完整退市与实际成交容量证据。未改应用代码、未部署或重建线上容器。

View File

@ -8,6 +8,7 @@
| --- | --- |
| 当前微盘接入、参数和运行待办 | [阶段接续与实验意见](微盘轮动阶段接续_2026-10-28.md);需要部署证据再读[50股发布记录](微盘轮动50股参数发布_2026-10-28.md) |
| 全市场热度、涨跌幅与持有期标定 | [热度策略研究接续](全市场热度四维标定接续_2026-10-28.md),含回填限制、参数结果和复现入口 |
| 综合分与聪明资金分阈值及市场阶段比较 | [评分策略研究接续](综合分与聪明资金分标定接续_2026-10-28.md),含810组结果、历史版本限制和复现入口 |
| PMS通用迁移与既有修复 | [开发接续](开发接续_2026-10-12.md),按主题查对应节;旧时点未完成项可能已有后续结论 |
| 架构与接口 | [README模块地图](../README.md)、[总体设计](../POSITION_MGMT_DESIGN.md);改接口再读[QMT协议](../QMT_WS_PROTOCOL.md)、[bionic接口](../BIONIC_PMS_INTERFACE.md)或[计划接口](../UPSTREAM_PLAN_API.md) |
| 后端、前端、测试、研究 | [后端规则](../app/AGENTS.md)、[页面规则](../app/web/AGENTS.md)、[脚本规则](../scripts/AGENTS.md)、[研究规则](../research/AGENTS.md),仅选择所涉及目录 |

View File

@ -0,0 +1,31 @@
# 综合分与聪明资金分标定接续
核验时间:北京时间2026年10月28日16:45。当前状态:首轮离线实验完成,未修改生产代码、运行参数、持仓或服务。只读访问用户指定的150上factordb,复用原全市场行情缓存。155和188均未部署。
## 结果入口
完整报告:[综合分与聪明资金分三维标定](../research/signal_scores_20261028/综合分与聪明资金分三维标定.md)。包含完整阈值矩阵、年份及阶段比较、训练选参、费用和成交时序敏感性,以及复现命令。
实验目录为`research/signal_scores_20261028/`。协议在2026年10月28日16:23冻结,扫描9档total_score下限、9档smart_score下限、1至10交易日,合计810组。评分原始覆盖2024年12月24日至2026年10月27日,共2,284,207行;共同信号窗口2025年1月2日至2026年9月30日,退出及估值行情截至10月23日。
## 当前判断
每边30基点的假设下,810组在2026年整体的平均单批净收益均为负。该指标不是每笔收益,也不是810组都运行了完整资金账户。36条资金账户中,预设总分≥0.8、聪明资金分≥0.7、持有5日的2026收益为−21.77%,最大回撤−25.73%;只筛聪明资金分≥0.7、持有5日为−21.12%。提高总分门槛没有单调改善结果。
按沪深300滞后趋势分类,基线在2026年上涨阶段相对无门槛每批改善0.340个百分点,下跌阶段落后0.085个百分点、震荡阶段落后0.199个百分点。改用中证2000后,下跌阶段的判断改变,暂不能认定稳定阶段规则。
2025年选出的全局参数是总分不设门槛、聪明资金分≥0.8、持有2日,2026账户收益−38.66%;分阶段训练参数账户为−35.24%。选择针对相对超额,训练胜出不等于绝对盈利。2026行情已在之前研究中使用,本轮时间切分不是从未见过的独立验证。
## 可信边界与未完成事项
源表没有首次入库时刻或版本号,写入逻辑可以覆盖旧日期;当前开发机评分公式也不能证明所有历史日使用相同版本。全部结果只能称为现存历史分数回放。后续需要不可覆盖的日评分快照和可用时间证据,不能在本轮伪补时间。
2026年3月19日整日评分缺失,统一不开新批次。缺上市日期78只、缺历史名称3536个股票日,均排除;行情补缺12条沿用此前已核验修复。历史退市覆盖仍不完整。基线末日尚有1个无法退出的批次,长期缺价按原规则估值0,不等于真实清仓。计划持有期最高10日,受阻卖出可超过10日。
仍未完整处理整手、最低佣金、开盘容量和实际资金规模。没有生成或执行任何生产参数变更。下一轮若增加涨跌幅、持股数量、费用或其他筛选,应另冻结协议,保留本轮反例和对照。
## 验证与恢复
开发机通过9项内存测试,使用`unit_test_guard`隔离配置并禁止联网。3个账户独立逐笔重建,最大误差5.22e-14;36条账户现金守恒通过。10种持有期真正截断到2025年末后,训练结果和原完整回测一致。上一轮热度基线完整逐日复现。4幅图已检查中文、单位与图例,报告链接与结果摘要可核验。
原始数据与面板缓存不入Git,保留在研究目录raw/、cache/及原宏观研究缓存。所有源文件摘要在coverage.json,交付物摘要在manifest.json。若上游重算旧分数,重新下载可能不能复现本次实验,需要保留原始快照。连接凭据仅由`SIGNAL_RESEARCH_PG_DSN`环境注入,脚本登记SECRET_KEYS,不将凭据写入文件或日志。

View File

@ -0,0 +1,3 @@
raw/
cache/
__pycache__/

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
name,period,lag_extra,fee_bps,return,max_drawdown,fees_initial_capital,buy_count,sell_count,skipped_buy,delayed_lots,ending_cash,ending_stock_value,open_lots,max_stock_weight,max_positions,max_stale_valuation,mean_exposure
unfiltered,full,0,30,-0.13684964211706263,-0.2939760843631406,0.5325455360059504,2075942,2075929,6416,4637,0.8630450923492377,0.00010526553369969617,13,0.00034164942866756707,4977,0.07596866441776703,0.970162270993651
unfiltered,full,0,60,-0.47941230351401476,-0.5111325253769492,0.839173085966401,2075942,2075929,6416,4637,0.5205240533995468,6.364308643844543e-05,13,0.0003420154298837737,4977,0.05928800837674188,0.9703619614039415
unfiltered,test,0,30,-0.23369409860308699,-0.29397887463565464,0.19532526846205428,882704,882691,2688,2053,0.7662124465324724,9.345486444056236e-05,13,0.00032974379329844193,4977,0.04625181398047329,0.9352590457731141
unfiltered,test,0,60,-0.38205202933716453,-0.40676757532341423,0.3535827761788622,882704,882691,2688,2053,0.6178724250508726,7.554561196283583e-05,13,0.00032981176023965926,4977,0.0446274049416882,0.935442310599297
total_only,full,0,30,-0.11401107130769128,-0.2690600556322772,0.5430281561519229,420929,420927,1573,1017,0.8859889286923087,0.0,2,0.001530745385640883,2993,0.07972569525609675,0.9759420469227746
total_only,full,0,60,-0.46537911020912215,-0.5105843449778673,0.8539093429839826,420929,420927,1573,1017,0.5346208897908779,0.0,2,0.0015310215431549228,2993,0.06225948814331286,0.9761465346384486
total_only,test,0,30,-0.23265367076310173,-0.26916477870032696,0.19795648043157582,179216,179214,638,428,0.7673463292368983,0.0,2,0.0015032195312828936,2993,0.05399827063707345,0.9490446721141391
total_only,test,0,60,-0.38111037298342554,-0.40878905083124495,0.3580011289837301,179216,179214,638,428,0.6188896270165745,0.0,2,0.0015034348884878576,2993,0.047467890531910445,0.9492385280101923
smart_only,full,0,30,-0.06023865261199057,-0.25351006453358493,0.5654932439786944,453981,453980,1382,1130,0.9397613473880094,0.0,1,0.0014981751932949495,3151,0.08104438380966775,0.9768102542699224
smart_only,full,0,60,-0.4331451631812052,-0.47373450734813727,0.8867169619131554,453981,453980,1382,1130,0.5668548368187948,0.0,1,0.0014984714511611754,3151,0.06327722079869143,0.9769569575623291
smart_only,test,0,30,-0.2112106493602265,-0.2535100645335856,0.20298548686215048,194423,194422,555,445,0.7887893506397735,0.0,1,0.0013218762551763037,3151,0.041516605665696184,0.9500012727429075
smart_only,test,0,60,-0.36391065011258283,-0.3878404719473877,0.36691037217430805,194423,194422,555,445,0.6360893498874172,0.0,1,0.0013221560873096306,3151,0.04004612926259657,0.9501583211026591
baseline,full,0,30,-0.09048748197342737,-0.25733796393623876,0.5514375196162083,255634,255633,966,649,0.9095125180265726,0.0,1,0.0024311196163026155,2215,0.08272172868181224,0.9760455866419819
baseline,full,0,60,-0.4511779554319596,-0.49462042554455654,0.8659248257161863,255634,255633,966,649,0.5488220445680404,0.0,1,0.0024321066927552254,2215,0.06455708562396736,0.9762234079991403
baseline,test,0,30,-0.21773708999755137,-0.2573379639362384,0.20156957528661038,109249,109248,378,260,0.7822629100024486,0.0,1,0.0023535686618528415,2215,0.0514139051227854,0.949292955614725
baseline,test,0,60,-0.3691332490994431,-0.3970602724511414,0.36434313002389734,109249,109248,378,260,0.6308667509005569,0.0,1,0.0023538063653472073,2215,0.0451906995047916,0.9494817254289845
baseline,full,1,30,-0.09890823949351435,-0.27115872193198265,0.5542626288004414,255488,255487,1112,675,0.9010917605064857,0.0,1,0.0024974536370353344,2200,0.08275174261431376,0.9778699115985152
baseline,full,1,60,-0.456126252811616,-0.5018281800846425,0.8707430490924778,255488,255487,1112,675,0.543873747188384,0.0,1,0.002497775326948689,2200,0.06467482997548601,0.9780763550399261
baseline,test,1,30,-0.24627796773851918,-0.27148111778611983,0.19648769546810083,109189,109188,438,261,0.7537220322614808,0.0,1,0.0022457152571912975,2200,0.0485015541332971,0.9540500543574681
baseline,test,1,60,-0.39215517611282036,-0.4107027293293445,0.3552768852525819,109189,109188,438,261,0.6078448238871796,0.0,1,0.0022459555145898677,2200,0.04598900838341413,0.9542193874288275
train_fixed,full,0,30,-0.5272548432365697,-0.5478494775781523,1.001977598193554,231506,231506,821,428,0.4727451567634303,0.0,0,0.002715007572659957,1245,0.0575017913409023,0.9920382365679135
train_fixed,full,0,60,-0.8661026480314156,-0.8661026480314156,1.2083990707174463,231506,231506,821,428,0.13389735196858446,0.0,0,0.0027149244560111096,1245,0.030857950961844127,0.9923078396248588
train_fixed,test,0,30,-0.3865747640432242,-0.41877659932618194,0.45844098661416166,99633,99633,312,174,0.6134252359567758,0.0,0,0.0027150075726599574,1245,0.042452830627126986,0.9856326373355507
train_fixed,test,0,60,-0.6414561938678316,-0.656219601717529,0.7256110903463501,99633,99633,312,174,0.35854380613216835,0.0,0,0.00271492445601111,1245,0.03863711794745511,0.9859448462885637
train_fixed,full,1,30,-0.5430502785639845,-0.5680018802258828,1.0070616499386595,231374,231374,953,366,0.45694972143601553,0.0,0,0.0026625858680143595,1236,0.05689388512666258,0.9916847902609601
train_fixed,full,1,60,-0.8706216196590337,-0.8728677875662948,1.2191987136321405,231374,231374,953,366,0.12937838034096633,0.0,0,0.002663540424060905,1236,0.030602354842659656,0.9919769088316405
train_fixed,test,1,30,-0.41693520381696125,-0.439713882494826,0.4446987998343674,99576,99576,369,143,0.5830647961830387,0.0,0,0.0026625858680143595,1236,0.0499187296641457,0.9853495015356941
train_fixed,test,1,60,-0.6592970906739497,-0.6696725578754856,0.7050002986568605,99576,99576,369,143,0.34070290932605024,0.0,0,0.0026635404240609047,1236,0.045551427096050784,0.9856996856341637
train_phase,full,0,30,-0.3846569522592772,-0.3951278453242424,0.8970721615494621,34978,34978,214,115,0.6153430477407228,0.0,0,0.053909404010547446,1406,0.062109289859861624,0.9014942304768716
train_phase,full,0,60,-0.7791152295257122,-0.7791152295257122,1.149427351072652,35097,35097,214,115,0.22088477047428773,0.0,0,0.05388729079235726,1406,0.04025110100384946,0.9017380584626783
train_phase,test,0,30,-0.35235297104289,-0.3871772360201319,0.4298417425258285,14400,14400,86,32,0.64764702895711,0.0,0,0.04587365826043921,1406,0.04695812967053635,0.8895801606699167
train_phase,test,0,60,-0.6084569746523245,-0.6278520210315086,0.687178393328338,14400,14400,86,32,0.3915430253476755,0.0,0,0.04566336150450506,1406,0.04530198335406646,0.8898824796955084
train_phase,full,1,30,-0.47636196333419456,-0.4831782258463484,0.840060107096911,35024,35024,198,114,0.5236380366658054,0.0,0,0.054743365296539004,1406,0.049940818325179555,0.9021019230409858
train_phase,full,1,60,-0.811996008732058,-0.811996008732058,1.0955216721347572,35083,35083,198,114,0.18800399126794198,0.0,0,0.05471752710055152,1406,0.03239850013518951,0.9023401347535853
train_phase,test,1,30,-0.4218710516976931,-0.44399099650658114,0.39288497452828125,14432,14432,82,58,0.5781289483023069,0.0,0,0.04647515798981172,1406,0.04374126949774651,0.891298038258235
train_phase,test,1,60,-0.6505704133311001,-0.6621686512602558,0.6314715323380942,14432,14432,82,58,0.3494295866688999,0.0,0,0.046303211932544865,1406,0.04220242732595709,0.8915565844976164
1 name period lag_extra fee_bps return max_drawdown fees_initial_capital buy_count sell_count skipped_buy delayed_lots ending_cash ending_stock_value open_lots max_stock_weight max_positions max_stale_valuation mean_exposure
2 unfiltered full 0 30 -0.13684964211706263 -0.2939760843631406 0.5325455360059504 2075942 2075929 6416 4637 0.8630450923492377 0.00010526553369969617 13 0.00034164942866756707 4977 0.07596866441776703 0.970162270993651
3 unfiltered full 0 60 -0.47941230351401476 -0.5111325253769492 0.839173085966401 2075942 2075929 6416 4637 0.5205240533995468 6.364308643844543e-05 13 0.0003420154298837737 4977 0.05928800837674188 0.9703619614039415
4 unfiltered test 0 30 -0.23369409860308699 -0.29397887463565464 0.19532526846205428 882704 882691 2688 2053 0.7662124465324724 9.345486444056236e-05 13 0.00032974379329844193 4977 0.04625181398047329 0.9352590457731141
5 unfiltered test 0 60 -0.38205202933716453 -0.40676757532341423 0.3535827761788622 882704 882691 2688 2053 0.6178724250508726 7.554561196283583e-05 13 0.00032981176023965926 4977 0.0446274049416882 0.935442310599297
6 total_only full 0 30 -0.11401107130769128 -0.2690600556322772 0.5430281561519229 420929 420927 1573 1017 0.8859889286923087 0.0 2 0.001530745385640883 2993 0.07972569525609675 0.9759420469227746
7 total_only full 0 60 -0.46537911020912215 -0.5105843449778673 0.8539093429839826 420929 420927 1573 1017 0.5346208897908779 0.0 2 0.0015310215431549228 2993 0.06225948814331286 0.9761465346384486
8 total_only test 0 30 -0.23265367076310173 -0.26916477870032696 0.19795648043157582 179216 179214 638 428 0.7673463292368983 0.0 2 0.0015032195312828936 2993 0.05399827063707345 0.9490446721141391
9 total_only test 0 60 -0.38111037298342554 -0.40878905083124495 0.3580011289837301 179216 179214 638 428 0.6188896270165745 0.0 2 0.0015034348884878576 2993 0.047467890531910445 0.9492385280101923
10 smart_only full 0 30 -0.06023865261199057 -0.25351006453358493 0.5654932439786944 453981 453980 1382 1130 0.9397613473880094 0.0 1 0.0014981751932949495 3151 0.08104438380966775 0.9768102542699224
11 smart_only full 0 60 -0.4331451631812052 -0.47373450734813727 0.8867169619131554 453981 453980 1382 1130 0.5668548368187948 0.0 1 0.0014984714511611754 3151 0.06327722079869143 0.9769569575623291
12 smart_only test 0 30 -0.2112106493602265 -0.2535100645335856 0.20298548686215048 194423 194422 555 445 0.7887893506397735 0.0 1 0.0013218762551763037 3151 0.041516605665696184 0.9500012727429075
13 smart_only test 0 60 -0.36391065011258283 -0.3878404719473877 0.36691037217430805 194423 194422 555 445 0.6360893498874172 0.0 1 0.0013221560873096306 3151 0.04004612926259657 0.9501583211026591
14 baseline full 0 30 -0.09048748197342737 -0.25733796393623876 0.5514375196162083 255634 255633 966 649 0.9095125180265726 0.0 1 0.0024311196163026155 2215 0.08272172868181224 0.9760455866419819
15 baseline full 0 60 -0.4511779554319596 -0.49462042554455654 0.8659248257161863 255634 255633 966 649 0.5488220445680404 0.0 1 0.0024321066927552254 2215 0.06455708562396736 0.9762234079991403
16 baseline test 0 30 -0.21773708999755137 -0.2573379639362384 0.20156957528661038 109249 109248 378 260 0.7822629100024486 0.0 1 0.0023535686618528415 2215 0.0514139051227854 0.949292955614725
17 baseline test 0 60 -0.3691332490994431 -0.3970602724511414 0.36434313002389734 109249 109248 378 260 0.6308667509005569 0.0 1 0.0023538063653472073 2215 0.0451906995047916 0.9494817254289845
18 baseline full 1 30 -0.09890823949351435 -0.27115872193198265 0.5542626288004414 255488 255487 1112 675 0.9010917605064857 0.0 1 0.0024974536370353344 2200 0.08275174261431376 0.9778699115985152
19 baseline full 1 60 -0.456126252811616 -0.5018281800846425 0.8707430490924778 255488 255487 1112 675 0.543873747188384 0.0 1 0.002497775326948689 2200 0.06467482997548601 0.9780763550399261
20 baseline test 1 30 -0.24627796773851918 -0.27148111778611983 0.19648769546810083 109189 109188 438 261 0.7537220322614808 0.0 1 0.0022457152571912975 2200 0.0485015541332971 0.9540500543574681
21 baseline test 1 60 -0.39215517611282036 -0.4107027293293445 0.3552768852525819 109189 109188 438 261 0.6078448238871796 0.0 1 0.0022459555145898677 2200 0.04598900838341413 0.9542193874288275
22 train_fixed full 0 30 -0.5272548432365697 -0.5478494775781523 1.001977598193554 231506 231506 821 428 0.4727451567634303 0.0 0 0.002715007572659957 1245 0.0575017913409023 0.9920382365679135
23 train_fixed full 0 60 -0.8661026480314156 -0.8661026480314156 1.2083990707174463 231506 231506 821 428 0.13389735196858446 0.0 0 0.0027149244560111096 1245 0.030857950961844127 0.9923078396248588
24 train_fixed test 0 30 -0.3865747640432242 -0.41877659932618194 0.45844098661416166 99633 99633 312 174 0.6134252359567758 0.0 0 0.0027150075726599574 1245 0.042452830627126986 0.9856326373355507
25 train_fixed test 0 60 -0.6414561938678316 -0.656219601717529 0.7256110903463501 99633 99633 312 174 0.35854380613216835 0.0 0 0.00271492445601111 1245 0.03863711794745511 0.9859448462885637
26 train_fixed full 1 30 -0.5430502785639845 -0.5680018802258828 1.0070616499386595 231374 231374 953 366 0.45694972143601553 0.0 0 0.0026625858680143595 1236 0.05689388512666258 0.9916847902609601
27 train_fixed full 1 60 -0.8706216196590337 -0.8728677875662948 1.2191987136321405 231374 231374 953 366 0.12937838034096633 0.0 0 0.002663540424060905 1236 0.030602354842659656 0.9919769088316405
28 train_fixed test 1 30 -0.41693520381696125 -0.439713882494826 0.4446987998343674 99576 99576 369 143 0.5830647961830387 0.0 0 0.0026625858680143595 1236 0.0499187296641457 0.9853495015356941
29 train_fixed test 1 60 -0.6592970906739497 -0.6696725578754856 0.7050002986568605 99576 99576 369 143 0.34070290932605024 0.0 0 0.0026635404240609047 1236 0.045551427096050784 0.9856996856341637
30 train_phase full 0 30 -0.3846569522592772 -0.3951278453242424 0.8970721615494621 34978 34978 214 115 0.6153430477407228 0.0 0 0.053909404010547446 1406 0.062109289859861624 0.9014942304768716
31 train_phase full 0 60 -0.7791152295257122 -0.7791152295257122 1.149427351072652 35097 35097 214 115 0.22088477047428773 0.0 0 0.05388729079235726 1406 0.04025110100384946 0.9017380584626783
32 train_phase test 0 30 -0.35235297104289 -0.3871772360201319 0.4298417425258285 14400 14400 86 32 0.64764702895711 0.0 0 0.04587365826043921 1406 0.04695812967053635 0.8895801606699167
33 train_phase test 0 60 -0.6084569746523245 -0.6278520210315086 0.687178393328338 14400 14400 86 32 0.3915430253476755 0.0 0 0.04566336150450506 1406 0.04530198335406646 0.8898824796955084
34 train_phase full 1 30 -0.47636196333419456 -0.4831782258463484 0.840060107096911 35024 35024 198 114 0.5236380366658054 0.0 0 0.054743365296539004 1406 0.049940818325179555 0.9021019230409858
35 train_phase full 1 60 -0.811996008732058 -0.811996008732058 1.0955216721347572 35083 35083 198 114 0.18800399126794198 0.0 0 0.05471752710055152 1406 0.03239850013518951 0.9023401347535853
36 train_phase test 1 30 -0.4218710516976931 -0.44399099650658114 0.39288497452828125 14432 14432 82 58 0.5781289483023069 0.0 0 0.04647515798981172 1406 0.04374126949774651 0.891298038258235
37 train_phase test 1 60 -0.6505704133311001 -0.6621686512602558 0.6314715323380942 14432 14432 82 58 0.3494295866688999 0.0 0 0.046303211932544865 1406 0.04220242732595709 0.8915565844976164

View File

@ -0,0 +1,56 @@
{
"environment": "开发机,unit_test_guard配置隔离并断网",
"memory_tests": 9,
"ledger_rebuilds": [
{
"account": "baseline",
"trades": 218497,
"max_error": 5.218048215738236e-14
},
{
"account": "train_fixed",
"trades": 199266,
"max_error": 4.3520742565306136e-14
},
{
"account": "train_phase",
"trades": 28800,
"max_error": 3.036459972349803e-14
}
],
"event_rebuilds": [
{
"account": "baseline",
"mean": -0.006246275916152648,
"completed": 109248
},
{
"account": "train_fixed",
"mean": -0.005247879657376537,
"completed": 99633
}
],
"prior_heat_baseline_return": -0.09183817866851673,
"prior_heat_baseline_daily_exact": true,
"train_truncated_holds": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"train_regime_prefix_exact": true,
"data_quality": {
"scored_without_quote_stock_days": 3863,
"missing_score_dates": [
"2026-03-19"
],
"eligible_daily_median": 4929.0,
"score_correlation": 0.7193255203645038
}
}

View File

@ -0,0 +1,65 @@
"""独立逐笔重建及截断重跑;不读取数据库、环境配置或线上模块。"""
from collections import defaultdict
import sys
import numpy as np
import pandas as pd
from prepare import ROOT,read,dump,digest,offline,regime,OLD
from engine import account,future_exits
from calibrate import aggregate,ratio
def main():
sys.addaudithook(offline);p=read(ROOT/'protocol.json');cov=read(ROOT/'coverage.json');selection=read(ROOT/'selection.json')
panel=dict(np.load(ROOT/'cache/panel.npz'));dates=panel['dates'];t,n=panel['open'].shape
window=(dates>=p['signal_start'])&(dates<=cov['common_last_signal']);test=dates>='2026-01-01';base=panel['eligible']&window[:,None]
configs={'baseline':p['baseline'],'train_fixed':selection['global'],'train_phase':selection['phases']};errors=[];event_checks=[]
grid=pd.read_csv(ROOT/'grid.csv')
for name,c in configs.items():
mask=np.zeros((t,n),bool);holds=np.full(t,5)
for i in range(t):
v=c if 'total' in c else c[str(int(panel['regime300'][i]))]
if v and test[i]:mask[i]=base[i]&(panel['total'][i]>=v['total'])&(panel['smart'][i]>=v['smart']);holds[i]=v['hold']
a=account(panel,mask,holds,.003,detail=True);byday=defaultdict(list);legs=defaultdict(dict)
for tr in a['journal']:byday[tr['day']].append(tr);legs[tr['signal'],tr['stock']][tr['side']]=tr
cash=1.;qty=np.zeros(n);maxerr=0.
for i,r in enumerate(a['daily']):
for tr in byday[i]:
j=tr['stock'];value=tr['qty']*tr['price'];assert tr['price']==panel['open'][i,j]
if tr['side']=='buy':assert i==tr['signal']+1 and panel['can_buy'][i,j];cash-=value*1.003;qty[j]+=tr['qty']
else:
assert i>=tr['signal']+1+holds[tr['signal']] and panel['can_sell'][i,j]
cash+=value*.997;qty[j]-=tr['qty']
assert cash>=-1e-10 and qty[j]>=-1e-10
value=float(qty@panel['mark'][i]);maxerr=max(maxerr,abs(cash-r['cash']),abs(value-r['stock_value']),abs(cash+value-r['nav']))
assert maxerr<1e-10;errors.append({'account':name,'trades':len(a['journal']),'max_error':maxerr})
if 'total' in c:
batches=defaultdict(list)
for (sig,j),tr in legs.items():
if 'sell' in tr:batches[sig].append(tr['sell']['price']/tr['buy']['price']*.997/1.003-1)
observed=float(np.mean([np.mean(v) for v in batches.values()]))
row=grid[(grid.total==c['total'])&(grid.smart==c['smart'])&(grid.hold==c['hold'])&(grid.period=='test')&(grid.regime_index=='regime300')&(grid.regime==99)&(grid.fee_bps==30)].iloc[0]
assert abs(observed-row.mean_net)<1e-12;assert sum(map(len,batches.values()))==row.completed
event_checks.append({'account':name,'mean':observed,'completed':int(row.completed)})
print(name,'逐笔核验通过',flush=True)
# 原热度基线完整逐日复现,确保可变持有期扩展没有改变固定持有期语义。
previous=ROOT.parent/'heat_calibration_20261028';old=dict(np.load(previous/'cache/panel.npz'))
assert digest(previous/'cache/panel.npz')==read(previous/'coverage.json')['panel_sha256']
m=old['eligible']&np.isfinite(old['asof'])&(old['asof']>=.8)&(old['pct']>=0)&(old['pct']<5);m[len(old['dates'])-11:]=False
now=account(old,m,5,.003);prior=read(previous/'results/accounts.json.gz')['0.8/0/5/5@30'];assert now['daily']==prior['daily']
# 在2025年末真正截断行情,再计算所有训练期事件,核验训练标签不依赖2026年。
end=int(np.searchsorted(dates,'2026-01-01'));short={k:v[:end] if k!='codes' else v for k,v in panel.items()};cube=np.load(ROOT/'cache/daily_grid.npz')
nt=len(p['total_thresholds']);ns=len(p['smart_thresholds'])
ti=np.searchsorted(p['total_thresholds'],np.nan_to_num(short['total'],nan=-1),side='right')-1;si=np.searchsorted(p['smart_thresholds'],np.nan_to_num(short['smart'],nan=-1),side='right')-1
ids=np.arange(end)[:,None]*nt*ns+np.maximum(ti,0)*ns+np.maximum(si,0)
train=dates[:end]<='2025-12-15';checks=[]
for h in range(1,11):
ex,gr=future_exits(short,h);ok=base[:end]&np.isfinite(gr)
count=aggregate(ids,ok,None,end,nt,ns);total=aggregate(ids,ok,np.nan_to_num(gr),end,nt,ns);net=ratio(total*.997/1.003-count,count)
assert np.array_equal(count[train],cube[f'{h}_train_count'][:end][train]);assert np.allclose(net[train],cube[f'{h}_train_net30'][:end][train],atol=1e-13,equal_nan=True)
checks.append(h)
# 原始指数序列同样截断;含预热历史的标签逐日复现。
ix=read(OLD/'raw/export.json')['data']['index_daily']['000300.SH']['rows'];ix=[r for r in ix if r['timestamp'][:10]<'2026-01-01']
assert np.array_equal(regime(ix,dates[:end].tolist()).stage.to_numpy(),panel['regime300'][:end])
quality={'scored_without_quote_stock_days':sum(r['missing_quotes'] for r in cov['daily']),'missing_score_dates':[r['date'] for r in cov['daily'] if not r['scored']], 'eligible_daily_median':float(np.median(panel['eligible'][window].sum(1))), 'score_correlation':float(np.corrcoef(panel['total'][base],panel['smart'][base])[0,1])}
dump(ROOT/'audit.json',{'environment':'开发机,unit_test_guard配置隔离并断网','memory_tests':9,'ledger_rebuilds':errors,'event_rebuilds':event_checks,'prior_heat_baseline_return':now['summary']['return'],'prior_heat_baseline_daily_exact':True,'train_truncated_holds':checks,'train_regime_prefix_exact':True,'data_quality':quality})
print('全部审计通过',quality)
if __name__=='__main__':main()

View File

@ -0,0 +1,137 @@
"""断网计算全网格、训练选择及现金约束组合;网格计算与账户相互独立。"""
import sys, json, hashlib
from pathlib import Path
import numpy as np
import pandas as pd
from prepare import ROOT,read,dump,digest,offline
from engine import future_exits,account
def aggregate(ids,valid,weights,t,nt,ns):
x=np.bincount(ids[valid],weights=None if weights is None else weights[valid],minlength=t*nt*ns).reshape(t,nt,ns)
return x[:,::-1,::-1].cumsum(1).cumsum(2)[:,::-1,::-1]
def ratio(a,b):return np.divide(a,b,out=np.full(a.shape,np.nan),where=b>0)
def avg(a):
a=np.asarray(a);v=a[np.isfinite(a)];return float(v.mean()) if len(v) else None
def smooth(values,eligible,h,i,j):
coords=[(h,i,j),(h-1,i,j),(h+1,i,j),(h,i-1,j),(h,i+1,j),(h,i,j-1),(h,i,j+1)]
vals=[values[x,y,z] for x,y,z in coords if 0<=x<values.shape[0] and 0<=y<values.shape[1] and 0<=z<values.shape[2] and eligible[x,y,z]]
return float(np.median(vals))
def choose(raw,eligible,totals,smarts):
choices=[]
for h,i,j in np.argwhere(eligible):
choices.append({'total':float(totals[i]),'smart':float(smarts[j]),'hold':int(h+1),'score':smooth(raw,eligible,h,i,j),'raw_score':float(raw[h,i,j]),'index':[int(h),int(i),int(j)]})
return sorted(choices,key=lambda c:(-c['score'],-c['hold'],c['total'],c['smart']))[0] if choices else None
def bootstrap(values,block=10):
values=np.asarray(values);n=len(values);rng=np.random.default_rng(20261028);means=[]
if n<block:return None
# 连续交易日整块抽样,NaN保留,以免把不同阶段压成假相邻日期。
for _ in range(1000):
starts=rng.integers(0,n,size=(n+block-1)//block);ix=np.concatenate([(s+np.arange(block))%n for s in starts])[:n]
v=values[ix];v=v[np.isfinite(v)]
if len(v):means.append(v.mean())
return [float(x) for x in np.quantile(means,[.025,.975])]
def main():
sys.addaudithook(offline);p=read(ROOT/'protocol.json');cov=read(ROOT/'coverage.json')
assert digest(ROOT/'protocol.json')==(ROOT/'protocol.sha256').read_text().split()[0]
assert digest(ROOT/'cache/panel.npz')==cov['panel_sha256']
panel=dict(np.load(ROOT/'cache/panel.npz'));dates=panel['dates'];t,n=panel['open'].shape
totals=np.array(p['total_thresholds']);smarts=np.array(p['smart_thresholds']);nt,ns=len(totals),len(smarts)
window=(dates>=p['signal_start'])&(dates<=cov['common_last_signal']);base=panel['eligible']&window[:,None]
ti=np.searchsorted(totals,np.nan_to_num(panel['total'],nan=-1),side='right')-1
si=np.searchsorted(smarts,np.nan_to_num(panel['smart'],nan=-1),side='right')-1
ids=np.arange(t)[:,None]*(nt*ns)+np.maximum(ti,0)*ns+np.maximum(si,0)
agg=lambda valid,weights=None:aggregate(ids,valid,weights,t,nt,ns)
selected=agg(base);filled=base&np.vstack([panel['can_buy'][1:],np.zeros((1,n),bool)])
fillcounts=agg(filled);train_day=(dates>='2025-01-02')&(dates<='2025-12-15');test_day=dates>='2026-01-01'
year25=np.char.startswith(dates,'2025');before26=int(np.searchsorted(dates,'2026-01-01'))
rows=[];cubes={};raw=np.full((10,nt,ns),np.nan);rawstage={r:raw.copy() for r in [-1,0,1]};eligible=np.zeros(raw.shape,bool);diagnostics=[]
for h in range(1,11):
exits,gross=future_exits(panel,h);complete=filled&np.isfinite(gross)
common={'all':complete,'train':complete&(exits<before26)}
data={}
for kind,ok in common.items():
count=agg(ok);gs=agg(ok,np.where(ok,gross,0));delayed=agg(ok&(exits>np.arange(t)[:,None]+h+1))
data[kind]={'count':count,'gross_sum':gs,'delayed':delayed}
for fee in [30,60]:
net=gross*(1-fee/10000)/(1+fee/10000)-1
data[kind]['net'+str(fee)]=ratio(gs*(1-fee/10000)/(1+fee/10000)-count,count)
data[kind]['wins'+str(fee)]=agg(ok&(net>0))
cubes[h]=data
tr=data['train'];v=tr['net30'];counts=tr['count']
active=np.sum((counts>0)&train_day[:,None,None],axis=0);trades=counts[train_day].sum(0)
stages=[];stagecounts=[]
for reg in [-1,0,1]:
dd=train_day&(panel['regime300']==reg);stagecounts.append(np.sum(counts[dd]>0,axis=0))
e=v[dd]-v[dd,0,0][:,None,None]
# 无可用批次时保持NaN,不把缺样本当0。
stagevalue=ratio(np.nansum(e,axis=0),np.sum(np.isfinite(e),axis=0))/h
rawstage[reg][h-1]=stagevalue;stages.append(stagevalue)
eligible[h-1]=(active>=60)&(trades>=1000)&np.all(np.stack(stagecounts)>=10,axis=0)
raw[h-1]=np.min(np.stack(stages),axis=0)
for period,daymask,kind in [('full',window,'all'),('2025',year25&window,'all'),('train',train_day,'train'),('test',test_day&window,'all')]:
d=data[kind]
for regime_name in ['regime300','regime2000']:
for reg in [99,-1,0,1]:
dd=daymask if reg==99 else daymask&(panel[regime_name]==reg)
for i,lo in enumerate(totals):
for j,sm in enumerate(smarts):
cc=d['count'][dd,i,j];f=fillcounts[dd,i,j];nn=selected[dd,i,j]
for fee in [30,60]:
v=d['net'+str(fee)][dd,i,j];benchmark=d['net'+str(fee)][dd,0,0]
rows.append({'total':lo,'smart':sm,'hold':h,'period':period,'regime_index':regime_name,'regime':reg,'fee_bps':fee,'signal_days':int(dd.sum()),'active_days':int((cc>0).sum()),'selected':int(nn.sum()),'filled':int(f.sum()),'completed':int(cc.sum()),'not_completed':int(f.sum()-cc.sum()),'mean_daily_selected':avg(nn),'mean_net':avg(v),'win_rate':float(d['wins'+str(fee)][dd,i,j].sum()/cc.sum()) if cc.sum() else None,'excess_unfiltered':avg(v-benchmark),'excess_total_only':avg(v-d['net'+str(fee)][dd,i,0]),'excess_smart_only':avg(v-d['net'+str(fee)][dd,0,j]),'delayed':int(d['delayed'][dd,i,j].sum())})
# 独立逐笔算法对聚合网格做抽样交叉核验。
i,j=4,4;mask=base&(panel['total']>=totals[i])&(panel['smart']>=smarts[j]);ok=mask&np.isfinite(gross)&filled
direct=ratio(np.where(ok,gross*.997/1.003-1,0).sum(1),ok.sum(1))
error=float(np.nanmax(np.abs(direct-data['all']['net30'][:,i,j])))
assert error<1e-12;diagnostics.append({'hold':h,'aggregate_max_error':error})
print('持有',h,'交易日网格完成',flush=True)
global_choice=choose(raw,eligible,totals,smarts);phase_choice={str(r):choose(rawstage[r],eligible,totals,smarts) for r in [-1,0,1]}
dump(ROOT/'selection.json',{'rule':p['selection'],'eligible_candidates':int(eligible.sum()),'global':global_choice,'phases':phase_choice})
df=pd.DataFrame(rows);df.to_csv(ROOT/'grid.csv',index=False,lineterminator='\n')
np.savez_compressed(ROOT/'cache/daily_grid.npz',selected=selected,filled=fillcounts,eligible_candidates=eligible,raw_selection_score=raw,**{f'{h}_{k}_{field}':arr for h,d in cubes.items() for k,values in d.items() for field,arr in values.items()})
def build(config):
mask=np.zeros(base.shape,bool);holds=np.full(t,5)
for d in range(t):
c=config if 'total' in config else config[str(int(panel['regime300'][d]))]
if c is not None:mask[d]=base[d]&(panel['total'][d]>=c['total'])&(panel['smart'][d]>=c['smart']);holds[d]=c['hold']
return mask,holds
configs={'unfiltered':{'total':0,'smart':0,'hold':5},'total_only':{'total':.8,'smart':0,'hold':5},'smart_only':{'total':0,'smart':.7,'hold':5},'baseline':p['baseline']}
if global_choice:configs['train_fixed']=global_choice
if all(phase_choice.values()):configs['train_phase']=phase_choice
accounts=[];curves=[];audit=[]
for name,c in configs.items():
for lag in ([0,1] if name in ['baseline','train_fixed','train_phase'] else [0]):
fullmask,holds=build(c)
for period in ['full','test']:
mask=fullmask.copy()
if period=='test':mask[~test_day]=False
hh=holds.copy()
if lag:mask=np.vstack([np.zeros((1,n),bool),mask[:-1]]);hh=np.r_[5,hh[:-1]]
for fee in [30,60]:
result=account(panel,mask,hh,fee/10000);dd=result['daily'];prev=1.;cash=1.;maxerr=0.
for r in dd:
maxerr=max(maxerr,abs(r['nav']-r['cash']-r['stock_value']),abs(r['cash']-(cash+r['sell_cash']-r['buy_cash'])))
assert r['cash']>=-1e-12;cash=r['cash']
assert maxerr<1e-10
accounts.append({'name':name,'period':period,'lag_extra':lag,'fee_bps':fee,**result['summary']})
curves.extend({'name':name,'period':period,'lag_extra':lag,'fee_bps':fee,**r} for r in dd)
audit.append({'name':name,'period':period,'lag_extra':lag,'fee_bps':fee,'days':len(dd),'max_cash_nav_error':maxerr})
if fee==30 and lag==0:
prefix=account(panel,mask,hh,.003,stop=t//2)
assert prefix['daily']==dd[:t//2]
print('账户',name,'完成',flush=True)
pd.DataFrame(accounts).to_csv(ROOT/'accounts.csv',index=False,lineterminator='\n');pd.DataFrame(curves).to_csv(ROOT/'account_daily.csv',index=False,lineterminator='\n')
# 基线及仅由训练选出的固定规则,2026验证日超额的10日整块区间。
uncertainty=[]
for name,c in [('baseline',p['baseline']),('train_fixed',global_choice)]:
if c is None:continue
h=c['hold'];i=int(np.where(totals==c['total'])[0][0]);j=int(np.where(smarts==c['smart'])[0][0]);v=cubes[h]['all']['net30']
for reg in [99,-1,0,1]:
dd=window&test_day;values=(v[:,i,j]-v[:,0,0])[dd].copy()
if reg!=99:values[panel['regime300'][dd]!=reg]=np.nan
uncertainty.append({'name':name,'regime':reg,'test_active_days':int(np.isfinite(values).sum()),'mean_excess':avg(values),'block10_95_interval':bootstrap(values)})
dump(ROOT/'validation.json',{'aggregate_crosscheck':diagnostics,'account_checks':audit,'prefix_account_check':'所有主时序30bps账户,完整运行前半段与截断运行逐日完全一致','uncertainty':uncertainty})
print(json.dumps({'global':global_choice,'phases':phase_choice,'accounts':len(accounts)},ensure_ascii=False))
if __name__=='__main__':main()

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,81 @@
"""上一轮已复核的纯账户引擎副本,冻结复用,不导入线上代码。"""
import numpy as np
def future_exits(panel,hold):
t,n=panel['open'].shape
nxt=np.full((t+1,n),-1,dtype=np.int16)
for i in range(t-1,-1,-1):nxt[i]=np.where(panel['can_sell'][i],i,nxt[i+1])
exits=np.full((t,n),-1,dtype=np.int16)
gross=np.full((t,n),np.nan)
for s in range(t-hold-1):
e=nxt[s+hold+1];j=np.arange(n)
exits[s]=e
ok=(e>=0)&panel['can_buy'][s+1]
gross[s,ok]=panel['open'][e[ok],j[ok]]/panel['open'][s+1,ok]
return exits,gross
def daily_means(mask,values):
valid=mask&np.isfinite(values)
n=valid.sum(axis=1)
total=np.where(valid,values,0).sum(axis=1)
return np.divide(total,n,out=np.full(len(n),np.nan),where=n>0)
def mean(v):
v=np.asarray(v);v=v[np.isfinite(v)]
return float(v.mean()) if len(v) else None
def account(panel,mask,hold,cost,stop=None,detail=False):
"""每批次独立到期;卖出失败保留原任务。预算采用前收资产,禁止重复使用现金。"""
t,n=mask.shape;stop=t if stop is None else stop
holds=np.broadcast_to(np.asarray(hold,dtype=int),(t,))
assert np.all((holds>=1)&(holds<=10))
cash=1.;prev=1.;lots=[];records=[];journal=[];fees=0.;skipped=0;delays=0
max_weight=0.;max_positions=0;max_stale_value=0.;buy_count=sell_count=0
for i in range(stop):
fee_today=0.;turnover=0.;sell_cash=0.;buy_cash=0.
survivors=[]
for lot in lots:
ix,q,due,sig=lot
if i>=due:
sell=panel['can_sell'][i,ix]
if i==due:delays+=int((~sell).sum())
if sell.any():
v=q[sell]*panel['open'][i,ix[sell]];fee=float(v.sum()*cost)
cash+=float(v.sum())-fee;fee_today+=fee;turnover+=float(v.sum());sell_cash+=float(v.sum())-fee
sell_count+=int(sell.sum())
if detail:
journal.extend({'day':i,'side':'sell','stock':int(j),'qty':float(qty),'price':float(price),'signal':sig}
for j,qty,price in zip(ix[sell],q[sell],panel['open'][i,ix[sell]]))
ix,q=ix[~sell],q[~sell]
if len(ix):survivors.append((ix,q,due,sig))
lots=survivors
if i>0:
chosen=np.flatnonzero(mask[i-1]);count=len(chosen)
if count:
available=panel['can_buy'][i,chosen];skipped+=int((~available).sum());ix=chosen[available]
h=int(holds[i-1]);budget=min(max(cash,0),prev/h)
if len(ix) and budget>0:
each=budget/count/(1+cost);q=each/panel['open'][i,ix]
value=each*len(ix);fee=value*cost
cash-=value+fee;fee_today+=fee;turnover+=value;buy_cash=value+fee
lots.append((ix,q,i+h,i-1));buy_count+=len(ix)
if detail:
journal.extend({'day':i,'side':'buy','stock':int(j),'qty':float(qty),'price':float(price),'signal':i-1}
for j,qty,price in zip(ix,q,panel['open'][i,ix]))
values=np.zeros(n)
for ix,q,_,_ in lots:np.add.at(values,ix,q*panel['mark'][i,ix])
value=float(values.sum());nav=cash+value;assert cash>=-1e-12 and nav>=0
max_weight=max(max_weight,float(values.max()/nav) if nav else 0)
max_positions=max(max_positions,int(np.count_nonzero(values)))
max_stale_value=max(max_stale_value,float(values[~np.isfinite(panel['close'][i])].sum()))
fees+=fee_today
records.append({'date':str(panel['dates'][i]),'cash':cash,'stock_value':value,'nav':nav,'fee':fee_today,
'turnover':turnover,'sell_cash':sell_cash,'buy_cash':buy_cash,'positions':int(np.count_nonzero(values))})
prev=nav
nav=np.array([1.]+[r['nav'] for r in records]);draw=nav/np.maximum.accumulate(nav)-1
summary={'return':float(nav[-1]-1),'max_drawdown':float(draw.min()),'fees_initial_capital':fees,
'buy_count':buy_count,'sell_count':sell_count,'skipped_buy':skipped,'delayed_lots':delays,
'ending_cash':cash,'ending_stock_value':records[-1]['stock_value'],'open_lots':sum(len(x[0]) for x in lots),
'max_stock_weight':max_weight,'max_positions':max_positions,'max_stale_valuation':max_stale_value,
'mean_exposure':float(np.mean([r['stock_value']/r['nav'] for r in records if r['buy_cash'] or r['stock_value']])) if buy_count else 0}
return {'summary':summary,'daily':records,'journal':journal}

View File

@ -0,0 +1,71 @@
"""只读PG导出。凭证仅从环境注入,不保存连接串或异常正文。"""
import datetime as dt
import decimal
import gzip
import hashlib
import json
import os
import re
import sys
from pathlib import Path
from urllib.parse import unquote, urlsplit
ROOT=Path(__file__).resolve().parent
SECRET_KEYS=('SIGNAL_RESEARCH_PG_DSN',)
TABLE='public.t_signal_daily_results'
def encode(v):
if isinstance(v,(dt.date,dt.datetime)):return v.isoformat()
if isinstance(v,decimal.Decimal):return float(v)
raise TypeError(type(v).__name__)
def check_sql(sql):
if not re.match(r'^SELECT\s',sql,re.I) or ';' in sql:raise ValueError('只允许单条SELECT')
if re.search(r'\b(JOIN|INTO|UPDATE|DELETE|INSERT|COPY|pg_sleep|FOR\s+UPDATE)\b',sql,re.I):raise ValueError('禁止写入或联表')
tables=re.findall(r'\bFROM\s+([\w.]+)',sql,re.I)
if len(tables)!=1 or tables[0] not in (TABLE,'information_schema.columns'):raise ValueError('超出预定单表范围')
def main():
import psycopg2
from psycopg2.extras import RealDictCursor
mode=sys.argv[1]
if mode!='probe' and not re.fullmatch(r'20\d{4}',mode):raise ValueError('仅允许probe或YYYYMM')
raw=ROOT/'raw';raw.mkdir(exist_ok=True);path=raw/(mode+'.json.gz')
if path.exists():
json.load(gzip.open(path));print(mode,'已有缓存,保留');return
u=urlsplit(os.environ[SECRET_KEYS[0]])
if (u.hostname,u.port or 5432,unquote(u.username or ''),u.path.strip('/'))!=('192.168.16.150',5432,'fac_pattern','factordb'):
raise ValueError('数据库不符合用户指定范围')
conn=psycopg2.connect(host=u.hostname,port=u.port or 5432,user=unquote(u.username),password=unquote(u.password or ''),dbname='factordb',
connect_timeout=8,application_name='codex_signal_research_readonly',
options='-c statement_timeout=45000 -c lock_timeout=3000 -c default_transaction_read_only=on')
conn.set_session(readonly=True,isolation_level='REPEATABLE READ',autocommit=False)
def query(sql,args=None,cap=250000):
check_sql(sql)
with conn.cursor(cursor_factory=RealDictCursor) as cur:
cur.execute(sql,args);rows=cur.fetchmany(cap+1)
if len(rows)>cap:raise ValueError('读取超过上限')
return rows
try:
if mode=='probe':
data={}
data['columns']=query("SELECT column_name,data_type,is_nullable FROM information_schema.columns WHERE table_schema='public' AND table_name='t_signal_daily_results' ORDER BY ordinal_position")
for order in ['ASC','DESC']:
data[order]=query('SELECT trade_date,ts_code,total_score,smart_score,sector_score,potential_score FROM '+TABLE+' ORDER BY trade_date '+order+',ts_code LIMIT 3',cap=3)
data['monthly']=query("SELECT to_char(trade_date,'YYYY-MM') AS month,COUNT(*) AS n,COUNT(DISTINCT trade_date) AS days,COUNT(DISTINCT ts_code) AS stocks,COUNT(total_score) AS total_present,COUNT(smart_score) AS smart_present,MIN(total_score) AS min_total,MAX(total_score) AS max_total,MIN(smart_score) AS min_smart,MAX(smart_score) AS max_smart,SUM(CASE WHEN smart_score=0 THEN 1 ELSE 0 END) AS smart_zero FROM "+TABLE+" GROUP BY to_char(trade_date,'YYYY-MM') ORDER BY month",cap=1000)
else:
first=mode[:4]+'-'+mode[4:]+'-01';last=(dt.date.fromisoformat(first).replace(day=28)+dt.timedelta(days=4)).replace(day=1)
data=query('SELECT trade_date,ts_code,total_score,smart_score,sector_score,potential_score FROM '+TABLE+' WHERE trade_date>=%s AND trade_date<%s ORDER BY trade_date,ts_code',(first,last))
out={'collected_at_beijing':dt.datetime.now(dt.timezone(dt.timedelta(hours=8))).isoformat(),
'source':'150/factordb/public.t_signal_daily_results','read_only':True,'data':data}
body=gzip.compress(json.dumps(out,ensure_ascii=False,default=encode,separators=(',',':')).encode())
path.write_bytes(body)
print(mode,'bytes',len(body),'rows',len(data),'sha256',hashlib.sha256(body).hexdigest(),flush=True)
if mode=='probe':print(json.dumps(data,ensure_ascii=False,default=encode,indent=2))
finally:conn.rollback();conn.close()
if __name__=='__main__':
try:main()
except Exception as e:
print(json.dumps({'error_type':type(e).__name__,'pgcode':getattr(e,'pgcode',None)},ensure_ascii=False),file=sys.stderr)
raise SystemExit(1)

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
{
"created_at_beijing": "2026-10-28T16:44:43.624525+08:00",
"machine": "开发机macOS;只读取数及本地断网研究",
"protocol_sha256": "78a76cedd6341295458094e82a520e0364e265fdf5d0fbca2eaa6a40501416a5",
"files_sha256": {
"grid.csv": "4c91ca1b607b802a6a38867e92b53b37b401112ae40317175be09b2ee0c412f4",
"accounts.csv": "0fd9f87644add404ac69853129e86e70a4207c17813800bdde92c765b19079f4",
"account_daily.csv": "c998eecdddd0576963c633422f0c4448326ed89dedaab95d050d999c5ed39326",
"regimes.csv": "0133bef6c157bce85f3f79476eb910fe18d91ce02147bd3aa71793bb11a627bc",
"selection.json": "9cfca1181059a414c7255b0c152b88e5e27fbc6c73da4f2d006ce2b22af64a1f",
"audit.json": "c809e05b6d89e3ba842fef837bb39b86e80f5cce6ad144142324b0c99c2d8422",
"validation.json": "471b3619778243e74ca21a1a1fd4612f2bc698464f58583004e1616404119850",
"coverage.json": "d3d415cb8bfb6aaacfc69a7bc9dc38a9d9b3d0c4acc0212ec192f75effc8bfca",
"source_definition.json": "106a76fd21b015a8cad7eabfb8944d27f6883b8565b9d8081d0dc7e471531b0c",
"requirements-research.txt": "8950214068a0065ebe4ba7fd4c305a047b25a4e3081e36c09d5b63b76ddf0cb0",
"综合分与聪明资金分三维标定.md": "cea4901bffa8895b592497551e8c47ebfc6f3b421b81a8a87f393253eeeeb0b5",
"audit.py": "5b56a12e835d722726a622663a3873be5c1bb89839c8011eda021fce8170254d",
"calibrate.py": "250abd5ef153a8cc53e6f6216c8290d07e7ca0d9255db1e38cde4d608aeb159e",
"engine.py": "6e8f7b5fc97ba1353eaeda346111ff214ce53b33a846bddf2486167362be479d",
"fetch.py": "7bb340e28106e932b7e092ea7ae227891b2ed7ca65e6c5b93b19214bb7c02652",
"prepare.py": "d2b0913d843fbc6e2cfe690b88c40c9b8883e698350744a9fcc45369c6c50744",
"report.py": "6cd6525308bb35df518b7e7c23a255418266523666b2221c8b9c287ceb6ed361",
"test_calibration.py": "5e89de364de29fc8b9b78511a05daeee99dba1eb0a5fd800ca940f1493bfd7f9",
"figures/年份与阶段阈值矩阵.png": "40b706f138915e3ba4fc16f3247fdaa087fc9f97f6cef2db9cbc319122373392",
"figures/持有期比较.png": "1f6598312bb3949ef21e8a3bbab863072267c6a600fd2946dbdbf4e9fe0dc9a5",
"figures/阶段增量收益.png": "a49b1dd0a81a23e9a5f7790f1ffb3a45c7a1c1d1052033c6089b8f992a6d2889",
"figures/顺序检验净值.png": "dca9c585349a3b3adc3766b493167c7e6e706e09052e3034545dd1d2e58e80d2"
},
"grid_rows": 51840,
"combinations": 810,
"accounts": 36,
"runtime": {
"python": "3.12.14",
"numpy": "2.3.5",
"pandas": "2.2.3",
"matplotlib": "3.11.2"
},
"source_version_claim": "现存历史评分回放,不证明历史首次可用时刻",
"live_parameters_changed": false
}

View File

@ -0,0 +1,109 @@
"""离线拼接评分、全市场复权行情、历史资格及截至当日可知的市场阶段。"""
import bisect, datetime as dt, gzip, hashlib, json, re, sys
from collections import defaultdict
from pathlib import Path
import numpy as np
import pandas as pd
ROOT=Path(__file__).resolve().parent
OLD=ROOT.parent/'macro_timing_20261026'
def read(path):
with gzip.open(path,'rt') if str(path).endswith('.gz') else open(path) as f:return json.load(f)
def dump(path,value):path.write_text(json.dumps(value,ensure_ascii=False,indent=2,allow_nan=False)+'\n')
def digest(path):return hashlib.sha256(path.read_bytes()).hexdigest()
def offline(event,args):
if event in ('socket.connect','socket.getaddrinfo','socket.sendto','socket.sendmsg'):raise RuntimeError('离线研究禁止联网')
def dot(code):return code[2:]+'.'+code[:2] if re.fullmatch(r'(SH|SZ|BJ)\d{6}',code) else code
def regime(rows,dates):
series=pd.Series({r['timestamp'][:10]:float(r['close']) for r in rows}).sort_index()
ma=series.rolling(60,min_periods=60).mean();r20=series/series.shift(20)-1
stage=np.where((series>=ma)&(r20>0),1,np.where((series<ma)&(r20<0),-1,0))
result=pd.DataFrame({'close':series,'ma60':ma,'return20':r20,'stage':stage})
assert result.loc[dates,['close','ma60','return20']].notna().all().all()
return result.loc[dates]
def main():
sys.addaudithook(offline);p=read(ROOT/'protocol.json');assert digest(ROOT/'protocol.json')==(ROOT/'protocol.sha256').read_text().split()[0]
sources={}
def tracked(path):sources[str(path.relative_to(ROOT.parent))]=digest(path);return read(path)
export=tracked(OLD/'raw/export.json')['data']['index_daily']
calendar=sorted({r['timestamp'][:10] for r in export['000001.SH']['rows'] if r['timestamp'][:10]<=p['data_cutoff']})
dates=[d for d in calendar if d>=p['source_start']];di={d:i for i,d in enumerate(dates)}
scores=[];total_raw=0;raw_dates=set()
for path in sorted((ROOT/'raw').glob('20*.json.gz')):
rr=tracked(path)['data'];total_raw+=len(rr);raw_dates.update(r['trade_date'] for r in rr)
scores.extend(r for r in rr if r['trade_date'] in di)
codes=sorted({dot(r['ts_code']) for r in scores if dot(r['ts_code'])[-2:] in ('SH','SZ')});ci={c:j for j,c in enumerate(codes)}
shape=(len(dates),len(codes));a={k:np.full(shape,np.nan) for k in ['open','close','mark','adj','raw_open','up','down','volume','total','smart','sector']}
score_seen=set()
for r in scores:
c=dot(r['ts_code'])
if c not in ci:continue
i,j=di[r['trade_date']],ci[c];assert (i,j) not in score_seen;score_seen.add((i,j))
for k in ['total','smart','sector']:
v=r[k+'_score']
if v is not None:assert 0<=v<=1;a[k][i,j]=v
del scores,score_seen
risk=np.zeros(shape,bool);quality=defaultdict(int)
repairs=tracked(OLD/'raw/timed_micro100/small_gap_candidates.json')
legacy=tracked(OLD/'raw/timed_micro100/gap_legacy.json.gz');assert legacy['ok']
wanted={(r['date'],r['code']) for r in repairs};legacy_map={(r['trade_date'],r['ts_code']):r for r in legacy['rows']}
repair_log=[]
for ym in sorted({d[:7].replace('-','') for d in dates}):
folder='timed_micro100' if ym<='202608' else 'micro100'
data=tracked(OLD/f'raw/{folder}/{ym}.json.gz')['data']
for key in ['bars','st','limits']:assert data[key]['ok']
rr=data['bars']['rows'];existing={(r['trade_date'][:10],r['ts_code']) for r in rr}
for r in rr:
key=(r['trade_date'][:10],r['ts_code'])
if key in legacy_map:
for k in ['open','close','adj_factor']:
if r[k] is not None and legacy_map[key][k] is not None:assert abs(r[k]-legacy_map[key][k])<1e-5
for day,c in sorted(wanted):
if day[:7].replace('-','')==ym and day in di and c in ci:
assert (day,c) not in existing;rr.append(legacy_map[day,c]);repair_log.append({'date':day,'code':c})
seen=set()
for r in rr:
day=r['trade_date'][:10];c=r['ts_code']
if day not in di or c not in ci:continue
i,j=di[day],ci[c];assert (i,j) not in seen;seen.add((i,j))
for k,s in [('raw_open','open'),('adj','adj_factor'),('volume','vol')]:
if r[s] is not None:a[k][i,j]=float(r[s])
if a['adj'][i,j]>0 and r['open'] and r['close'] and r['open']>0 and r['close']>0:
a['open'][i,j]=r['open']*a['adj'][i,j];a['close'][i,j]=r['close']*a['adj'][i,j]
for r in data['limits']['rows']:
if r['trade_date'][:10] in di and r['ts_code'] in ci:
i,j=di[r['trade_date'][:10]],ci[r['ts_code']]
for k in ['up','down']:
if r[k+'_limit']:a[k][i,j]=r[k+'_limit']
for r in data['st']['rows']:
if r['trade_date'][:10] in di and r['ts_code'] in ci:risk[di[r['trade_date'][:10]],ci[r['ts_code']]]=True
print(ym,'行情就绪',flush=True)
ref=tracked(OLD/'raw/micro100/reference.json.gz')['data'];listing={r['stock_code']:r['list_date'] for r in ref['listings']['rows']}
names=defaultdict(list)
for r in ref['names']['rows']:names[r['ts_code']].append(r)
eligible=np.zeros(shape,bool)
for j,c in enumerate(codes):
ld=listing.get(c)
if not ld:quality['missing_listing_codes']+=1;continue
for i,day in enumerate(dates):
if bisect.bisect_right(calendar,day)-bisect.bisect_left(calendar,ld)<120:continue
nr=[r for r in names[c] if r['start_date']<=day and (not r['end_date'] or day<=r['end_date']) and (not r['ann_date'] or r['ann_date']<=day)]
if not nr:quality['missing_historical_name_stock_days']+=1;continue
name=max(nr,key=lambda r:r['start_date'])['name']
eligible[i,j]=not risk[i,j] and not re.search(r'ST|退',name,re.I) and np.isfinite(a['close'][i,j])
valid=np.isfinite(a['open'])&(a['open']>0)&(a['volume']>0)
buy=valid&np.isfinite(a['up'])&np.isfinite(a['down'])&(a['raw_open']<a['up']-.005)&(a['raw_open']>a['down']+.005)&~risk
sell=valid&np.isfinite(a['down'])&(a['raw_open']>a['down']+.005)
fallback=np.array([np.isfinite(a['smart'][i]).any() and np.all(a['smart'][i,np.isfinite(a['smart'][i])]==0) and np.all(a['sector'][i,np.isfinite(a['sector'][i])]==0) for i in range(len(dates))])
scored=np.isfinite(a['total'])&np.isfinite(a['smart']);eligible&=scored&~fallback[:,None]
last=np.zeros(len(codes));age=np.full(len(codes),1000)
for i in range(len(dates)):
good=np.isfinite(a['close'][i])&(a['close'][i]>0);last[good]=a['close'][i,good];age[good]=0;age[~good]+=1;a['mark'][i]=np.where(age>20,0,last)
stage300=regime(export['000300.SH']['rows'],dates)
stage2000=regime(tracked(OLD/'raw/csi2000.json')['data']['daily']['rows'],dates)
stage300.add_prefix('csi300_').join(stage2000.add_prefix('csi2000_')).rename_axis('date').to_csv(ROOT/'regimes.csv',lineterminator='\n')
cache=ROOT/'cache';cache.mkdir(exist_ok=True)
np.savez_compressed(cache/'panel.npz',dates=dates,codes=codes,eligible=eligible,can_buy=buy,can_sell=sell,regime300=stage300.stage.to_numpy(),regime2000=stage2000.stage.to_numpy(),**a)
daily=[{'date':day,'scored':int(scored[i].sum()),'eligible':int(eligible[i].sum()),'missing_quotes':int((scored[i]&~np.isfinite(a['open'][i])).sum()),'fallback':bool(fallback[i]),'regime300':int(stage300.stage.iloc[i]),'regime2000':int(stage2000.stage.iloc[i])} for i,day in enumerate(dates)]
cov={'created_at_beijing':dt.datetime.now(dt.timezone(dt.timedelta(hours=8))).isoformat(),'source_rows':total_raw,'source_dates':len(raw_dates),'source_first':min(raw_dates),'source_last':max(raw_dates),'panel_dates':len(dates),'stocks':len(codes),'common_last_signal':dates[-13],'daily':daily,'quality':dict(quality),'repairs':repair_log,'fallback_dates':[d for d,f in zip(dates,fallback) if f],'source_sha256':sources,'panel_sha256':digest(cache/'panel.npz')}
dump(ROOT/'coverage.json',cov);print(json.dumps({k:v for k,v in cov.items() if k not in ['daily','source_sha256']},ensure_ascii=False))
if __name__=='__main__':main()

View File

@ -0,0 +1,78 @@
{
"version": "1.0",
"frozen_at_beijing": "2026-10-28T16:23:00.551499+08:00",
"question": "total_score、smart_score不同下限组合和持有期,在不同市场阶段的绝对及增量收益",
"signal_start": "2025-01-02",
"data_cutoff": "2026-10-23",
"source_start": "2024-12-24",
"total_thresholds": [
0,
0.5,
0.6,
0.7,
0.8,
0.85,
0.9,
0.95,
0.98
],
"smart_thresholds": [
0,
0.4,
0.5,
0.6,
0.7,
0.8,
0.85,
0.9,
0.95
],
"hold_sessions": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"fees_bps": [
30,
60
],
"baseline": {
"total": 0.8,
"smart": 0.7,
"hold": 5
},
"screen": "总分和聪明资金分同时达到下限,0代表该轴不筛;主样本要求两分有效及当天不是全市场smart=sector=0的降级日;单因子与无分数门槛对照使用同一合格池",
"price_filter": "本轮不叠加上一轮挑出的涨跌幅或热度条件,避免混入其事后选择",
"universe": "有当日两项分数的沪深A股;上市满120交易日,历史ST/退市整理/无当日生效名称及必要价格者排除;不限定当前成分股",
"availability": "源表无入库时间或版本号,UPSERT可覆盖历史。全部结果为现存分数的假设性历史回放,不称已证明当时可用。次日开盘为主,另延迟一个交易日做敏感性",
"timing": "日频收盘信号,下一交易日开盘买入,买入后经过H交易日开盘卖出。H=1遵循T+1。重复信号独立批次不展期;卖出受阻顺延",
"shared_signal_end": "为主时序和延迟一日都留出10日正常退出时间,共用行情末日之前12个交易日的信号末日",
"regime_primary": "沪深300收盘>=60日均线且20日收益>0为上涨;收盘<60日均线且20日收益<0为下跌;其他为震荡。只使用截至信号日收盘数据,均线含当日,至少60日预热",
"regime_sensitivity": "相同规则用中证2000重标市场阶段,检查大盘与小盘口径差异;不是第二套交易研判",
"phase_attribution": "每笔按入场信号日阶段归组,持有途中不因阶段变化强平。每阶段报告信号日数和连续阶段段数;不同股票和不同参数不是独立样本",
"train": "2025-01-02至2025-12-15的信号,实际退出必须早于2026-01-01;以2026年信号为顺序验证;2024年短尾不参与选参",
"selection": "只在2025训练选择。每候选须训练至少60个成交信号日、1000笔已结束交易,各市场阶段至少10个成交日;评分为三个阶段的日等权净超额/H之最小值,对本点及三轴相邻一档取中位数;平分优先较长H、较低阈值。允许不胜出,不自动上线。分别报告全局和每阶段训练选参,测试不重选",
"metrics": "平均每批净收益、个股胜率、相对无门槛、相对仅total、相对仅smart;按年份与阶段,回撤来自实际现金约束账户。全网格不做年化推断;完整阈值矩阵在H=5展示,H=1..10用于持有期诊断",
"portfolio": "沿用上一轮冻结引擎,每日以前收资产/H预算,先卖后买,不超现金,所有入选等额,失败份额留现金;可分割复权单位;高频重复成交按各自批次扣摩擦",
"comparison_accounts": [
"无门槛,H=5",
"仅total>=0.8,H=5",
"仅smart>=0.7,H=5",
"total>=0.8且smart>=0.7,H=5",
"预设训练选择的固定参数及分阶段选择",
"训练所选参数延迟一日"
],
"limits": [
"入库版本不可核实",
"历史名称与退市覆盖不完整",
"整手最低佣金和开盘容量未建模",
"市场阶段相关且反复选参不等于独立验证"
]
}

View File

@ -0,0 +1 @@
78a76cedd6341295458094e82a520e0364e265fdf5d0fbca2eaa6a40501416a5 protocol.json

View File

@ -0,0 +1,443 @@
date,csi300_close,csi300_ma60,csi300_return20,csi300_stage,csi2000_close,csi2000_ma60,csi2000_return20,csi2000_stage
2024-12-24,3983.6882,3939.906583333334,0.037368905719560974,1,2445.9536,2363.277106666667,0.028739990834534934,1
2024-12-25,3985.6291,3949.641518333333,0.020113514442258618,1,2388.9483,2372.9811083333334,-0.012251162221845413,0
2024-12-26,3987.4801,3957.0108466666666,0.02967801194587394,1,2429.6606,2382.448913333333,0.000851378018843274,1
2024-12-27,3981.0307,3961.6332766666665,0.016455031518288532,1,2447.4776,2390.7400600000005,-0.009571291184860997,0
2024-12-30,3999.0549,3961.31995,0.01302626485954117,1,2419.2275,2394.957698333333,-0.044453385915184995,0
2024-12-31,3934.9109,3955.966861666667,-0.004296752906557844,-1,2348.1075,2394.860136666667,-0.07573417316437514,-1
2025-01-02,3820.3952,3953.7070499999995,-0.02802697063174353,-1,2313.7993,2397.86411,-0.07623782990482297,-1
2025-01-03,3775.1648,3949.9966649999997,-0.037337756099372066,-1,2211.0665,2399.1940449999997,-0.13203859316912547,-1
2025-01-06,3768.9697,3948.02671,-0.051387762401052695,-1,2192.4701,2401.630023333333,-0.1471228980182755,-1
2025-01-07,3796.1055,3945.272761666667,-0.04297548401253792,-1,2256.7082,2403.8878783333334,-0.12077784871597674,-1
2025-01-08,3789.2153,3944.159768333333,-0.05166175134682538,-1,2264.0206,2406.681146666667,-0.1266597268120817,-1
2025-01-09,3779.8773,3943.297906666666,-0.052384648654437815,-1,2276.2734,2409.4849966666666,-0.13632900364637102,-1
2025-01-10,3732.4806,3942.368888333333,-0.07348239972309334,-1,2206.9074,2411.1625966666666,-0.17151615339119197,-1
2025-01-13,3722.513,3938.990205,-0.05356168727356758,-1,2206.3599,2411.755915,-0.15846321850264222,-1
2025-01-14,3820.5395,3937.0792399999996,-0.02333992766987303,-1,2324.7826,2413.404386666667,-0.10668771520032105,-1
2025-01-15,3796.026,3934.383415,-0.032128079276428356,-1,2318.0474,2414.6169166666664,-0.0680869567244996,-1
2025-01-16,3800.3836,3931.5029933333335,-0.035898109789973764,-1,2335.1331,2416.0952066666664,-0.0690027027683251,-1
2025-01-17,3812.3429,3929.5614849999997,-0.03374016766344434,-1,2332.6573,2417.556758333333,-0.07150605016809086,-1
2025-01-20,3829.6764,3927.4490749999995,-0.024967945340430897,-1,2360.7668,2418.598356666667,-0.07268648561382951,-1
2025-01-21,3832.6145,3925.2567016666667,-0.025665554140895552,-1,2365.5769,2418.5817899999997,-0.023156084837756885,-1
2025-01-22,3797.0166,3923.1294949999997,-0.04685898861261284,-1,2334.365,2418.7990533333336,-0.045621715800332474,-1
2025-01-23,3803.7439,3921.7010816666666,-0.04563525492123699,-1,2328.3962,2418.7029183333334,-0.02534676032963956,-1
2025-01-24,3832.8637,3920.7314833333335,-0.038775466239944434,-1,2362.2023,2418.45626,-0.0277644951727003,-1
2025-01-27,3817.0802,3919.5158149999997,-0.04118292782821287,-1,2322.824,2419.260445,-0.050931456941628483,-1
2025-02-05,3795.0848,3917.021196666667,-0.051004576106219446,-1,2355.0711,2419.8268883333335,-0.02651937446974284,-1
2025-02-06,3842.8314,3913.658845,-0.023400656924658647,-1,2421.6349,2420.26914,0.03131347265830042,1
2025-02-07,3892.7028,3911.46584,0.018926733024897446,0,2458.5009,2420.967696666667,0.06253852700188811,1
2025-02-10,3901.0618,3907.3886166666666,0.03334874281514799,0,2512.8083,2421.6303516666667,0.13646889408346619,1
2025-02-11,3883.1352,3903.706753333333,0.03029090416938085,0,2505.6511,2422.022491666667,0.14284390925103163,1
2025-02-12,3919.8617,3900.185595,0.03260083261648017,1,2538.4526,2422.03682,0.12484751019205764,1
2025-02-13,3905.1398,3897.1755416666665,0.03059327349385499,1,2510.6488,2422.090668333333,0.1089337261330574,1
2025-02-14,3939.0085,3894.3108483333335,0.042099567623530953,1,2506.6525,2422.0544233333335,0.10120888817661355,1
2025-02-17,3947.3983,3892.773835,0.05758039305013396,1,2551.3773,2424.0677050000004,0.15608715617157287,1
2025-02-18,3912.7829,3891.839703333333,0.05111329362718142,1,2479.3598,2425.7569700000004,0.12373316792060995,1
2025-02-19,3940.1602,3891.6693633333334,0.031309897463434044,1,2552.7549,2429.839861666667,0.09806177145338224,1
2025-02-20,3928.8959,3890.869441666667,0.03500236826618153,1,2584.4687,2433.2519716666666,0.11493349963421795,1
2025-02-21,3978.444,3890.747296666667,0.046853270285662774,1,2617.6703,2436.1298383333337,0.1209940452644862,1
2025-02-24,3969.7169,3890.4209466666666,0.04128012724143981,1,2622.3816,2438.9383066666664,0.12420354245777987,1
2025-02-25,3925.6505,3891.4201399999997,0.025060629143496493,1,2619.679,2443.0806783333333,0.10967292491575198,1
2025-02-26,3959.9413,3893.284313333333,0.03322191678813513,1,2661.1473,2447.3022983333335,0.12494643484217316,1
2025-02-27,3968.1159,3895.4165,0.04506150960730593,1,2653.2951,2451.89687,0.1366239212805196,1
2025-02-28,3890.0487,3895.1332333333335,0.022689435006389314,0,2542.8524,2453.9680983333333,0.09210468562008489,1
2025-03-03,3888.4738,3895.3986216666667,0.014508760121055175,0,2547.4529,2455.9657500000003,0.07842283448796916,1
2025-03-04,3885.2208,3894.8759149999996,0.017851498116282727,0,2587.01,2457.8970916666667,0.11373483311693011,1
2025-03-05,3902.5706,3894.124891666667,0.028322371083776554,1,2605.9622,2459.1335716666667,0.10653228261346337,1
2025-03-06,3956.2369,3894.1973199999998,0.02951092259733268,1,2659.6743,2461.119626666667,0.09829698110148644,1
2025-03-07,3944.0143,3894.4216116666666,0.013181458394409207,1,2644.2955,2463.4452766666664,0.07557231319297064,1
2025-03-10,3928.8018,3894.54184,0.007110884528924943,1,2654.6475,2465.2323200000005,0.056446486586342326,1
2025-03-11,3941.4157,3894.0130933333335,0.015008619838938309,1,2662.3533,2466.7602866666666,0.06253951318282103,1
2025-03-12,3927.2315,3893.3574383333334,0.0018801173520994752,1,2681.8863,2468.6798933333334,0.05650438381240597,1
2025-03-13,3911.5793,3891.9564783333335,0.001648980658771837,1,2632.5662,2469.3498400000003,0.048560117209543785,1
2025-03-14,4006.5567,3892.25191,0.017148528620844594,1,2679.8238,2470.0872483333337,0.06908468565148129,1
2025-03-17,3996.7876,3891.7232900000004,0.012511861293551307,1,2700.723,2470.7027900000003,0.0585353252143459,1
2025-03-18,4007.7229,3892.9656583333335,0.02426406024213601,1,2716.9011,2472.287436666667,0.0958075145043491,1
2025-03-19,4010.168,3894.6044316666666,0.017767754722257223,1,2702.1068,2473.948718333333,0.058506165241324126,1
2025-03-20,3974.9918,3895.487071666667,0.011732532796300266,1,2705.7788,2477.5882416666664,0.04693811923510638,1
2025-03-21,3914.6956,3895.0338316666666,-0.01602345037406583,0,2648.5611,2479.9274916666673,0.011800874999422062,1
2025-03-24,3934.8486,3894.8569166666666,-0.008783573458349125,0,2598.3669,2481.361905,-0.009157591709764934,0
2025-03-25,3932.2951,3894.9327666666663,0.00169261119908648,1,2572.8175,2481.81198,-0.01788826035556268,0
2025-03-26,3919.3566,3894.6958466666665,-0.010248813536705703,0,2603.1516,2484.8369583333333,-0.021793494858401874,0
2025-03-27,3932.4117,3893.8412383333334,-0.008997771461261905,0,2584.219,2487.141381666667,-0.026034081169486134,0
2025-03-28,3915.1662,3892.6668566666663,0.006456860038795975,1,2545.2395,2489.746235,0.0009387489419361295,1
2025-03-31,3887.3056,3890.9972816666664,-0.0003004263523648243,-1,2514.3392,2491.157545,-0.012998748671663507,0
2025-04-01,3887.6841,3889.4415050000002,0.0006340180202886181,0,2536.6711,2492.644103333333,-0.01945833220590576,0
2025-04-02,3884.3858,3887.5303533333336,-0.004659697892460901,-1,2543.5847,2494.7167233333334,-0.023936456177299892,0
2025-04-03,3861.5034,3886.306895,-0.0239453557495507,-1,2517.5123,2497.540136666667,-0.053450905624045864,0
2025-04-07,3589.4406,3882.4576516666666,-0.08990172779038852,-1,2194.4786,2495.551458333334,-0.1701084088370608,-1
2025-04-08,3650.759,3880.3842216666667,-0.07077038093395294,-1,2183.1187,2495.0856616666665,-0.1776238841503439,-1
2025-04-09,3686.7943,3879.0146316666664,-0.0646015085391779,-1,2248.3397,2496.0168216666666,-0.15550663392420538,-1
2025-04-10,3735.1151,3877.9981249999996,-0.048919041314473,-1,2318.5597,2497.04768,-0.13547427420767255,-1
2025-04-11,3750.5167,3877.3531483333336,-0.04117584935578311,-1,2341.0599,2498.3316683333333,-0.11073085265624094,-1
2025-04-14,3759.1422,3877.0075633333336,-0.061752402006441165,-1,2392.1414,2500.2628016666667,-0.10735123704774918,-1
2025-04-15,3761.2348,3877.4868,-0.05893553112504646,-1,2390.9521,2503.3302133333336,-0.11469924905293882,-1
2025-04-16,3772.8204,3878.3252566666665,-0.05861246045728363,-1,2350.1019,2505.7259133333337,-0.13500646011737416,-1
2025-04-17,3772.2221,3877.5199666666667,-0.059335643793477,-1,2363.2559,2506.367135,-0.12540248224089434,-1
2025-04-18,3772.523,3877.12825,-0.050935652244615826,-1,2358.631,2507.0435283333336,-0.12829866210792995,-1
2025-04-21,3784.8806,3876.869866666667,-0.03316094359929289,-1,2412.6639,2508.3357083333335,-0.08906617257196747,-1
2025-04-22,3783.9522,3876.3966883333337,-0.03834871816923269,-1,2412.2985,2509.6630616666666,-0.07160974841543744,-1
2025-04-23,3786.8824,3875.6834550000003,-0.036979091421699195,-1,2440.6076,2510.9937416666667,-0.05138720488336246,-1
2025-04-24,3784.3574,3874.8791699999997,-0.03444422485057885,-1,2415.5516,2511.826653333334,-0.07206649048023184,-1
2025-04-25,3786.9937,3874.712121666667,-0.03697934272751757,-1,2422.4874,2513.2953599999996,-0.06258432431616678,-1
2025-04-28,3781.6188,3874.3433700000005,-0.034110276084831304,-1,2388.0251,2514.289175,-0.0617680182945457,-1
2025-04-29,3775.0767,3873.3802533333333,-0.028870614134376305,-1,2411.6782,2515.113773333333,-0.04083021097551198,-1
2025-04-30,3770.5705,3872.6050916666663,-0.03012425829557508,-1,2442.8915,2517.1148983333333,-0.03696955431076576,-1
2025-05-06,3808.5424,3872.8293849999995,-0.01952519752286197,-1,2522.3095,2519.902205,-0.008364258520661805,0
2025-05-07,3831.627,3872.642645,-0.007736986584033545,-1,2540.9823,2521.891328333333,0.009322695265481018,1
2025-05-08,3852.8963,3871.9792033333333,0.07339742577158126,0,2568.667,2523.72743,0.17051357894308006,1
2025-05-09,3846.1566,3871.064116666667,0.053522459302298486,0,2530.3446,2524.0197016666666,0.15905039886287442,1
2025-05-12,3890.6096,3871.1886900000004,0.055282525526308746,1,2570.7334,2525.1044066666664,0.14339189936467345,1
2025-05-13,3896.2583,3870.7952999999998,0.04314276687216423,1,2562.9121,2525.5120650000003,0.10538973829313103,1
2025-05-14,3943.2108,3871.4298166666663,0.05137801412802667,1,2565.7075,2526.42971,0.09595978300256203,1
2025-05-15,3907.1992,3870.899661666667,0.03938584712225035,1,2531.9618,2526.8515316666667,0.058449889291661394,1
2025-05-16,3889.0854,3869.92778,0.03399165614441291,1,2554.778,2526.90821,0.0685191058407233,1
2025-05-19,3877.1453,3869.3338200000003,0.02765170056862498,1,2576.7256,2528.5309733333333,0.09643143559009082,1
2025-05-20,3898.1705,3868.6339916666666,0.033388383997856375,1,2598.3569,2529.2910066666664,0.09948182082185864,1
2025-05-21,3916.3807,3868.425405,0.038133021322865446,1,2577.5636,2529.1759216666665,0.09282189541305952,1
2025-05-22,3913.8651,3867.34909,0.03407888217134247,1,2545.831,2527.9786,0.05519504809600706,1
2025-05-23,3882.2741,3865.8917100000003,0.025983917027281755,1,2515.8813,2526.203595,0.04293946209393251,0
2025-05-26,3860.1067,3864.799313333334,0.019336301544510492,0,2547.4564,2524.9998849999997,0.04377958996767872,1
2025-05-27,3839.3969,3862.7902400000003,0.014543948729578426,0,2552.6575,2523.191721666667,0.05675966516302111,1
2025-05-28,3836.2366,3860.592251666667,0.013003163960901176,0,2543.968,2521.369603333333,0.05014705133244446,1
2025-05-29,3858.6998,3860.06977,0.02038306981126703,0,2588.547,2522.13118,0.0839697622943747,1
2025-05-30,3840.2323,3859.265745,0.01725941091475036,0,2543.1976,2522.060258333333,0.0545343902018105,1
2025-06-03,3852.0127,3858.7122766666666,0.021599437008272382,0,2564.1167,2521.6787033333335,0.04962365295388671,1
2025-06-04,3868.7429,3858.1484816666666,0.015806703372923003,1,2591.1784,2521.432306666667,0.02730390540891192,1
2025-06-05,3877.5557,3856.8371283333336,0.011986735660856285,1,2606.5146,2520.5463116666665,0.025790144228867717,1
2025-06-06,3873.9841,3855.6699583333334,0.005473233214192685,1,2601.4941,2519.832955,0.012779819260340108,1
2025-06-09,3885.2459,3854.9440266666666,0.01016321072314108,1,2638.8858,2519.57026,0.04289581743134918,1
2025-06-10,3865.4652,3853.6781849999998,-0.006462843252121653,0,2617.3296,2518.819865,0.018125644611767244,1
2025-06-11,3894.6252,3853.134746666667,-0.0004191457224486106,0,2628.8683,2517.9362316666666,0.02573486620941856,1
2025-06-12,3892.1992,3852.811745,-0.012936564284110719,0,2635.583,2517.9865116666665,0.02723439830923824,1
2025-06-13,3864.1822,3850.4388366666667,-0.011009676701407956,0,2582.0367,2516.3567266666664,0.01977711512077307,1
2025-06-16,3873.7951,3848.3889616666665,-0.003931592759572777,0,2609.6711,2514.839195,0.021486446180450924,1
2025-06-17,3870.3786,3846.09989,-0.0017452789298353366,0,2605.9732,2512.9903966666666,0.01135068476053469,1
2025-06-18,3874.9708,3843.846603333333,-0.005951432858054884,0,2598.6865,2511.266725,0.00012684939470775092,1
2025-06-19,3843.0912,3841.6482600000004,-0.018713579096128252,0,2547.9906,2508.6369216666667,-0.01147323775056408,0
2025-06-20,3846.6443,3840.5140716666665,-0.017175042645184657,0,2524.8062,2506.5743399999997,-0.008258521480805303,0
2025-06-23,3857.9016,3839.231621666667,-0.006277892640295546,0,2573.8394,2506.165548333333,0.02303689764695971,1
2025-06-24,3904.0342,3838.760606666667,0.011379866779330339,1,2631.0436,2507.135983333333,0.032812023789690725,1
2025-06-25,3960.0662,3839.4391000000005,0.03142923306522438,1,2657.4055,2508.040215,0.04103488227464913,1
2025-06-26,3946.0195,3839.6658966666664,0.028617343361981185,1,2652.534,2509.1787983333334,0.04267585126856943,1
2025-06-27,3921.7578,3839.775756666667,0.016341773983039598,1,2664.9703,2511.1743116666667,0.02952362850664869,1
2025-06-30,3936.0791,3840.588648333333,0.024958594301704107,1,2705.9813,2514.368346666667,0.06400749198567968,1
2025-07-01,3942.762,3841.5066133333335,0.023558930633847508,1,2713.6682,2517.318298333333,0.05832476345557902,1
2025-07-02,3943.6849,3842.4949316666666,0.019371150251416225,1,2690.6791,2519.7698716666664,0.03839978752524331,1
2025-07-03,3968.0676,3844.271001666667,0.023342514460849673,1,2709.8858,2522.9760966666663,0.03965878418636137,1
2025-07-04,3982.2034,3850.8170483333333,0.02793488491602214,1,2680.6835,2531.0795116666663,0.03043996909314539,1
2025-07-07,3965.1746,3856.057308333334,0.020572365831465156,1,2698.6939,2539.6724316666664,0.022664148634245596,1
2025-07-08,3998.4527,3861.251615,0.034404009121592916,1,2733.4372,2547.7573899999998,0.044361092313325745,1
2025-07-09,3991.4006,3865.52304,0.024848450115302567,1,2731.206,2554.6348283333336,0.03892842406749697,1
2025-07-10,4010.0243,3869.848166666666,0.03027211454131118,1,2729.9444,2561.1162366666667,0.03580285652168791,1
2025-07-11,4014.807,3874.1092466666664,0.03897973547934663,1,2742.9699,2566.9633783333334,0.062328006414471115,1
2025-07-14,4017.6678,3878.38313,0.0371399870891469,1,2760.4326,2573.1213866666667,0.057770306763944346,1
2025-07-15,4019.0644,3882.4871966666665,0.03841634510897718,1,2741.4809,2579.64437,0.05199888471608238,1
2025-07-16,4007.2019,3886.403526666667,0.0341244119826658,1,2759.0598,2586.2411016666665,0.061713215503293783,1
2025-07-17,4034.491,3890.76966,0.04980360601382561,1,2789.0395,2593.414576666667,0.09460352797219884,1
2025-07-18,4058.5486,3895.330793333333,0.055088093276521644,1,2790.7649,2599.7162599999997,0.10533826319025996,1
2025-07-21,4085.6072,3900.358376666666,0.059023174670914225,1,2826.2895,2606.6161100000004,0.09808308164060286,1
2025-07-22,4118.9582,3905.8929733333334,0.055051771831302165,1,2826.4909,2613.0474983333334,0.07428508596360772,1
2025-07-23,4119.7685,3911.4831583333334,0.040328189463095354,1,2801.4877,2619.4797666666664,0.05421912463114875,1
2025-07-24,4149.0368,3917.5172099999995,0.051448630702407794,1,2832.8678,2626.31944,0.06798548105321167,1
2025-07-25,4127.1634,3923.2762866666667,0.052375901438890704,1,2841.2916,2633.873881666667,0.06616257599568742,1
2025-07-28,4135.8242,3929.2887450000003,0.05074722710730084,1,2861.5064,2641.3710183333333,0.05747456569637066,1
2025-07-29,4152.0247,3935.646315,0.05307515391494588,1,2872.0657,2648.523921666667,0.05837025322403089,1
2025-07-30,4151.2379,3941.3579066666666,0.05262920473184862,1,2846.3288,2653.9242433333334,0.05784773814164601,1
2025-07-31,4075.5912,3945.4239766666665,0.027097219815509277,1,2827.9729,2658.70742,0.04357641196540474,1
2025-08-01,4054.9286,3948.791181666667,0.01826255283695466,1,2840.9412,2663.2453233333335,0.059782402510404564,1
2025-08-04,4070.7023,3952.53361,0.026613632600188675,1,2885.3139,2669.1614783333334,0.0691519701437795,1
2025-08-05,4103.45,3956.08095,0.02625948282444357,1,2911.2842,2674.8373250000004,0.06506350319663468,1
2025-08-06,4113.4852,3959.701398333333,0.0305869072625784,1,2946.0201,2681.222458333333,0.07865173846278894,1
2025-08-07,4114.666,3962.558985,0.026095028900448236,1,2948.1274,2687.5961233333337,0.07992214053883306,1
2025-08-08,4104.9669,3965.855113333333,0.02245684537264192,1,2941.4675,2694.4212183333334,0.07236594174803024,1
2025-08-11,4122.5106,3969.7455333333332,0.0260954377562026,1,2991.5948,2701.7014983333333,0.0837412947521341,1
2025-08-12,4143.8252,3974.190198333333,0.03104224953449375,1,2993.3164,2708.644678333333,0.09186111783598427,1
2025-08-13,4176.5776,3978.830316666667,0.04226782284166908,1,3024.426,2715.7458300000003,0.09617993781794798,1
2025-08-14,4173.3131,3983.1125233333337,0.03440882629308151,1,2967.9281,2722.251905,0.0641398589012454,1
2025-08-15,4202.3533,3987.92066,0.03543254354524672,1,3028.2287,2730.291866666667,0.08508914527339795,1
2025-08-18,4239.4125,3993.872966666667,0.03764564053049457,1,3093.1144,2739.9124183333333,0.09440819845242321,1
2025-08-19,4223.3741,3999.927423333333,0.025350075171920894,1,3114.6111,2749.3649966666667,0.10193565456021814,1
2025-08-20,4271.3958,4007.1274049999997,0.03680481075574993,1,3127.8015,2758.95073,0.11647875519853246,1
2025-08-21,4288.0707,4014.6579733333333,0.03350992211011494,1,3104.5337,2768.293491666667,0.09589783893198267,1
2025-08-22,4377.9977,4023.3129383333335,0.06077644030279972,1,3126.0277,2777.251503333333,0.10021361411831164,1
2025-08-25,4469.2217,4033.7960949999997,0.08061210628827009,1,3162.6244,2787.575283333333,0.10523058763733673,1
2025-08-26,4452.5905,4043.8057249999997,0.07239017629158129,1,3163.1485,2797.5591466666665,0.10134963138203967,1
2025-08-27,4386.1266,4052.4287866666664,0.056582808708698584,1,3089.8463,2805.8702783333333,0.08555494361719584,1
2025-08-28,4463.782,4062.199225,0.09524772749533872,1,3112.2762,2814.299638333333,0.10053254046387772,1
2025-08-29,4496.7591,4072.578808333333,0.10896135137866536,1,3101.5438,2822.6338000000005,0.09173107841865913,1
2025-09-01,4523.7111,4083.219895,0.11128517062031307,1,3134.7334,2830.8979266666665,0.08644449395956544,1
2025-09-02,4490.4528,4093.636355,0.09431156709598021,1,3072.4003,2838.482438333333,0.0553419346692432,1
2025-09-03,4459.8296,4103.056428333333,0.08419731277992692,1,3010.1112,2844.8364866666666,0.021755146884435694,1
2025-09-04,4365.2085,4110.939916666666,0.06089011842030434,1,2966.6048,2850.353516666667,0.006267503907734895,1
2025-09-05,4460.3249,4120.875628333333,0.0865678113019619,1,3048.0796,2858.1208983333336,0.03624452760399355,1
2025-09-08,4467.5733,4130.771931666666,0.08370207707895294,1,3085.2103,2866.046551666667,0.03129284086200457,1
2025-09-09,4436.2584,4140.203261666667,0.07057083392417218,1,3045.3593,2873.369653333333,0.01738636784270442,1
2025-09-10,4445.3649,4149.709830000001,0.06435587357457462,1,3055.1137,2880.9767733333338,0.010146619556901104,1
2025-09-11,4548.0345,4161.458885,0.08978990816672705,1,3113.6487,2890.4044083333333,0.049098426609458734,1
2025-09-12,4521.998,4172.71478,0.0760632619822803,1,3113.9337,2900.2232,0.028302023555882627,1
2025-09-15,4533.0557,4183.967348333334,0.0692650691575778,1,3110.6046,2909.1692866666667,0.00565455968909534,1
2025-09-16,4523.3367,4194.2890566666665,0.07102439729409715,1,3160.7777,2917.9981883333335,0.014822588926110214,1
2025-09-17,4551.023,4204.138336666667,0.06546506413664588,1,3174.1685,2926.6109050000005,0.014824150445608586,1
2025-09-18,4498.109,4213.339828333334,0.04898200489091753,1,3139.755,2934.7312549999997,0.011345117625877421,1
2025-09-19,4501.9195,4223.00919,0.028305588191606335,1,3113.4021,2942.2051183333333,-0.00403886376310747,0
2025-09-22,4522.608,4232.784671666666,0.011945323723815404,1,3126.7278,2949.2175599999996,-0.011350257083958537,0
2025-09-23,4519.7781,4242.401606666666,0.015089552924303362,1,3082.0908,2955.357936666667,-0.02562563850543209,0
2025-09-24,4566.0708,4252.774705,0.04102576519337142,1,3124.8833,2962.5946733333335,0.011339398985638738,1
2025-09-25,4593.4875,4263.19837,0.02905731059446892,1,3105.76,2969.192576666667,-0.002093708778160397,0
2025-09-26,4550.0487,4272.662458333333,0.01185066818455982,1,3057.6976,2975.476145,-0.014136895310006614,0
2025-09-29,4620.0528,4283.577095,0.021297049672336588,1,3083.337,2981.8868633333336,-0.01639578025997368,0
2025-09-30,4640.6935,4294.281108333334,0.03345780630407691,1,3093.3127,2987.8847883333337,0.006806534942728648,1
2025-10-09,4709.482,4306.2491316666665,0.05597801315099571,1,3113.0059,2994.2481199999997,0.0341830228730422,1
2025-10-10,4616.8341,4316.362628333333,0.057643432152209906,1,3091.4807,3000.273725,0.04209387782289031,1
2025-10-13,4593.9785,4326.015486666667,0.02996499201212921,1,3085.5392,3005.983213333333,0.012289574064929365,1
2025-10-14,4539.0644,4334.70543,0.01600222205643509,1,3036.9306,3010.5915133333333,-0.015648754964937117,0
2025-10-15,4606.2879,4344.492488333333,0.03832723089349366,1,3088.4591,3016.374483333333,0.014152615752105246,1
2025-10-16,4618.4218,4354.679486666667,0.038929740053510686,1,3050.4203,3021.230491666667,-0.0015362439702324426,0
2025-10-17,4514.2345,4362.675211666667,-0.00743178179497106,0,2963.3308,3024.135346666667,-0.048277090475878026,-1
2025-10-20,4538.2201,4370.669736666667,0.0035873744305061628,1,3005.7514,3027.718455,-0.034741362669346465,-1
2025-10-21,4607.8715,4379.374141666666,0.016504496073145525,1,3063.8456,3031.6777233333332,-0.015032125908898908,0
2025-10-22,4592.57,4387.2676716666665,0.015305802904302945,1,3052.4469,3035.443656666667,-0.03427346377443763,0
2025-10-23,4606.3447,4395.377275000001,0.01215588231481135,1,3045.8366,3039.5161383333334,-0.04043008428821604,0
2025-10-24,4660.6835,4403.90472,0.036142854697384985,1,3074.4913,3043.5431966666665,-0.0207862396906765,0
2025-10-27,4716.0186,4413.718973333333,0.04755729195068903,1,3103.5237,3047.9137316666665,-0.0031728635372859637,0
2025-10-28,4691.973,4422.988119999999,0.03744852527568154,1,3108.8665,3052.0364,-0.005712457605040022,0
2025-10-29,4747.8378,4432.918338333333,0.05045816297928418,1,3118.328,3056.1407716666668,0.011757343424145805,1
2025-10-30,4709.911,4442.229556666667,0.0315019644461052,1,3071.3842,3059.8916950000003,-0.01712035134240053,0
2025-10-31,4640.6676,4451.6474966666665,0.010271084878319403,1,3103.7385,3064.4877883333334,-0.0006508873834424334,0
2025-11-03,4653.4028,4461.622066666666,0.022714943688404876,1,3127.7601,3069.2681033333333,0.022913482353519754,1
2025-11-04,4618.699,4470.755345,-0.00029302695415101,0,3100.9496,3072.8620316666666,0.005712187801722557,1
2025-11-05,4627.257,4479.485461666666,-0.002895364669095457,0,3124.9333,3076.42285,0.010222244909155132,1
2025-11-06,4693.4032,4489.150761666666,-0.0034141334439754534,0,3143.7167,3079.7177933333337,0.009865320203858108,1
2025-11-07,4678.7944,4498.552901666667,0.0134205168862358,1,3131.1258,3082.7677666666664,0.012823984312759773,1
2025-11-10,4695.0507,4508.387631666667,0.02200101720110359,1,3150.3517,3086.24917,0.021005242778960653,1
2025-11-11,4652.1655,4517.215213333333,0.024917271497624016,1,3162.9626,3089.1053,0.041499795879431645,1
2025-11-12,4645.9079,4525.583258333334,0.008601286081141302,1,3141.3218,3091.5720566666664,0.017116205294737563,1
2025-11-13,4702.0738,4534.341528333333,0.018112680829628802,1,3179.871,3094.1628066666667,0.04243700450065835,1
2025-11-14,4628.1398,4541.921973333334,0.025232472969669795,1,3158.8906,3097.345515,0.06599323976924887,1
2025-11-17,4598.0525,4548.51696,0.013184111541879595,1,3178.7502,3099.8542066666664,0.05755592428568779,1
2025-11-18,4568.1928,4553.996631666667,-0.008611069123780957,0,3136.8281,3100.582768333333,0.023820554142806705,1
2025-11-19,4588.2922,4560.0786,-0.0009314610338002627,0,3092.4723,3100.2137883333335,0.013112562252925786,0
2025-11-20,4564.9483,4564.971141666667,-0.008986822023979157,-1,3066.7756,3099.1966899999998,0.006874630109835689,0
2025-11-21,4453.6076,4567.730089999999,-0.04443037163969621,-1,2944.5633,3096.5305166666667,-0.04225999923954915,-1
2025-11-24,4448.0478,4568.897591666667,-0.05682140439395211,-1,2999.2626,3094.417765,-0.03359442687677883,-1
2025-11-25,4490.4047,4569.2506416666665,-0.04296024295109968,-1,3051.7084,3092.5691650000003,-0.018385511246623243,-1
2025-11-26,4517.6255,4570.334558333333,-0.04848781902364063,-1,3041.4159,3090.540288333333,-0.02466453176189287,-1
2025-11-27,4515.4027,4572.48916,-0.0412976593400598,-1,3050.924,3089.891583333333,-0.006661556701372584,-1
2025-11-28,4526.6616,4573.537153333334,-0.02456672397738624,-1,3091.3782,3089.5432833333334,-0.0039823909134096835,0
2025-12-01,4576.4856,4574.865928333334,-0.01652923748616819,0,3112.9618,3089.733583333333,-0.004731277184589655,0
2025-12-02,4554.3347,4575.376321666667,-0.013935590953209842,-1,3098.2434,3089.1254166666668,-0.0008727004140924866,0
2025-12-03,4531.0486,4576.052918333333,-0.02079166988131409,-1,3066.4164,3089.025685,-0.018725807683639184,-1
2025-12-04,4546.5664,4577.498531666667,-0.031285784268438754,-1,3043.529,3089.5826483333335,-0.031869188467268716,-1
2025-12-05,4584.5368,4581.154003333333,-0.02014570249122294,0,3100.3133,3091.8111233333334,-0.009840709689786342,0
2025-12-08,4621.7545,4583.844496666667,-0.015611375613047151,0,3145.7298,3093.438626666667,-0.0014671060377163814,0
2025-12-09,4598.2232,4586.021995,-0.011595094800475159,0,3128.9699,3094.167953333333,-0.010747107790651689,0
2025-12-10,4591.8273,4588.61481,-0.011640480432253075,0,3134.4949,3095.653546666667,-0.002173257130167361,0
2025-12-11,4552.1848,4590.395141666667,-0.03187721128494414,-1,3081.3346,3096.0905616666664,-0.030987546350150663,-1
2025-12-12,4580.95,4590.9437333333335,-0.010196277994886871,-1,3101.7655,3095.8925083333334,-0.018083912117754286,0
2025-12-15,4552.0596,4591.444759999999,-0.010002691356829962,-1,3094.4264,3095.567386666667,-0.026527343985696006,-1
2025-12-16,4497.5545,4590.853073333334,-0.015463073274840644,-1,3041.0041,3094.407378333333,-0.030548055852980927,-1
2025-12-17,4579.875,4591.795378333333,-0.0018344951962736555,-1,3063.8605,3092.7920916666667,-0.009252079638676136,-1
2025-12-18,4552.7926,4591.824871666667,-0.002662834100443212,-1,3066.0946,3090.99086,-0.00022205732952873536,-1
2025-12-19,4568.1781,4592.99269,0.025725324341551836,0,3111.1622,3090.5143133333336,0.05657847464172372,1
2025-12-22,4611.6235,4594.8210899999995,0.036774717214144825,1,3137.9195,3090.922936666667,0.046230330081800775,1
2025-12-23,4620.7341,4596.456525,0.0290239763912592,1,3118.2996,3090.7824666666666,0.021820957729775214,1
2025-12-24,4634.0586,4598.361199999999,0.025773074815519825,1,3166.7413,3092.1933083333333,0.04120626843569797,1
2025-12-25,4642.5357,4599.635615,0.028155406825619567,1,3208.14,3093.58092,0.05153061826515515,1
2025-12-26,4657.24,4600.698156666666,0.02884651240552194,1,3206.5109,3095.2601016666667,0.037243162289233966,1
2025-12-29,4639.3721,4602.18688,0.013741220992807168,1,3205.927,3097.7305916666664,0.029863906457188172,1
2025-12-30,4651.2818,4602.707363333334,0.021286775431766047,1,3200.1755,3099.6779,0.03289996518672478,1
2025-12-31,4629.9395,4602.528130000001,0.021825168681704366,1,3203.2319,3101.5098866666663,0.04461739116709662,1
2026-01-05,4717.7457,4602.665858333334,0.03765023645096233,1,3257.0905,3103.9112966666667,0.07016903732476343,1
2026-01-06,4790.6938,4605.56352,0.04496790166456943,1,3296.7971,3107.333236666667,0.06337546595694055,1
2026-01-07,4776.6658,4608.608308333333,0.03351785561089393,1,3313.9154,3111.139506666667,0.05346473177702671,1
2026-01-08,4737.6536,4611.918128333334,0.030322668982227574,1,3356.8917,3116.4721916666667,0.07284243929607626,1
2026-01-09,4758.9221,4614.462031666666,0.03638960899073873,1,3412.8377,3121.878501666667,0.08879988925807458,1
2026-01-12,4789.9155,4617.3202599999995,0.05222342906641231,1,3507.1141,3129.4900649999995,0.1381802222971824,1
2026-01-13,4761.0324,4621.433558333333,0.03931114725111606,1,3444.3116,3137.5064116666667,0.11043584693942843,1
2026-01-14,4741.9306,4624.828733333334,0.04171100923195303,1,3477.3626,3145.3665983333335,0.12375030150983712,1
2026-01-15,4751.4293,4627.221363333333,0.05644729819282901,1,3443.4653,3151.693593333334,0.13234483965345523,1
2026-01-16,4731.8728,4629.543076666667,0.03318819836785947,1,3445.0691,3158.2372966666667,0.12442100415472579,1
2026-01-19,4734.4556,4631.678258333332,0.03990144422568265,1,3484.432,3165.54722,0.13643982152409784,1
2026-01-20,4718.8782,4632.64817,0.03298910346774786,1,3449.8185,3171.802673333333,0.10885202320856169,1
2026-01-21,4723.0692,4632.7656799999995,0.024166261621314078,1,3484.1848,3178.147025,0.11034868803995779,1
2026-01-22,4723.7091,4633.294615000001,0.022285419972553733,1,3519.0616,3184.98361,0.12851940204847545,1
2026-01-23,4702.4966,4632.538928333333,0.014768479621729558,1,3584.3964,3192.7514166666665,0.13188797581918044,1
2026-01-26,4706.964,4632.489811666667,0.013877825430615331,1,3527.6287,3200.3554916666667,0.09958689458689474,1
2026-01-27,4705.6918,4633.573548333333,0.01040354372976271,1,3537.2076,3207.5799766666664,0.10313287879358213,1
2026-01-28,4717.9914,4634.650025,0.01694610785800088,1,3511.3732,3213.9735283333334,0.09527546946639776,1
2026-01-29,4753.8697,4636.902870000001,0.022055834157371557,1,3468.8146,3220.104611666667,0.08394511488510559,1
2026-01-30,4706.3401,4638.220921666667,0.016501425126613345,1,3464.6869,3225.767171666667,0.08162225157660297,1
2026-02-02,4605.9799,4636.763866666666,-0.023690509643196744,-1,3381.3605,3229.727901666666,0.03815368347916648,1
2026-02-03,4660.1074,4636.452416666667,-0.027258348258450638,0,3476.9308,3235.4913183333333,0.05463900098674568,1
2026-02-04,4698.6832,4636.512958333333,-0.016325739179826937,0,3480.8289,3240.999271666667,0.0503674595917567,1
2026-02-05,4670.4188,4636.81718,-0.014191582094562394,0,3438.212,3245.586761666667,0.024224880415415262,1
2026-02-06,4643.5959,4636.778646666667,-0.024233680984187433,0,3452.7846,3250.7778083333333,0.011704892969273129,1
2026-02-09,4719.0559,4637.061681666667,-0.014793496879015877,0,3525.8316,3256.543818333333,0.005337009138083104,1
2026-02-10,4724.2956,4638.664278333334,-0.007716141566270318,0,3522.2271,3262.5994266666667,0.02262150149248976,1
2026-02-11,4713.8185,4640.593711666666,-0.005928408146673281,0,3506.9743,3268.069828333333,0.00851556291541189,1
2026-02-12,4719.578,4643.1167983333335,-0.006703519717740414,0,3516.2864,3274.3941333333337,0.021147621263963412,1
2026-02-13,4660.4056,4644.318688333334,-0.015103364570577593,0,3493.1845,3281.07267,0.01396645425776799,1
2026-02-24,4707.544,4646.6952833333335,-0.005684201579586157,0,3536.6924,3288.9046166666667,0.014998255095808988,1
2026-02-25,4735.8858,4651.39992,0.003604161684020557,1,3573.6295,3299.3890533333333,0.035889134457363525,1
2026-02-26,4726.8739,4656.047021666667,0.0008055566918223622,1,3601.8886,3309.43282,0.03378230683975203,1
2026-02-27,4710.6469,4659.7177249999995,-0.0027652422542278066,0,3630.8267,3319.0847916666667,0.03175991576845383,1
2026-03-02,4728.6688,4663.235113333333,0.005565596793839278,1,3570.2415,3327.8985516666667,-0.0039490330924336625,0
2026-03-03,4655.8962,4665.576671666667,-0.010849413762246685,-1,3421.7463,3334.0789233333335,-0.03001517705080481,0
2026-03-04,4602.6247,4666.842723333334,-0.021902645642878582,-1,3419.5692,3339.5487733333334,-0.033257420344794064,0
2026-03-05,4647.6921,4668.029498333333,-0.014900260309927638,-1,3475.276,3345.5873433333336,-0.010280080738783393,0
2026-03-06,4660.439,4669.797903333334,-0.01965360977394892,-1,3521.9498,3352.6491166666665,0.015317970582803708,1
2026-03-09,4615.4551,4671.2046783333335,-0.019311184076985843,-1,3492.6216,3359.752536666667,0.008062691032774127,1
2026-03-10,4674.7562,4673.341175,0.01493195834397798,1,3568.9584,3368.5096933333334,0.05548000575507994,1
2026-03-11,4704.4959,4675.340493333333,0.009525209655039335,1,3559.2449,3376.158553333333,0.02367435670563256,1
2026-03-12,4687.5601,4676.4372533333335,-0.002367280262691618,0,3517.9944,3382.362963333333,0.01067719818115731,1
2026-03-13,4669.14,4677.6192,-0.0002738084216344916,-1,3471.4975,3388.0717566666663,0.00968104933610836,1
2026-03-16,4671.5591,4678.948063333333,0.006021884893127716,0,3482.1787,3393.866486666667,0.008513157756785628,1
2026-03-17,4637.4392,4680.36897,-0.017295133121860373,-1,3395.1872,3399.0973633333333,-0.037053499662320855,-1
2026-03-18,4658.3324,4681.658676666667,-0.013962547136127545,-1,3448.3654,3404.874028333333,-0.020970169697462127,0
2026-03-19,4583.2511,4682.178535,-0.027698860276440418,-1,3360.3286,3409.305731666667,-0.041815447578272824,-1
2026-03-20,4567.0179,4683.336258333334,-0.032324945153994866,-1,3273.5389,3413.1813116666667,-0.06903519008007997,-1
2026-03-23,4417.9971,4680.638293333333,-0.052014464148785744,-1,3097.1313,3413.735825,-0.11337883813465899,-1
2026-03-24,4474.7224,4679.337123333334,-0.04945712668856628,-1,3213.0021,3416.184283333333,-0.09152345281710106,-1
2026-03-25,4537.4656,4678.825248333334,-0.041897167368351584,-1,3286.4031,3419.104965,-0.08037386080454056,-1
2026-03-26,4477.5343,4676.590428333334,-0.052749365706582396,-1,3234.4746,3420.7142166666667,-0.10200593099964284,-1
2026-03-27,4502.5698,4674.621023333334,-0.04417166143359197,-1,3285.1181,3423.494525,-0.09521484459723728,-1
2026-03-30,4491.95,4672.2525466666675,-0.050060346793583954,-1,3297.1653,3425.6682583333336,-0.07648675866884636,-1
2026-03-31,4450.0493,4669.04444,-0.044212089608011595,-1,3242.2182,3426.236228333333,-0.05246680620360433,-1
2026-04-01,4526.0668,4666.85822,-0.016633530863379042,-1,3309.0422,3427.9450833333335,-0.03232190768357601,-1
2026-04-02,4478.9141,4664.1839199999995,-0.03631436772672614,-1,3251.0498,3428.69713,-0.06452040068184517,-1
2026-04-03,4440.7889,4660.675705,-0.04713077459011927,-1,3183.9575,3428.42683,-0.09596738147715789,-1
2026-04-07,4440.6162,4657.520316666666,-0.037881183157864484,-1,3227.6057,3428.83306,-0.07587878973204543,-1
2026-04-08,4595.556,4655.483821666667,-0.016942102777466772,-1,3369.8474,3430.7123416666664,-0.055789666811470795,-1
2026-04-09,4566.2237,4651.742653333334,-0.029391501861017688,-1,3344.6689,3431.510205,-0.06028694457074313,-1
2026-04-10,4636.5655,4649.407648333334,-0.010878708520451807,-1,3368.1968,3432.414895,-0.04258039751285558,-1
2026-04-13,4646.1546,4647.882665,-0.004922833755252709,-1,3378.44,3432.774033333333,-0.026806154980667518,-1
2026-04-14,4701.2837,4646.922025000001,0.006362886429072345,1,3421.6042,3432.9201416666665,-0.017395574787703927,-1
2026-04-15,4685.2464,4645.177540000001,0.010308965344494547,1,3405.5198,3431.2269033333337,0.0030433078918299383,0
2026-04-16,4736.6077,4644.770461666666,0.01680328780316298,1,3469.3604,3431.6443833333333,0.006088391908815716,1
2026-04-17,4728.6716,4644.549478333332,0.03172867836108728,1,3486.9088,3431.8034866666667,0.037668994633441644,1
2026-04-20,4757.4419,4644.649688333334,0.04169547923164485,1,3519.78,3433.0753983333334,0.07522168134308727,1
2026-04-21,4767.997,4645.251758333334,0.07922139650114324,1,3513.4243,3434.2146516666667,0.13441244806121078,1
2026-04-22,4799.627,4646.337948333333,0.07260888407289823,1,3541.8714,3435.1719749999997,0.10235576876840513,1
2026-04-23,4786.3273,4647.4621,0.05484596952095888,1,3485.3865,3435.764775,0.06054747209799061,1
2026-04-24,4769.3688,4648.23376,0.06517750182282245,1,3458.9175,3435.343653333333,0.06939083707752713,1
2026-04-27,4770.9469,4649.0210566666665,0.05960531694589166,1,3493.789,3434.9224433333334,0.06352006035947388,1
2026-04-28,4758.2083,4649.949585,0.05927454668907717,1,3453.1333,3432.7347250000003,0.04730366415053555,1
2026-04-29,4810.3468,4651.672631666666,0.08096483335589122,1,3494.3908,3432.18076,0.07777780039603766,1
2026-04-30,4807.3069,4653.366216666666,0.06213785885793821,1,3512.5554,3431.7698900000005,0.061502147056329504,1
2026-05-06,4877.0932,4656.017913333333,0.08890081191778165,1,3583.9252,3432.9790900000003,0.10239012641393574,1
2026-05-07,4900.5098,4658.461914999999,0.10352234937355398,1,3653.1161,3436.0507816666664,0.14735077336930535,1
2026-05-08,4871.9122,4661.22145,0.09712525932774807,1,3689.5483,3439.7984716666665,0.14312237706111364,1
2026-05-11,4951.8366,4666.985728333334,0.07752720236680832,1,3731.607,3445.6359133333335,0.10735192341350519,1
2026-05-12,4948.0465,4671.784713333333,0.08361894315427443,1,3698.8677,3449.334861666667,0.10589951071091064,1
2026-05-13,4998.3417,4676.779021666666,0.07802676356022586,1,3753.2471,3453.8751649999995,0.11431941862779516,1
2026-05-14,4914.5971,4680.84866,0.05777734989705263,1,3679.3023,3457.8933366666665,0.08905361646203569,1
2026-05-15,4859.5927,4684.448606666668,0.03367356877441807,1,3663.8329,3461.4108083333335,0.0707938983708285,1
2026-05-18,4833.5237,4686.356403333333,0.031647705870922804,1,3674.7006,3463.891958333333,0.07904250035486515,1
2026-05-19,4852.8832,4688.49953,0.02454826478452099,1,3714.6643,3467.099245,0.07070579925913711,1
2026-05-20,4850.7,4690.780888333333,0.025806063588767802,1,3700.6371,3470.326958333333,0.061294490982958916,1
2026-05-21,4783.0976,4691.839548333333,0.005392751091715997,1,3570.5252,3471.230938333333,0.01441715107194197,1
2026-05-22,4845.0956,4694.9177150000005,0.01617001856335043,1,3664.5212,3474.08655,0.04300559428589379,1
2026-05-25,4921.5974,4698.485271666666,0.025412474761059345,1,3674.8203,3476.3886816666663,0.03753634307558418,1
2026-05-26,4947.8493,4702.0179966666665,0.0337465429913244,1,3609.1698,3476.98102,0.035514942173558106,1
2026-05-27,4908.1714,4705.039621666667,0.029102928672657846,1,3534.2034,3475.8529333333336,0.021765740293025138,1
2026-05-28,4914.2133,4708.432395,0.030028923608435232,1,3589.6986,3475.167465,0.027451457429169324,1
2026-05-29,4892.1213,4711.156603333333,0.028143576648378188,1,3470.6919,3473.5083050000003,0.0050848312169125,0
2026-06-01,4844.2556,4714.295926666668,0.007049138328238724,1,3468.8676,3474.2936600000003,-0.007304048534010565,-1
2026-06-02,4914.5591,4719.494833333332,0.02231024609641641,1,3460.3172,3474.9727933333334,-0.014871850846822299,-1
2026-06-03,4938.8091,4724.3467833333325,0.012654238389375072,1,3467.0201,3474.8351949999997,-0.03261929127315488,-1
2026-06-04,4904.7454,4728.4185566666665,0.000864318238890105,1,3462.2428,3473.8400783333336,-0.05224944808077692,-1
2026-06-05,4816.9199,4731.776303333333,-0.011287621316328322,0,3466.5158,3473.4049816666666,-0.06044981170188224,-1
2026-06-08,4713.6358,4732.424296666667,-0.04810352587159272,-1,3354.7062,3469.8341116666666,-0.10100227596314404,-1
2026-06-09,4801.8106,4734.046208333334,-0.029554269548598744,0,3429.466,3467.67113,-0.07283355930789304,-1
2026-06-10,4748.5932,4735.063426666667,-0.04996627181370972,0,3368.0292,3465.1717100000005,-0.1026359015903856,-1
2026-06-11,4722.4122,4735.951296666667,-0.03910491462260457,-1,3346.8774,3463.0947083333335,-0.09034998293018759,-1
2026-06-12,4777.3206,4737.713988333333,-0.016929834469460836,0,3363.5154,3461.116986666667,-0.08196812141732768,-1
2026-06-15,4891.7126,4741.951878333333,0.012038608603491596,1,3480.167,3462.533316666667,-0.05293862580260289,0
2026-06-16,4884.2322,4745.716875,0.006459871113320803,1,3537.9445,3464.0263016666668,-0.047573558665853,0
2026-06-17,4931.3861,4751.519125000001,0.016633908508050466,1,3547.9501,3467.1533266666665,-0.041259652290682625,0
2026-06-18,4941.5986,4757.762136666667,0.033137730662238685,1,3561.7105,3471.956186666667,-0.0024687404530850943,0
2026-06-22,5059.6582,4768.456488333334,0.04428449254953826,1,3589.0089,3480.1541466666667,-0.020606320956746083,0
2026-06-23,4919.386,4775.867548333334,-0.0004493256599980011,0,3571.3476,3486.126571666667,-0.02815721356497347,0
2026-06-24,4943.0197,4782.626783333332,-0.0009761008687148021,0,3569.4094,3490.8433433333335,-0.01101649470745325,0
2026-06-25,5020.1038,4791.669608333334,0.022805316049068658,1,3538.0935,3495.9036583333336,0.0011007006557688381,1
2026-06-26,4868.2205,4797.763786666666,-0.009359137911250204,0,3446.9849,3498.6014383333336,-0.03975645754771728,-1
2026-06-29,4926.921,4805.013303333332,0.00711341724090131,1,3415.0058,3500.5654466666665,-0.01604466821154593,-1
2026-06-30,4979.4328,4813.836361666667,0.02790463822759448,1,3494.5864,3504.7715833333336,0.00741417746817441,0
2026-07-01,4958.9773,4821.051536666667,0.009038084413309555,1,3545.3819,3508.710578333333,0.02458291973926552,1
2026-07-02,4812.2957,4826.607896666666,-0.025616175365028915,-1,3481.7066,3512.554858333334,0.004236058510303842,0
2026-07-03,4842.1737,4833.297643333334,-0.012757379822406212,0,3487.715,3517.6174833333334,0.00735713855770026,0
2026-07-06,4841.998,4839.987340000001,0.005206252235998354,1,3413.5572,3520.716675,-0.015277184082068795,-1
2026-07-07,4792.2624,4843.26578,0.016680669304149465,0,3313.1095,3519.7710433333336,-0.012399506102799718,-1
2026-07-08,4755.5338,4846.420948333334,-0.009637364705721518,-1,3233.4737,3517.91779,-0.05714950957379372,-1
2026-07-09,4876.3125,4850.416731666667,0.026896239500995733,1,3277.0738,3516.3990733333335,-0.027005525961592003,-1
2026-07-10,4780.7867,4852.6606,0.012361161526729836,0,3272.9877,3514.641535,-0.0220772054572419,-1
2026-07-13,4695.383,4852.562255,-0.01715137141936851,-1,3088.0007,3509.0814766666667,-0.0819127214342471,-1
2026-07-14,4796.502,4854.416515,-0.019463653690529492,-1,3143.758,3504.71878,-0.09666461408317473,-1
2026-07-15,4786.7828,4855.252766666667,-0.019951836032693238,-1,3118.7468,3498.87522,-0.1184862283735656,-1
2026-07-16,4698.4344,4854.748813333334,-0.04723858470542386,-1,3060.6182,3491.7703766666664,-0.13735590587928515,-1
2026-07-17,4529.0953,4850.943036666666,-0.08347567930750188,-1,2871.411,3480.9642266666665,-0.1938112319909212,-1
2026-07-20,4598.3208,4848.1151,-0.09117955833459257,-1,2754.7279,3468.319286666667,-0.23245442495280522,-1
2026-07-21,4739.2287,4847.108461666667,-0.0366219076933586,-1,2821.8145,3456.318338333333,-0.20987402626392349,-1
2026-07-22,4717.2442,4845.9570766666675,-0.0456756221303346,-1,2786.2781,3444.666531666667,-0.2194008061949968,-1
2026-07-23,4728.0018,4845.267626666667,-0.05818644626431824,-1,2832.8432,3434.2319599999996,-0.1993305999403352,-1
2026-07-24,4649.1917,4843.238373333333,-0.04499155286824008,-1,2754.6389,3421.912791666667,-0.2008555360947476,-1
2026-07-27,4702.4272,4842.308688333333,-0.04556472490628527,-1,2851.7202,3411.8892399999995,-0.1649442586598242,-1
2026-07-28,4569.5235,4838.294966666666,-0.08232048035671846,-1,2803.3707,3400.372238333333,-0.19779613976635413,-1
2026-07-29,4600.2624,4834.844225,-0.07233646744057487,-1,2815.1152,3388.7482349999996,-0.20597687938780296,-1
2026-07-30,4549.7201,4829.388006666666,-0.054563479962380534,-1,2722.1273,3374.384936666667,-0.2181629261925746,-1
2026-07-31,4588.1968,4824.182790000001,-0.052451009760348,-1,2809.2143,3360.3199066666666,-0.19454017888502928,-1
2026-08-03,4543.1781,4818.7038883333325,-0.061714172537865486,-1,2839.1571,3346.14672,-0.16827024313522565,-1
2026-08-04,4600.9304,4812.855451666666,-0.03992519274403661,-1,2920.8145,3332.6335116666664,-0.11840689237708568,-1
2026-08-05,4658.1549,4808.023925,-0.0204769651726584,-1,3000.2908,3320.9905633333333,-0.07211529198459221,-1
2026-08-06,4651.3098,4802.24006,-0.04614197715999535,-1,3036.4679,3309.0442433333333,-0.07342095866135212,-1
2026-08-07,4694.4365,4798.570716666667,-0.018061922737527714,-1,3085.257,3299.1434883333336,-0.05735759410278263,-1
2026-08-10,4702.0247,4795.944583333333,0.0014145171969996984,0,3120.8289,3290.0934216666665,0.010630891372531037,0
2026-08-11,4663.7887,4793.115666666667,-0.02766876778118732,-1,3105.7378,3280.6107083333336,-0.012093869820768655,-1
2026-08-12,4690.9165,4790.4162216666655,-0.020027292652593287,-1,3159.9817,3271.3659983333337,0.013221624788520847,0
2026-08-13,4663.9513,4787.303743333334,-0.0073392745464320175,-1,3124.7932,3261.7686000000003,0.020967986140839168,0
2026-08-14,4665.8812,4785.350136666666,0.030201594565696155,0,3149.1391,3254.745498333333,0.09672182073551983,0
2026-08-17,4741.0981,4783.616845,0.03104987803373782,0,3225.6361,3247.4307466666664,0.170945449821015,0
2026-08-18,4725.8134,4780.353778333333,-0.002830692682123548,-1,3217.1122,3239.8022783333336,0.14008635223895838,0
2026-08-19,4588.6955,4774.367881666667,-0.027250804611726576,-1,3037.1112,3230.267968333333,0.0900244307989213,0
2026-08-20,4592.7504,4769.110865,-0.02860646119043353,-1,3084.5852,3222.7743316666665,0.08886549033140989,0
2026-08-21,4618.8952,4764.1888966666675,-0.006516509095548906,-1,3091.3694,3214.4688450000003,0.12224124911617285,0
2026-08-24,4563.1266,4758.705651666667,-0.029623127392594317,-1,3045.137,3207.376263333333,0.06782460635513954,0
2026-08-25,4552.0326,4753.835268333333,-0.0038277295214699247,-1,3094.2935,3201.1333616666666,0.10377607214058426,0
2026-08-26,4590.7935,4748.439175,-0.0020583391069169954,-1,3091.3397,3194.983736666667,0.09812191700005735,0
2026-08-27,4630.277,4743.296973333333,0.017705902391665918,0,3152.4541,3189.7409700000003,0.15808474497133163,0
2026-08-28,4609.1764,4738.370823333333,0.004572515285307777,0,3149.1759,3184.523188333333,0.12101661307932265,0
2026-08-31,4625.0862,4735.173595,0.01802881115314392,0,3180.13,3179.750091666667,0.12009652442268881,1
2026-09-01,4611.4394,4733.470321666667,0.0022841032326852417,0,3174.6163,3176.7485933333332,0.0868941865359818,0
2026-09-02,4547.9559,4729.23941,-0.023657221016845198,-1,3154.3944,3172.1640666666667,0.05136288789073373,0
2026-09-03,4552.5784,4725.972496666667,-0.021226580091482927,-1,3153.7786,3168.593223333333,0.038633933854528735,0
2026-09-04,4548.0499,4723.066458333333,-0.03118299714992412,-1,3120.61,3164.8221,0.011458688854769639,0
2026-09-07,4575.0245,4719.694856666667,-0.027009683721993083,-1,3172.3544,3161.636083333333,0.01651019701849088,1
2026-09-08,4558.7371,4714.145264999999,-0.022524948439452186,-1,3189.7567,3156.7959116666666,0.027052798855073945,1
2026-09-09,4572.5995,4708.951386666667,-0.02522257644108561,-1,3181.8688,3150.8613166666664,0.006926337579739927,1
2026-09-10,4548.3898,4702.568115,-0.024777595769492677,-1,3130.9604,3143.911488333333,0.001973634607243646,0
2026-09-11,4510.1554,4695.3773949999995,-0.03337543184768621,-1,3073.668,3135.777446666667,-0.023965629209582895,-1
2026-09-14,4480.0821,4685.717793333332,-0.05505391251026859,-1,3104.5704,3127.7034716666667,-0.03753234904582081,-1
2026-09-15,4450.0402,4677.895363333333,-0.05835465276728857,-1,3068.612,3119.324545,-0.04615947183937197,-1
2026-09-16,4480.2683,4670.18284,-0.023629199191796513,-1,3132.9682,3112.0505249999997,0.031561900005505183,1
2026-09-17,4460.1557,4660.850371666666,-0.02887043458751859,-1,3136.5773,3105.3585883333335,0.01685545920404463,1
2026-09-18,4507.3926,4654.836573333333,-0.02414053473220168,-1,3192.2066,3101.1122833333334,0.032618942271991136,1
2026-09-21,4539.5654,4648.380646666667,-0.005163389505782989,-1,3256.5305,3098.4710283333334,0.06942002937798852,1
2026-09-22,4544.5875,4641.133225,-0.0016355550704975075,-1,3258.6651,3094.539006666667,0.053120882036561845,1
2026-09-23,4517.2785,4633.771578333332,-0.01601357151002314,-1,3259.7898,3089.7791383333333,0.054490970371195324,1
2026-09-24,4439.1443,4627.5523883333335,-0.04127889109010108,-1,3209.6326,3085.2445716666666,0.018137773996455664,1
2026-09-28,4340.755,4619.195409999999,-0.05823630442957228,-1,3104.8441,3078.86339,-0.014077270183605939,0
2026-09-29,4345.2088,4610.9155900000005,-0.06051290460272918,-1,3128.9542,3074.1200066666665,-0.016092361004109934,0
2026-09-30,4357.6155,4603.671475,-0.05504222824656446,-1,3107.2648,3070.6892616666664,-0.02121563478395805,0
2026-10-08,4310.2765,4596.25052,-0.052260709036338726,-1,3064.0022,3067.864736666667,-0.028655960079056797,-1
2026-10-09,4317.2549,4586.932893333333,-0.05169015870215443,-1,3065.2988,3064.3351533333334,-0.028055171659798872,0
2026-10-12,4287.9798,4578.719445,-0.05718277189526877,-1,3000.9452,3059.8011116666667,-0.03834660531114109,-1
2026-10-13,4275.68,4571.724395,-0.06543014141235748,-1,3024.9508,3058.75028,-0.04646504816738006,-1
2026-10-14,4217.6801,4562.077363333334,-0.07481392160122602,-1,2960.1874,3055.69077,-0.07197078698823645,-1
2026-10-15,4166.0124,4551.73119,-0.08891815257382607,-1,2862.5847,3051.421401666667,-0.10034483508559511,-1
2026-10-16,4170.6131,4542.934168333333,-0.08305723928938558,-1,2868.9849,3048.2275133333333,-0.08367256896637854,-1
2026-10-19,4174.5349,4537.024828333334,-0.07441439822672191,-1,2855.6636,3047.9650566666664,-0.07092646310531925,-1
2026-10-20,4152.1076,4529.587941666667,-0.0732072521617404,-1,2902.7,3050.431258333333,-0.06502361808255341,-1
2026-10-21,4111.9325,4519.133005,-0.07597857205874237,-1,2902.2333,3051.7715716666667,-0.05421952987213774,-1
2026-10-22,4036.2966,4507.783878333333,-0.09909489125907922,-1,2804.4573,3052.0745583333332,-0.10485612334016026,-1
2026-10-23,4105.3286,4497.405991666667,-0.07955486845448023,-1,2856.2698,3052.465001666667,-0.08936731768096384,-1
1 date csi300_close csi300_ma60 csi300_return20 csi300_stage csi2000_close csi2000_ma60 csi2000_return20 csi2000_stage
2 2024-12-24 3983.6882 3939.906583333334 0.037368905719560974 1 2445.9536 2363.277106666667 0.028739990834534934 1
3 2024-12-25 3985.6291 3949.641518333333 0.020113514442258618 1 2388.9483 2372.9811083333334 -0.012251162221845413 0
4 2024-12-26 3987.4801 3957.0108466666666 0.02967801194587394 1 2429.6606 2382.448913333333 0.000851378018843274 1
5 2024-12-27 3981.0307 3961.6332766666665 0.016455031518288532 1 2447.4776 2390.7400600000005 -0.009571291184860997 0
6 2024-12-30 3999.0549 3961.31995 0.01302626485954117 1 2419.2275 2394.957698333333 -0.044453385915184995 0
7 2024-12-31 3934.9109 3955.966861666667 -0.004296752906557844 -1 2348.1075 2394.860136666667 -0.07573417316437514 -1
8 2025-01-02 3820.3952 3953.7070499999995 -0.02802697063174353 -1 2313.7993 2397.86411 -0.07623782990482297 -1
9 2025-01-03 3775.1648 3949.9966649999997 -0.037337756099372066 -1 2211.0665 2399.1940449999997 -0.13203859316912547 -1
10 2025-01-06 3768.9697 3948.02671 -0.051387762401052695 -1 2192.4701 2401.630023333333 -0.1471228980182755 -1
11 2025-01-07 3796.1055 3945.272761666667 -0.04297548401253792 -1 2256.7082 2403.8878783333334 -0.12077784871597674 -1
12 2025-01-08 3789.2153 3944.159768333333 -0.05166175134682538 -1 2264.0206 2406.681146666667 -0.1266597268120817 -1
13 2025-01-09 3779.8773 3943.297906666666 -0.052384648654437815 -1 2276.2734 2409.4849966666666 -0.13632900364637102 -1
14 2025-01-10 3732.4806 3942.368888333333 -0.07348239972309334 -1 2206.9074 2411.1625966666666 -0.17151615339119197 -1
15 2025-01-13 3722.513 3938.990205 -0.05356168727356758 -1 2206.3599 2411.755915 -0.15846321850264222 -1
16 2025-01-14 3820.5395 3937.0792399999996 -0.02333992766987303 -1 2324.7826 2413.404386666667 -0.10668771520032105 -1
17 2025-01-15 3796.026 3934.383415 -0.032128079276428356 -1 2318.0474 2414.6169166666664 -0.0680869567244996 -1
18 2025-01-16 3800.3836 3931.5029933333335 -0.035898109789973764 -1 2335.1331 2416.0952066666664 -0.0690027027683251 -1
19 2025-01-17 3812.3429 3929.5614849999997 -0.03374016766344434 -1 2332.6573 2417.556758333333 -0.07150605016809086 -1
20 2025-01-20 3829.6764 3927.4490749999995 -0.024967945340430897 -1 2360.7668 2418.598356666667 -0.07268648561382951 -1
21 2025-01-21 3832.6145 3925.2567016666667 -0.025665554140895552 -1 2365.5769 2418.5817899999997 -0.023156084837756885 -1
22 2025-01-22 3797.0166 3923.1294949999997 -0.04685898861261284 -1 2334.365 2418.7990533333336 -0.045621715800332474 -1
23 2025-01-23 3803.7439 3921.7010816666666 -0.04563525492123699 -1 2328.3962 2418.7029183333334 -0.02534676032963956 -1
24 2025-01-24 3832.8637 3920.7314833333335 -0.038775466239944434 -1 2362.2023 2418.45626 -0.0277644951727003 -1
25 2025-01-27 3817.0802 3919.5158149999997 -0.04118292782821287 -1 2322.824 2419.260445 -0.050931456941628483 -1
26 2025-02-05 3795.0848 3917.021196666667 -0.051004576106219446 -1 2355.0711 2419.8268883333335 -0.02651937446974284 -1
27 2025-02-06 3842.8314 3913.658845 -0.023400656924658647 -1 2421.6349 2420.26914 0.03131347265830042 1
28 2025-02-07 3892.7028 3911.46584 0.018926733024897446 0 2458.5009 2420.967696666667 0.06253852700188811 1
29 2025-02-10 3901.0618 3907.3886166666666 0.03334874281514799 0 2512.8083 2421.6303516666667 0.13646889408346619 1
30 2025-02-11 3883.1352 3903.706753333333 0.03029090416938085 0 2505.6511 2422.022491666667 0.14284390925103163 1
31 2025-02-12 3919.8617 3900.185595 0.03260083261648017 1 2538.4526 2422.03682 0.12484751019205764 1
32 2025-02-13 3905.1398 3897.1755416666665 0.03059327349385499 1 2510.6488 2422.090668333333 0.1089337261330574 1
33 2025-02-14 3939.0085 3894.3108483333335 0.042099567623530953 1 2506.6525 2422.0544233333335 0.10120888817661355 1
34 2025-02-17 3947.3983 3892.773835 0.05758039305013396 1 2551.3773 2424.0677050000004 0.15608715617157287 1
35 2025-02-18 3912.7829 3891.839703333333 0.05111329362718142 1 2479.3598 2425.7569700000004 0.12373316792060995 1
36 2025-02-19 3940.1602 3891.6693633333334 0.031309897463434044 1 2552.7549 2429.839861666667 0.09806177145338224 1
37 2025-02-20 3928.8959 3890.869441666667 0.03500236826618153 1 2584.4687 2433.2519716666666 0.11493349963421795 1
38 2025-02-21 3978.444 3890.747296666667 0.046853270285662774 1 2617.6703 2436.1298383333337 0.1209940452644862 1
39 2025-02-24 3969.7169 3890.4209466666666 0.04128012724143981 1 2622.3816 2438.9383066666664 0.12420354245777987 1
40 2025-02-25 3925.6505 3891.4201399999997 0.025060629143496493 1 2619.679 2443.0806783333333 0.10967292491575198 1
41 2025-02-26 3959.9413 3893.284313333333 0.03322191678813513 1 2661.1473 2447.3022983333335 0.12494643484217316 1
42 2025-02-27 3968.1159 3895.4165 0.04506150960730593 1 2653.2951 2451.89687 0.1366239212805196 1
43 2025-02-28 3890.0487 3895.1332333333335 0.022689435006389314 0 2542.8524 2453.9680983333333 0.09210468562008489 1
44 2025-03-03 3888.4738 3895.3986216666667 0.014508760121055175 0 2547.4529 2455.9657500000003 0.07842283448796916 1
45 2025-03-04 3885.2208 3894.8759149999996 0.017851498116282727 0 2587.01 2457.8970916666667 0.11373483311693011 1
46 2025-03-05 3902.5706 3894.124891666667 0.028322371083776554 1 2605.9622 2459.1335716666667 0.10653228261346337 1
47 2025-03-06 3956.2369 3894.1973199999998 0.02951092259733268 1 2659.6743 2461.119626666667 0.09829698110148644 1
48 2025-03-07 3944.0143 3894.4216116666666 0.013181458394409207 1 2644.2955 2463.4452766666664 0.07557231319297064 1
49 2025-03-10 3928.8018 3894.54184 0.007110884528924943 1 2654.6475 2465.2323200000005 0.056446486586342326 1
50 2025-03-11 3941.4157 3894.0130933333335 0.015008619838938309 1 2662.3533 2466.7602866666666 0.06253951318282103 1
51 2025-03-12 3927.2315 3893.3574383333334 0.0018801173520994752 1 2681.8863 2468.6798933333334 0.05650438381240597 1
52 2025-03-13 3911.5793 3891.9564783333335 0.001648980658771837 1 2632.5662 2469.3498400000003 0.048560117209543785 1
53 2025-03-14 4006.5567 3892.25191 0.017148528620844594 1 2679.8238 2470.0872483333337 0.06908468565148129 1
54 2025-03-17 3996.7876 3891.7232900000004 0.012511861293551307 1 2700.723 2470.7027900000003 0.0585353252143459 1
55 2025-03-18 4007.7229 3892.9656583333335 0.02426406024213601 1 2716.9011 2472.287436666667 0.0958075145043491 1
56 2025-03-19 4010.168 3894.6044316666666 0.017767754722257223 1 2702.1068 2473.948718333333 0.058506165241324126 1
57 2025-03-20 3974.9918 3895.487071666667 0.011732532796300266 1 2705.7788 2477.5882416666664 0.04693811923510638 1
58 2025-03-21 3914.6956 3895.0338316666666 -0.01602345037406583 0 2648.5611 2479.9274916666673 0.011800874999422062 1
59 2025-03-24 3934.8486 3894.8569166666666 -0.008783573458349125 0 2598.3669 2481.361905 -0.009157591709764934 0
60 2025-03-25 3932.2951 3894.9327666666663 0.00169261119908648 1 2572.8175 2481.81198 -0.01788826035556268 0
61 2025-03-26 3919.3566 3894.6958466666665 -0.010248813536705703 0 2603.1516 2484.8369583333333 -0.021793494858401874 0
62 2025-03-27 3932.4117 3893.8412383333334 -0.008997771461261905 0 2584.219 2487.141381666667 -0.026034081169486134 0
63 2025-03-28 3915.1662 3892.6668566666663 0.006456860038795975 1 2545.2395 2489.746235 0.0009387489419361295 1
64 2025-03-31 3887.3056 3890.9972816666664 -0.0003004263523648243 -1 2514.3392 2491.157545 -0.012998748671663507 0
65 2025-04-01 3887.6841 3889.4415050000002 0.0006340180202886181 0 2536.6711 2492.644103333333 -0.01945833220590576 0
66 2025-04-02 3884.3858 3887.5303533333336 -0.004659697892460901 -1 2543.5847 2494.7167233333334 -0.023936456177299892 0
67 2025-04-03 3861.5034 3886.306895 -0.0239453557495507 -1 2517.5123 2497.540136666667 -0.053450905624045864 0
68 2025-04-07 3589.4406 3882.4576516666666 -0.08990172779038852 -1 2194.4786 2495.551458333334 -0.1701084088370608 -1
69 2025-04-08 3650.759 3880.3842216666667 -0.07077038093395294 -1 2183.1187 2495.0856616666665 -0.1776238841503439 -1
70 2025-04-09 3686.7943 3879.0146316666664 -0.0646015085391779 -1 2248.3397 2496.0168216666666 -0.15550663392420538 -1
71 2025-04-10 3735.1151 3877.9981249999996 -0.048919041314473 -1 2318.5597 2497.04768 -0.13547427420767255 -1
72 2025-04-11 3750.5167 3877.3531483333336 -0.04117584935578311 -1 2341.0599 2498.3316683333333 -0.11073085265624094 -1
73 2025-04-14 3759.1422 3877.0075633333336 -0.061752402006441165 -1 2392.1414 2500.2628016666667 -0.10735123704774918 -1
74 2025-04-15 3761.2348 3877.4868 -0.05893553112504646 -1 2390.9521 2503.3302133333336 -0.11469924905293882 -1
75 2025-04-16 3772.8204 3878.3252566666665 -0.05861246045728363 -1 2350.1019 2505.7259133333337 -0.13500646011737416 -1
76 2025-04-17 3772.2221 3877.5199666666667 -0.059335643793477 -1 2363.2559 2506.367135 -0.12540248224089434 -1
77 2025-04-18 3772.523 3877.12825 -0.050935652244615826 -1 2358.631 2507.0435283333336 -0.12829866210792995 -1
78 2025-04-21 3784.8806 3876.869866666667 -0.03316094359929289 -1 2412.6639 2508.3357083333335 -0.08906617257196747 -1
79 2025-04-22 3783.9522 3876.3966883333337 -0.03834871816923269 -1 2412.2985 2509.6630616666666 -0.07160974841543744 -1
80 2025-04-23 3786.8824 3875.6834550000003 -0.036979091421699195 -1 2440.6076 2510.9937416666667 -0.05138720488336246 -1
81 2025-04-24 3784.3574 3874.8791699999997 -0.03444422485057885 -1 2415.5516 2511.826653333334 -0.07206649048023184 -1
82 2025-04-25 3786.9937 3874.712121666667 -0.03697934272751757 -1 2422.4874 2513.2953599999996 -0.06258432431616678 -1
83 2025-04-28 3781.6188 3874.3433700000005 -0.034110276084831304 -1 2388.0251 2514.289175 -0.0617680182945457 -1
84 2025-04-29 3775.0767 3873.3802533333333 -0.028870614134376305 -1 2411.6782 2515.113773333333 -0.04083021097551198 -1
85 2025-04-30 3770.5705 3872.6050916666663 -0.03012425829557508 -1 2442.8915 2517.1148983333333 -0.03696955431076576 -1
86 2025-05-06 3808.5424 3872.8293849999995 -0.01952519752286197 -1 2522.3095 2519.902205 -0.008364258520661805 0
87 2025-05-07 3831.627 3872.642645 -0.007736986584033545 -1 2540.9823 2521.891328333333 0.009322695265481018 1
88 2025-05-08 3852.8963 3871.9792033333333 0.07339742577158126 0 2568.667 2523.72743 0.17051357894308006 1
89 2025-05-09 3846.1566 3871.064116666667 0.053522459302298486 0 2530.3446 2524.0197016666666 0.15905039886287442 1
90 2025-05-12 3890.6096 3871.1886900000004 0.055282525526308746 1 2570.7334 2525.1044066666664 0.14339189936467345 1
91 2025-05-13 3896.2583 3870.7952999999998 0.04314276687216423 1 2562.9121 2525.5120650000003 0.10538973829313103 1
92 2025-05-14 3943.2108 3871.4298166666663 0.05137801412802667 1 2565.7075 2526.42971 0.09595978300256203 1
93 2025-05-15 3907.1992 3870.899661666667 0.03938584712225035 1 2531.9618 2526.8515316666667 0.058449889291661394 1
94 2025-05-16 3889.0854 3869.92778 0.03399165614441291 1 2554.778 2526.90821 0.0685191058407233 1
95 2025-05-19 3877.1453 3869.3338200000003 0.02765170056862498 1 2576.7256 2528.5309733333333 0.09643143559009082 1
96 2025-05-20 3898.1705 3868.6339916666666 0.033388383997856375 1 2598.3569 2529.2910066666664 0.09948182082185864 1
97 2025-05-21 3916.3807 3868.425405 0.038133021322865446 1 2577.5636 2529.1759216666665 0.09282189541305952 1
98 2025-05-22 3913.8651 3867.34909 0.03407888217134247 1 2545.831 2527.9786 0.05519504809600706 1
99 2025-05-23 3882.2741 3865.8917100000003 0.025983917027281755 1 2515.8813 2526.203595 0.04293946209393251 0
100 2025-05-26 3860.1067 3864.799313333334 0.019336301544510492 0 2547.4564 2524.9998849999997 0.04377958996767872 1
101 2025-05-27 3839.3969 3862.7902400000003 0.014543948729578426 0 2552.6575 2523.191721666667 0.05675966516302111 1
102 2025-05-28 3836.2366 3860.592251666667 0.013003163960901176 0 2543.968 2521.369603333333 0.05014705133244446 1
103 2025-05-29 3858.6998 3860.06977 0.02038306981126703 0 2588.547 2522.13118 0.0839697622943747 1
104 2025-05-30 3840.2323 3859.265745 0.01725941091475036 0 2543.1976 2522.060258333333 0.0545343902018105 1
105 2025-06-03 3852.0127 3858.7122766666666 0.021599437008272382 0 2564.1167 2521.6787033333335 0.04962365295388671 1
106 2025-06-04 3868.7429 3858.1484816666666 0.015806703372923003 1 2591.1784 2521.432306666667 0.02730390540891192 1
107 2025-06-05 3877.5557 3856.8371283333336 0.011986735660856285 1 2606.5146 2520.5463116666665 0.025790144228867717 1
108 2025-06-06 3873.9841 3855.6699583333334 0.005473233214192685 1 2601.4941 2519.832955 0.012779819260340108 1
109 2025-06-09 3885.2459 3854.9440266666666 0.01016321072314108 1 2638.8858 2519.57026 0.04289581743134918 1
110 2025-06-10 3865.4652 3853.6781849999998 -0.006462843252121653 0 2617.3296 2518.819865 0.018125644611767244 1
111 2025-06-11 3894.6252 3853.134746666667 -0.0004191457224486106 0 2628.8683 2517.9362316666666 0.02573486620941856 1
112 2025-06-12 3892.1992 3852.811745 -0.012936564284110719 0 2635.583 2517.9865116666665 0.02723439830923824 1
113 2025-06-13 3864.1822 3850.4388366666667 -0.011009676701407956 0 2582.0367 2516.3567266666664 0.01977711512077307 1
114 2025-06-16 3873.7951 3848.3889616666665 -0.003931592759572777 0 2609.6711 2514.839195 0.021486446180450924 1
115 2025-06-17 3870.3786 3846.09989 -0.0017452789298353366 0 2605.9732 2512.9903966666666 0.01135068476053469 1
116 2025-06-18 3874.9708 3843.846603333333 -0.005951432858054884 0 2598.6865 2511.266725 0.00012684939470775092 1
117 2025-06-19 3843.0912 3841.6482600000004 -0.018713579096128252 0 2547.9906 2508.6369216666667 -0.01147323775056408 0
118 2025-06-20 3846.6443 3840.5140716666665 -0.017175042645184657 0 2524.8062 2506.5743399999997 -0.008258521480805303 0
119 2025-06-23 3857.9016 3839.231621666667 -0.006277892640295546 0 2573.8394 2506.165548333333 0.02303689764695971 1
120 2025-06-24 3904.0342 3838.760606666667 0.011379866779330339 1 2631.0436 2507.135983333333 0.032812023789690725 1
121 2025-06-25 3960.0662 3839.4391000000005 0.03142923306522438 1 2657.4055 2508.040215 0.04103488227464913 1
122 2025-06-26 3946.0195 3839.6658966666664 0.028617343361981185 1 2652.534 2509.1787983333334 0.04267585126856943 1
123 2025-06-27 3921.7578 3839.775756666667 0.016341773983039598 1 2664.9703 2511.1743116666667 0.02952362850664869 1
124 2025-06-30 3936.0791 3840.588648333333 0.024958594301704107 1 2705.9813 2514.368346666667 0.06400749198567968 1
125 2025-07-01 3942.762 3841.5066133333335 0.023558930633847508 1 2713.6682 2517.318298333333 0.05832476345557902 1
126 2025-07-02 3943.6849 3842.4949316666666 0.019371150251416225 1 2690.6791 2519.7698716666664 0.03839978752524331 1
127 2025-07-03 3968.0676 3844.271001666667 0.023342514460849673 1 2709.8858 2522.9760966666663 0.03965878418636137 1
128 2025-07-04 3982.2034 3850.8170483333333 0.02793488491602214 1 2680.6835 2531.0795116666663 0.03043996909314539 1
129 2025-07-07 3965.1746 3856.057308333334 0.020572365831465156 1 2698.6939 2539.6724316666664 0.022664148634245596 1
130 2025-07-08 3998.4527 3861.251615 0.034404009121592916 1 2733.4372 2547.7573899999998 0.044361092313325745 1
131 2025-07-09 3991.4006 3865.52304 0.024848450115302567 1 2731.206 2554.6348283333336 0.03892842406749697 1
132 2025-07-10 4010.0243 3869.848166666666 0.03027211454131118 1 2729.9444 2561.1162366666667 0.03580285652168791 1
133 2025-07-11 4014.807 3874.1092466666664 0.03897973547934663 1 2742.9699 2566.9633783333334 0.062328006414471115 1
134 2025-07-14 4017.6678 3878.38313 0.0371399870891469 1 2760.4326 2573.1213866666667 0.057770306763944346 1
135 2025-07-15 4019.0644 3882.4871966666665 0.03841634510897718 1 2741.4809 2579.64437 0.05199888471608238 1
136 2025-07-16 4007.2019 3886.403526666667 0.0341244119826658 1 2759.0598 2586.2411016666665 0.061713215503293783 1
137 2025-07-17 4034.491 3890.76966 0.04980360601382561 1 2789.0395 2593.414576666667 0.09460352797219884 1
138 2025-07-18 4058.5486 3895.330793333333 0.055088093276521644 1 2790.7649 2599.7162599999997 0.10533826319025996 1
139 2025-07-21 4085.6072 3900.358376666666 0.059023174670914225 1 2826.2895 2606.6161100000004 0.09808308164060286 1
140 2025-07-22 4118.9582 3905.8929733333334 0.055051771831302165 1 2826.4909 2613.0474983333334 0.07428508596360772 1
141 2025-07-23 4119.7685 3911.4831583333334 0.040328189463095354 1 2801.4877 2619.4797666666664 0.05421912463114875 1
142 2025-07-24 4149.0368 3917.5172099999995 0.051448630702407794 1 2832.8678 2626.31944 0.06798548105321167 1
143 2025-07-25 4127.1634 3923.2762866666667 0.052375901438890704 1 2841.2916 2633.873881666667 0.06616257599568742 1
144 2025-07-28 4135.8242 3929.2887450000003 0.05074722710730084 1 2861.5064 2641.3710183333333 0.05747456569637066 1
145 2025-07-29 4152.0247 3935.646315 0.05307515391494588 1 2872.0657 2648.523921666667 0.05837025322403089 1
146 2025-07-30 4151.2379 3941.3579066666666 0.05262920473184862 1 2846.3288 2653.9242433333334 0.05784773814164601 1
147 2025-07-31 4075.5912 3945.4239766666665 0.027097219815509277 1 2827.9729 2658.70742 0.04357641196540474 1
148 2025-08-01 4054.9286 3948.791181666667 0.01826255283695466 1 2840.9412 2663.2453233333335 0.059782402510404564 1
149 2025-08-04 4070.7023 3952.53361 0.026613632600188675 1 2885.3139 2669.1614783333334 0.0691519701437795 1
150 2025-08-05 4103.45 3956.08095 0.02625948282444357 1 2911.2842 2674.8373250000004 0.06506350319663468 1
151 2025-08-06 4113.4852 3959.701398333333 0.0305869072625784 1 2946.0201 2681.222458333333 0.07865173846278894 1
152 2025-08-07 4114.666 3962.558985 0.026095028900448236 1 2948.1274 2687.5961233333337 0.07992214053883306 1
153 2025-08-08 4104.9669 3965.855113333333 0.02245684537264192 1 2941.4675 2694.4212183333334 0.07236594174803024 1
154 2025-08-11 4122.5106 3969.7455333333332 0.0260954377562026 1 2991.5948 2701.7014983333333 0.0837412947521341 1
155 2025-08-12 4143.8252 3974.190198333333 0.03104224953449375 1 2993.3164 2708.644678333333 0.09186111783598427 1
156 2025-08-13 4176.5776 3978.830316666667 0.04226782284166908 1 3024.426 2715.7458300000003 0.09617993781794798 1
157 2025-08-14 4173.3131 3983.1125233333337 0.03440882629308151 1 2967.9281 2722.251905 0.0641398589012454 1
158 2025-08-15 4202.3533 3987.92066 0.03543254354524672 1 3028.2287 2730.291866666667 0.08508914527339795 1
159 2025-08-18 4239.4125 3993.872966666667 0.03764564053049457 1 3093.1144 2739.9124183333333 0.09440819845242321 1
160 2025-08-19 4223.3741 3999.927423333333 0.025350075171920894 1 3114.6111 2749.3649966666667 0.10193565456021814 1
161 2025-08-20 4271.3958 4007.1274049999997 0.03680481075574993 1 3127.8015 2758.95073 0.11647875519853246 1
162 2025-08-21 4288.0707 4014.6579733333333 0.03350992211011494 1 3104.5337 2768.293491666667 0.09589783893198267 1
163 2025-08-22 4377.9977 4023.3129383333335 0.06077644030279972 1 3126.0277 2777.251503333333 0.10021361411831164 1
164 2025-08-25 4469.2217 4033.7960949999997 0.08061210628827009 1 3162.6244 2787.575283333333 0.10523058763733673 1
165 2025-08-26 4452.5905 4043.8057249999997 0.07239017629158129 1 3163.1485 2797.5591466666665 0.10134963138203967 1
166 2025-08-27 4386.1266 4052.4287866666664 0.056582808708698584 1 3089.8463 2805.8702783333333 0.08555494361719584 1
167 2025-08-28 4463.782 4062.199225 0.09524772749533872 1 3112.2762 2814.299638333333 0.10053254046387772 1
168 2025-08-29 4496.7591 4072.578808333333 0.10896135137866536 1 3101.5438 2822.6338000000005 0.09173107841865913 1
169 2025-09-01 4523.7111 4083.219895 0.11128517062031307 1 3134.7334 2830.8979266666665 0.08644449395956544 1
170 2025-09-02 4490.4528 4093.636355 0.09431156709598021 1 3072.4003 2838.482438333333 0.0553419346692432 1
171 2025-09-03 4459.8296 4103.056428333333 0.08419731277992692 1 3010.1112 2844.8364866666666 0.021755146884435694 1
172 2025-09-04 4365.2085 4110.939916666666 0.06089011842030434 1 2966.6048 2850.353516666667 0.006267503907734895 1
173 2025-09-05 4460.3249 4120.875628333333 0.0865678113019619 1 3048.0796 2858.1208983333336 0.03624452760399355 1
174 2025-09-08 4467.5733 4130.771931666666 0.08370207707895294 1 3085.2103 2866.046551666667 0.03129284086200457 1
175 2025-09-09 4436.2584 4140.203261666667 0.07057083392417218 1 3045.3593 2873.369653333333 0.01738636784270442 1
176 2025-09-10 4445.3649 4149.709830000001 0.06435587357457462 1 3055.1137 2880.9767733333338 0.010146619556901104 1
177 2025-09-11 4548.0345 4161.458885 0.08978990816672705 1 3113.6487 2890.4044083333333 0.049098426609458734 1
178 2025-09-12 4521.998 4172.71478 0.0760632619822803 1 3113.9337 2900.2232 0.028302023555882627 1
179 2025-09-15 4533.0557 4183.967348333334 0.0692650691575778 1 3110.6046 2909.1692866666667 0.00565455968909534 1
180 2025-09-16 4523.3367 4194.2890566666665 0.07102439729409715 1 3160.7777 2917.9981883333335 0.014822588926110214 1
181 2025-09-17 4551.023 4204.138336666667 0.06546506413664588 1 3174.1685 2926.6109050000005 0.014824150445608586 1
182 2025-09-18 4498.109 4213.339828333334 0.04898200489091753 1 3139.755 2934.7312549999997 0.011345117625877421 1
183 2025-09-19 4501.9195 4223.00919 0.028305588191606335 1 3113.4021 2942.2051183333333 -0.00403886376310747 0
184 2025-09-22 4522.608 4232.784671666666 0.011945323723815404 1 3126.7278 2949.2175599999996 -0.011350257083958537 0
185 2025-09-23 4519.7781 4242.401606666666 0.015089552924303362 1 3082.0908 2955.357936666667 -0.02562563850543209 0
186 2025-09-24 4566.0708 4252.774705 0.04102576519337142 1 3124.8833 2962.5946733333335 0.011339398985638738 1
187 2025-09-25 4593.4875 4263.19837 0.02905731059446892 1 3105.76 2969.192576666667 -0.002093708778160397 0
188 2025-09-26 4550.0487 4272.662458333333 0.01185066818455982 1 3057.6976 2975.476145 -0.014136895310006614 0
189 2025-09-29 4620.0528 4283.577095 0.021297049672336588 1 3083.337 2981.8868633333336 -0.01639578025997368 0
190 2025-09-30 4640.6935 4294.281108333334 0.03345780630407691 1 3093.3127 2987.8847883333337 0.006806534942728648 1
191 2025-10-09 4709.482 4306.2491316666665 0.05597801315099571 1 3113.0059 2994.2481199999997 0.0341830228730422 1
192 2025-10-10 4616.8341 4316.362628333333 0.057643432152209906 1 3091.4807 3000.273725 0.04209387782289031 1
193 2025-10-13 4593.9785 4326.015486666667 0.02996499201212921 1 3085.5392 3005.983213333333 0.012289574064929365 1
194 2025-10-14 4539.0644 4334.70543 0.01600222205643509 1 3036.9306 3010.5915133333333 -0.015648754964937117 0
195 2025-10-15 4606.2879 4344.492488333333 0.03832723089349366 1 3088.4591 3016.374483333333 0.014152615752105246 1
196 2025-10-16 4618.4218 4354.679486666667 0.038929740053510686 1 3050.4203 3021.230491666667 -0.0015362439702324426 0
197 2025-10-17 4514.2345 4362.675211666667 -0.00743178179497106 0 2963.3308 3024.135346666667 -0.048277090475878026 -1
198 2025-10-20 4538.2201 4370.669736666667 0.0035873744305061628 1 3005.7514 3027.718455 -0.034741362669346465 -1
199 2025-10-21 4607.8715 4379.374141666666 0.016504496073145525 1 3063.8456 3031.6777233333332 -0.015032125908898908 0
200 2025-10-22 4592.57 4387.2676716666665 0.015305802904302945 1 3052.4469 3035.443656666667 -0.03427346377443763 0
201 2025-10-23 4606.3447 4395.377275000001 0.01215588231481135 1 3045.8366 3039.5161383333334 -0.04043008428821604 0
202 2025-10-24 4660.6835 4403.90472 0.036142854697384985 1 3074.4913 3043.5431966666665 -0.0207862396906765 0
203 2025-10-27 4716.0186 4413.718973333333 0.04755729195068903 1 3103.5237 3047.9137316666665 -0.0031728635372859637 0
204 2025-10-28 4691.973 4422.988119999999 0.03744852527568154 1 3108.8665 3052.0364 -0.005712457605040022 0
205 2025-10-29 4747.8378 4432.918338333333 0.05045816297928418 1 3118.328 3056.1407716666668 0.011757343424145805 1
206 2025-10-30 4709.911 4442.229556666667 0.0315019644461052 1 3071.3842 3059.8916950000003 -0.01712035134240053 0
207 2025-10-31 4640.6676 4451.6474966666665 0.010271084878319403 1 3103.7385 3064.4877883333334 -0.0006508873834424334 0
208 2025-11-03 4653.4028 4461.622066666666 0.022714943688404876 1 3127.7601 3069.2681033333333 0.022913482353519754 1
209 2025-11-04 4618.699 4470.755345 -0.00029302695415101 0 3100.9496 3072.8620316666666 0.005712187801722557 1
210 2025-11-05 4627.257 4479.485461666666 -0.002895364669095457 0 3124.9333 3076.42285 0.010222244909155132 1
211 2025-11-06 4693.4032 4489.150761666666 -0.0034141334439754534 0 3143.7167 3079.7177933333337 0.009865320203858108 1
212 2025-11-07 4678.7944 4498.552901666667 0.0134205168862358 1 3131.1258 3082.7677666666664 0.012823984312759773 1
213 2025-11-10 4695.0507 4508.387631666667 0.02200101720110359 1 3150.3517 3086.24917 0.021005242778960653 1
214 2025-11-11 4652.1655 4517.215213333333 0.024917271497624016 1 3162.9626 3089.1053 0.041499795879431645 1
215 2025-11-12 4645.9079 4525.583258333334 0.008601286081141302 1 3141.3218 3091.5720566666664 0.017116205294737563 1
216 2025-11-13 4702.0738 4534.341528333333 0.018112680829628802 1 3179.871 3094.1628066666667 0.04243700450065835 1
217 2025-11-14 4628.1398 4541.921973333334 0.025232472969669795 1 3158.8906 3097.345515 0.06599323976924887 1
218 2025-11-17 4598.0525 4548.51696 0.013184111541879595 1 3178.7502 3099.8542066666664 0.05755592428568779 1
219 2025-11-18 4568.1928 4553.996631666667 -0.008611069123780957 0 3136.8281 3100.582768333333 0.023820554142806705 1
220 2025-11-19 4588.2922 4560.0786 -0.0009314610338002627 0 3092.4723 3100.2137883333335 0.013112562252925786 0
221 2025-11-20 4564.9483 4564.971141666667 -0.008986822023979157 -1 3066.7756 3099.1966899999998 0.006874630109835689 0
222 2025-11-21 4453.6076 4567.730089999999 -0.04443037163969621 -1 2944.5633 3096.5305166666667 -0.04225999923954915 -1
223 2025-11-24 4448.0478 4568.897591666667 -0.05682140439395211 -1 2999.2626 3094.417765 -0.03359442687677883 -1
224 2025-11-25 4490.4047 4569.2506416666665 -0.04296024295109968 -1 3051.7084 3092.5691650000003 -0.018385511246623243 -1
225 2025-11-26 4517.6255 4570.334558333333 -0.04848781902364063 -1 3041.4159 3090.540288333333 -0.02466453176189287 -1
226 2025-11-27 4515.4027 4572.48916 -0.0412976593400598 -1 3050.924 3089.891583333333 -0.006661556701372584 -1
227 2025-11-28 4526.6616 4573.537153333334 -0.02456672397738624 -1 3091.3782 3089.5432833333334 -0.0039823909134096835 0
228 2025-12-01 4576.4856 4574.865928333334 -0.01652923748616819 0 3112.9618 3089.733583333333 -0.004731277184589655 0
229 2025-12-02 4554.3347 4575.376321666667 -0.013935590953209842 -1 3098.2434 3089.1254166666668 -0.0008727004140924866 0
230 2025-12-03 4531.0486 4576.052918333333 -0.02079166988131409 -1 3066.4164 3089.025685 -0.018725807683639184 -1
231 2025-12-04 4546.5664 4577.498531666667 -0.031285784268438754 -1 3043.529 3089.5826483333335 -0.031869188467268716 -1
232 2025-12-05 4584.5368 4581.154003333333 -0.02014570249122294 0 3100.3133 3091.8111233333334 -0.009840709689786342 0
233 2025-12-08 4621.7545 4583.844496666667 -0.015611375613047151 0 3145.7298 3093.438626666667 -0.0014671060377163814 0
234 2025-12-09 4598.2232 4586.021995 -0.011595094800475159 0 3128.9699 3094.167953333333 -0.010747107790651689 0
235 2025-12-10 4591.8273 4588.61481 -0.011640480432253075 0 3134.4949 3095.653546666667 -0.002173257130167361 0
236 2025-12-11 4552.1848 4590.395141666667 -0.03187721128494414 -1 3081.3346 3096.0905616666664 -0.030987546350150663 -1
237 2025-12-12 4580.95 4590.9437333333335 -0.010196277994886871 -1 3101.7655 3095.8925083333334 -0.018083912117754286 0
238 2025-12-15 4552.0596 4591.444759999999 -0.010002691356829962 -1 3094.4264 3095.567386666667 -0.026527343985696006 -1
239 2025-12-16 4497.5545 4590.853073333334 -0.015463073274840644 -1 3041.0041 3094.407378333333 -0.030548055852980927 -1
240 2025-12-17 4579.875 4591.795378333333 -0.0018344951962736555 -1 3063.8605 3092.7920916666667 -0.009252079638676136 -1
241 2025-12-18 4552.7926 4591.824871666667 -0.002662834100443212 -1 3066.0946 3090.99086 -0.00022205732952873536 -1
242 2025-12-19 4568.1781 4592.99269 0.025725324341551836 0 3111.1622 3090.5143133333336 0.05657847464172372 1
243 2025-12-22 4611.6235 4594.8210899999995 0.036774717214144825 1 3137.9195 3090.922936666667 0.046230330081800775 1
244 2025-12-23 4620.7341 4596.456525 0.0290239763912592 1 3118.2996 3090.7824666666666 0.021820957729775214 1
245 2025-12-24 4634.0586 4598.361199999999 0.025773074815519825 1 3166.7413 3092.1933083333333 0.04120626843569797 1
246 2025-12-25 4642.5357 4599.635615 0.028155406825619567 1 3208.14 3093.58092 0.05153061826515515 1
247 2025-12-26 4657.24 4600.698156666666 0.02884651240552194 1 3206.5109 3095.2601016666667 0.037243162289233966 1
248 2025-12-29 4639.3721 4602.18688 0.013741220992807168 1 3205.927 3097.7305916666664 0.029863906457188172 1
249 2025-12-30 4651.2818 4602.707363333334 0.021286775431766047 1 3200.1755 3099.6779 0.03289996518672478 1
250 2025-12-31 4629.9395 4602.528130000001 0.021825168681704366 1 3203.2319 3101.5098866666663 0.04461739116709662 1
251 2026-01-05 4717.7457 4602.665858333334 0.03765023645096233 1 3257.0905 3103.9112966666667 0.07016903732476343 1
252 2026-01-06 4790.6938 4605.56352 0.04496790166456943 1 3296.7971 3107.333236666667 0.06337546595694055 1
253 2026-01-07 4776.6658 4608.608308333333 0.03351785561089393 1 3313.9154 3111.139506666667 0.05346473177702671 1
254 2026-01-08 4737.6536 4611.918128333334 0.030322668982227574 1 3356.8917 3116.4721916666667 0.07284243929607626 1
255 2026-01-09 4758.9221 4614.462031666666 0.03638960899073873 1 3412.8377 3121.878501666667 0.08879988925807458 1
256 2026-01-12 4789.9155 4617.3202599999995 0.05222342906641231 1 3507.1141 3129.4900649999995 0.1381802222971824 1
257 2026-01-13 4761.0324 4621.433558333333 0.03931114725111606 1 3444.3116 3137.5064116666667 0.11043584693942843 1
258 2026-01-14 4741.9306 4624.828733333334 0.04171100923195303 1 3477.3626 3145.3665983333335 0.12375030150983712 1
259 2026-01-15 4751.4293 4627.221363333333 0.05644729819282901 1 3443.4653 3151.693593333334 0.13234483965345523 1
260 2026-01-16 4731.8728 4629.543076666667 0.03318819836785947 1 3445.0691 3158.2372966666667 0.12442100415472579 1
261 2026-01-19 4734.4556 4631.678258333332 0.03990144422568265 1 3484.432 3165.54722 0.13643982152409784 1
262 2026-01-20 4718.8782 4632.64817 0.03298910346774786 1 3449.8185 3171.802673333333 0.10885202320856169 1
263 2026-01-21 4723.0692 4632.7656799999995 0.024166261621314078 1 3484.1848 3178.147025 0.11034868803995779 1
264 2026-01-22 4723.7091 4633.294615000001 0.022285419972553733 1 3519.0616 3184.98361 0.12851940204847545 1
265 2026-01-23 4702.4966 4632.538928333333 0.014768479621729558 1 3584.3964 3192.7514166666665 0.13188797581918044 1
266 2026-01-26 4706.964 4632.489811666667 0.013877825430615331 1 3527.6287 3200.3554916666667 0.09958689458689474 1
267 2026-01-27 4705.6918 4633.573548333333 0.01040354372976271 1 3537.2076 3207.5799766666664 0.10313287879358213 1
268 2026-01-28 4717.9914 4634.650025 0.01694610785800088 1 3511.3732 3213.9735283333334 0.09527546946639776 1
269 2026-01-29 4753.8697 4636.902870000001 0.022055834157371557 1 3468.8146 3220.104611666667 0.08394511488510559 1
270 2026-01-30 4706.3401 4638.220921666667 0.016501425126613345 1 3464.6869 3225.767171666667 0.08162225157660297 1
271 2026-02-02 4605.9799 4636.763866666666 -0.023690509643196744 -1 3381.3605 3229.727901666666 0.03815368347916648 1
272 2026-02-03 4660.1074 4636.452416666667 -0.027258348258450638 0 3476.9308 3235.4913183333333 0.05463900098674568 1
273 2026-02-04 4698.6832 4636.512958333333 -0.016325739179826937 0 3480.8289 3240.999271666667 0.0503674595917567 1
274 2026-02-05 4670.4188 4636.81718 -0.014191582094562394 0 3438.212 3245.586761666667 0.024224880415415262 1
275 2026-02-06 4643.5959 4636.778646666667 -0.024233680984187433 0 3452.7846 3250.7778083333333 0.011704892969273129 1
276 2026-02-09 4719.0559 4637.061681666667 -0.014793496879015877 0 3525.8316 3256.543818333333 0.005337009138083104 1
277 2026-02-10 4724.2956 4638.664278333334 -0.007716141566270318 0 3522.2271 3262.5994266666667 0.02262150149248976 1
278 2026-02-11 4713.8185 4640.593711666666 -0.005928408146673281 0 3506.9743 3268.069828333333 0.00851556291541189 1
279 2026-02-12 4719.578 4643.1167983333335 -0.006703519717740414 0 3516.2864 3274.3941333333337 0.021147621263963412 1
280 2026-02-13 4660.4056 4644.318688333334 -0.015103364570577593 0 3493.1845 3281.07267 0.01396645425776799 1
281 2026-02-24 4707.544 4646.6952833333335 -0.005684201579586157 0 3536.6924 3288.9046166666667 0.014998255095808988 1
282 2026-02-25 4735.8858 4651.39992 0.003604161684020557 1 3573.6295 3299.3890533333333 0.035889134457363525 1
283 2026-02-26 4726.8739 4656.047021666667 0.0008055566918223622 1 3601.8886 3309.43282 0.03378230683975203 1
284 2026-02-27 4710.6469 4659.7177249999995 -0.0027652422542278066 0 3630.8267 3319.0847916666667 0.03175991576845383 1
285 2026-03-02 4728.6688 4663.235113333333 0.005565596793839278 1 3570.2415 3327.8985516666667 -0.0039490330924336625 0
286 2026-03-03 4655.8962 4665.576671666667 -0.010849413762246685 -1 3421.7463 3334.0789233333335 -0.03001517705080481 0
287 2026-03-04 4602.6247 4666.842723333334 -0.021902645642878582 -1 3419.5692 3339.5487733333334 -0.033257420344794064 0
288 2026-03-05 4647.6921 4668.029498333333 -0.014900260309927638 -1 3475.276 3345.5873433333336 -0.010280080738783393 0
289 2026-03-06 4660.439 4669.797903333334 -0.01965360977394892 -1 3521.9498 3352.6491166666665 0.015317970582803708 1
290 2026-03-09 4615.4551 4671.2046783333335 -0.019311184076985843 -1 3492.6216 3359.752536666667 0.008062691032774127 1
291 2026-03-10 4674.7562 4673.341175 0.01493195834397798 1 3568.9584 3368.5096933333334 0.05548000575507994 1
292 2026-03-11 4704.4959 4675.340493333333 0.009525209655039335 1 3559.2449 3376.158553333333 0.02367435670563256 1
293 2026-03-12 4687.5601 4676.4372533333335 -0.002367280262691618 0 3517.9944 3382.362963333333 0.01067719818115731 1
294 2026-03-13 4669.14 4677.6192 -0.0002738084216344916 -1 3471.4975 3388.0717566666663 0.00968104933610836 1
295 2026-03-16 4671.5591 4678.948063333333 0.006021884893127716 0 3482.1787 3393.866486666667 0.008513157756785628 1
296 2026-03-17 4637.4392 4680.36897 -0.017295133121860373 -1 3395.1872 3399.0973633333333 -0.037053499662320855 -1
297 2026-03-18 4658.3324 4681.658676666667 -0.013962547136127545 -1 3448.3654 3404.874028333333 -0.020970169697462127 0
298 2026-03-19 4583.2511 4682.178535 -0.027698860276440418 -1 3360.3286 3409.305731666667 -0.041815447578272824 -1
299 2026-03-20 4567.0179 4683.336258333334 -0.032324945153994866 -1 3273.5389 3413.1813116666667 -0.06903519008007997 -1
300 2026-03-23 4417.9971 4680.638293333333 -0.052014464148785744 -1 3097.1313 3413.735825 -0.11337883813465899 -1
301 2026-03-24 4474.7224 4679.337123333334 -0.04945712668856628 -1 3213.0021 3416.184283333333 -0.09152345281710106 -1
302 2026-03-25 4537.4656 4678.825248333334 -0.041897167368351584 -1 3286.4031 3419.104965 -0.08037386080454056 -1
303 2026-03-26 4477.5343 4676.590428333334 -0.052749365706582396 -1 3234.4746 3420.7142166666667 -0.10200593099964284 -1
304 2026-03-27 4502.5698 4674.621023333334 -0.04417166143359197 -1 3285.1181 3423.494525 -0.09521484459723728 -1
305 2026-03-30 4491.95 4672.2525466666675 -0.050060346793583954 -1 3297.1653 3425.6682583333336 -0.07648675866884636 -1
306 2026-03-31 4450.0493 4669.04444 -0.044212089608011595 -1 3242.2182 3426.236228333333 -0.05246680620360433 -1
307 2026-04-01 4526.0668 4666.85822 -0.016633530863379042 -1 3309.0422 3427.9450833333335 -0.03232190768357601 -1
308 2026-04-02 4478.9141 4664.1839199999995 -0.03631436772672614 -1 3251.0498 3428.69713 -0.06452040068184517 -1
309 2026-04-03 4440.7889 4660.675705 -0.04713077459011927 -1 3183.9575 3428.42683 -0.09596738147715789 -1
310 2026-04-07 4440.6162 4657.520316666666 -0.037881183157864484 -1 3227.6057 3428.83306 -0.07587878973204543 -1
311 2026-04-08 4595.556 4655.483821666667 -0.016942102777466772 -1 3369.8474 3430.7123416666664 -0.055789666811470795 -1
312 2026-04-09 4566.2237 4651.742653333334 -0.029391501861017688 -1 3344.6689 3431.510205 -0.06028694457074313 -1
313 2026-04-10 4636.5655 4649.407648333334 -0.010878708520451807 -1 3368.1968 3432.414895 -0.04258039751285558 -1
314 2026-04-13 4646.1546 4647.882665 -0.004922833755252709 -1 3378.44 3432.774033333333 -0.026806154980667518 -1
315 2026-04-14 4701.2837 4646.922025000001 0.006362886429072345 1 3421.6042 3432.9201416666665 -0.017395574787703927 -1
316 2026-04-15 4685.2464 4645.177540000001 0.010308965344494547 1 3405.5198 3431.2269033333337 0.0030433078918299383 0
317 2026-04-16 4736.6077 4644.770461666666 0.01680328780316298 1 3469.3604 3431.6443833333333 0.006088391908815716 1
318 2026-04-17 4728.6716 4644.549478333332 0.03172867836108728 1 3486.9088 3431.8034866666667 0.037668994633441644 1
319 2026-04-20 4757.4419 4644.649688333334 0.04169547923164485 1 3519.78 3433.0753983333334 0.07522168134308727 1
320 2026-04-21 4767.997 4645.251758333334 0.07922139650114324 1 3513.4243 3434.2146516666667 0.13441244806121078 1
321 2026-04-22 4799.627 4646.337948333333 0.07260888407289823 1 3541.8714 3435.1719749999997 0.10235576876840513 1
322 2026-04-23 4786.3273 4647.4621 0.05484596952095888 1 3485.3865 3435.764775 0.06054747209799061 1
323 2026-04-24 4769.3688 4648.23376 0.06517750182282245 1 3458.9175 3435.343653333333 0.06939083707752713 1
324 2026-04-27 4770.9469 4649.0210566666665 0.05960531694589166 1 3493.789 3434.9224433333334 0.06352006035947388 1
325 2026-04-28 4758.2083 4649.949585 0.05927454668907717 1 3453.1333 3432.7347250000003 0.04730366415053555 1
326 2026-04-29 4810.3468 4651.672631666666 0.08096483335589122 1 3494.3908 3432.18076 0.07777780039603766 1
327 2026-04-30 4807.3069 4653.366216666666 0.06213785885793821 1 3512.5554 3431.7698900000005 0.061502147056329504 1
328 2026-05-06 4877.0932 4656.017913333333 0.08890081191778165 1 3583.9252 3432.9790900000003 0.10239012641393574 1
329 2026-05-07 4900.5098 4658.461914999999 0.10352234937355398 1 3653.1161 3436.0507816666664 0.14735077336930535 1
330 2026-05-08 4871.9122 4661.22145 0.09712525932774807 1 3689.5483 3439.7984716666665 0.14312237706111364 1
331 2026-05-11 4951.8366 4666.985728333334 0.07752720236680832 1 3731.607 3445.6359133333335 0.10735192341350519 1
332 2026-05-12 4948.0465 4671.784713333333 0.08361894315427443 1 3698.8677 3449.334861666667 0.10589951071091064 1
333 2026-05-13 4998.3417 4676.779021666666 0.07802676356022586 1 3753.2471 3453.8751649999995 0.11431941862779516 1
334 2026-05-14 4914.5971 4680.84866 0.05777734989705263 1 3679.3023 3457.8933366666665 0.08905361646203569 1
335 2026-05-15 4859.5927 4684.448606666668 0.03367356877441807 1 3663.8329 3461.4108083333335 0.0707938983708285 1
336 2026-05-18 4833.5237 4686.356403333333 0.031647705870922804 1 3674.7006 3463.891958333333 0.07904250035486515 1
337 2026-05-19 4852.8832 4688.49953 0.02454826478452099 1 3714.6643 3467.099245 0.07070579925913711 1
338 2026-05-20 4850.7 4690.780888333333 0.025806063588767802 1 3700.6371 3470.326958333333 0.061294490982958916 1
339 2026-05-21 4783.0976 4691.839548333333 0.005392751091715997 1 3570.5252 3471.230938333333 0.01441715107194197 1
340 2026-05-22 4845.0956 4694.9177150000005 0.01617001856335043 1 3664.5212 3474.08655 0.04300559428589379 1
341 2026-05-25 4921.5974 4698.485271666666 0.025412474761059345 1 3674.8203 3476.3886816666663 0.03753634307558418 1
342 2026-05-26 4947.8493 4702.0179966666665 0.0337465429913244 1 3609.1698 3476.98102 0.035514942173558106 1
343 2026-05-27 4908.1714 4705.039621666667 0.029102928672657846 1 3534.2034 3475.8529333333336 0.021765740293025138 1
344 2026-05-28 4914.2133 4708.432395 0.030028923608435232 1 3589.6986 3475.167465 0.027451457429169324 1
345 2026-05-29 4892.1213 4711.156603333333 0.028143576648378188 1 3470.6919 3473.5083050000003 0.0050848312169125 0
346 2026-06-01 4844.2556 4714.295926666668 0.007049138328238724 1 3468.8676 3474.2936600000003 -0.007304048534010565 -1
347 2026-06-02 4914.5591 4719.494833333332 0.02231024609641641 1 3460.3172 3474.9727933333334 -0.014871850846822299 -1
348 2026-06-03 4938.8091 4724.3467833333325 0.012654238389375072 1 3467.0201 3474.8351949999997 -0.03261929127315488 -1
349 2026-06-04 4904.7454 4728.4185566666665 0.000864318238890105 1 3462.2428 3473.8400783333336 -0.05224944808077692 -1
350 2026-06-05 4816.9199 4731.776303333333 -0.011287621316328322 0 3466.5158 3473.4049816666666 -0.06044981170188224 -1
351 2026-06-08 4713.6358 4732.424296666667 -0.04810352587159272 -1 3354.7062 3469.8341116666666 -0.10100227596314404 -1
352 2026-06-09 4801.8106 4734.046208333334 -0.029554269548598744 0 3429.466 3467.67113 -0.07283355930789304 -1
353 2026-06-10 4748.5932 4735.063426666667 -0.04996627181370972 0 3368.0292 3465.1717100000005 -0.1026359015903856 -1
354 2026-06-11 4722.4122 4735.951296666667 -0.03910491462260457 -1 3346.8774 3463.0947083333335 -0.09034998293018759 -1
355 2026-06-12 4777.3206 4737.713988333333 -0.016929834469460836 0 3363.5154 3461.116986666667 -0.08196812141732768 -1
356 2026-06-15 4891.7126 4741.951878333333 0.012038608603491596 1 3480.167 3462.533316666667 -0.05293862580260289 0
357 2026-06-16 4884.2322 4745.716875 0.006459871113320803 1 3537.9445 3464.0263016666668 -0.047573558665853 0
358 2026-06-17 4931.3861 4751.519125000001 0.016633908508050466 1 3547.9501 3467.1533266666665 -0.041259652290682625 0
359 2026-06-18 4941.5986 4757.762136666667 0.033137730662238685 1 3561.7105 3471.956186666667 -0.0024687404530850943 0
360 2026-06-22 5059.6582 4768.456488333334 0.04428449254953826 1 3589.0089 3480.1541466666667 -0.020606320956746083 0
361 2026-06-23 4919.386 4775.867548333334 -0.0004493256599980011 0 3571.3476 3486.126571666667 -0.02815721356497347 0
362 2026-06-24 4943.0197 4782.626783333332 -0.0009761008687148021 0 3569.4094 3490.8433433333335 -0.01101649470745325 0
363 2026-06-25 5020.1038 4791.669608333334 0.022805316049068658 1 3538.0935 3495.9036583333336 0.0011007006557688381 1
364 2026-06-26 4868.2205 4797.763786666666 -0.009359137911250204 0 3446.9849 3498.6014383333336 -0.03975645754771728 -1
365 2026-06-29 4926.921 4805.013303333332 0.00711341724090131 1 3415.0058 3500.5654466666665 -0.01604466821154593 -1
366 2026-06-30 4979.4328 4813.836361666667 0.02790463822759448 1 3494.5864 3504.7715833333336 0.00741417746817441 0
367 2026-07-01 4958.9773 4821.051536666667 0.009038084413309555 1 3545.3819 3508.710578333333 0.02458291973926552 1
368 2026-07-02 4812.2957 4826.607896666666 -0.025616175365028915 -1 3481.7066 3512.554858333334 0.004236058510303842 0
369 2026-07-03 4842.1737 4833.297643333334 -0.012757379822406212 0 3487.715 3517.6174833333334 0.00735713855770026 0
370 2026-07-06 4841.998 4839.987340000001 0.005206252235998354 1 3413.5572 3520.716675 -0.015277184082068795 -1
371 2026-07-07 4792.2624 4843.26578 0.016680669304149465 0 3313.1095 3519.7710433333336 -0.012399506102799718 -1
372 2026-07-08 4755.5338 4846.420948333334 -0.009637364705721518 -1 3233.4737 3517.91779 -0.05714950957379372 -1
373 2026-07-09 4876.3125 4850.416731666667 0.026896239500995733 1 3277.0738 3516.3990733333335 -0.027005525961592003 -1
374 2026-07-10 4780.7867 4852.6606 0.012361161526729836 0 3272.9877 3514.641535 -0.0220772054572419 -1
375 2026-07-13 4695.383 4852.562255 -0.01715137141936851 -1 3088.0007 3509.0814766666667 -0.0819127214342471 -1
376 2026-07-14 4796.502 4854.416515 -0.019463653690529492 -1 3143.758 3504.71878 -0.09666461408317473 -1
377 2026-07-15 4786.7828 4855.252766666667 -0.019951836032693238 -1 3118.7468 3498.87522 -0.1184862283735656 -1
378 2026-07-16 4698.4344 4854.748813333334 -0.04723858470542386 -1 3060.6182 3491.7703766666664 -0.13735590587928515 -1
379 2026-07-17 4529.0953 4850.943036666666 -0.08347567930750188 -1 2871.411 3480.9642266666665 -0.1938112319909212 -1
380 2026-07-20 4598.3208 4848.1151 -0.09117955833459257 -1 2754.7279 3468.319286666667 -0.23245442495280522 -1
381 2026-07-21 4739.2287 4847.108461666667 -0.0366219076933586 -1 2821.8145 3456.318338333333 -0.20987402626392349 -1
382 2026-07-22 4717.2442 4845.9570766666675 -0.0456756221303346 -1 2786.2781 3444.666531666667 -0.2194008061949968 -1
383 2026-07-23 4728.0018 4845.267626666667 -0.05818644626431824 -1 2832.8432 3434.2319599999996 -0.1993305999403352 -1
384 2026-07-24 4649.1917 4843.238373333333 -0.04499155286824008 -1 2754.6389 3421.912791666667 -0.2008555360947476 -1
385 2026-07-27 4702.4272 4842.308688333333 -0.04556472490628527 -1 2851.7202 3411.8892399999995 -0.1649442586598242 -1
386 2026-07-28 4569.5235 4838.294966666666 -0.08232048035671846 -1 2803.3707 3400.372238333333 -0.19779613976635413 -1
387 2026-07-29 4600.2624 4834.844225 -0.07233646744057487 -1 2815.1152 3388.7482349999996 -0.20597687938780296 -1
388 2026-07-30 4549.7201 4829.388006666666 -0.054563479962380534 -1 2722.1273 3374.384936666667 -0.2181629261925746 -1
389 2026-07-31 4588.1968 4824.182790000001 -0.052451009760348 -1 2809.2143 3360.3199066666666 -0.19454017888502928 -1
390 2026-08-03 4543.1781 4818.7038883333325 -0.061714172537865486 -1 2839.1571 3346.14672 -0.16827024313522565 -1
391 2026-08-04 4600.9304 4812.855451666666 -0.03992519274403661 -1 2920.8145 3332.6335116666664 -0.11840689237708568 -1
392 2026-08-05 4658.1549 4808.023925 -0.0204769651726584 -1 3000.2908 3320.9905633333333 -0.07211529198459221 -1
393 2026-08-06 4651.3098 4802.24006 -0.04614197715999535 -1 3036.4679 3309.0442433333333 -0.07342095866135212 -1
394 2026-08-07 4694.4365 4798.570716666667 -0.018061922737527714 -1 3085.257 3299.1434883333336 -0.05735759410278263 -1
395 2026-08-10 4702.0247 4795.944583333333 0.0014145171969996984 0 3120.8289 3290.0934216666665 0.010630891372531037 0
396 2026-08-11 4663.7887 4793.115666666667 -0.02766876778118732 -1 3105.7378 3280.6107083333336 -0.012093869820768655 -1
397 2026-08-12 4690.9165 4790.4162216666655 -0.020027292652593287 -1 3159.9817 3271.3659983333337 0.013221624788520847 0
398 2026-08-13 4663.9513 4787.303743333334 -0.0073392745464320175 -1 3124.7932 3261.7686000000003 0.020967986140839168 0
399 2026-08-14 4665.8812 4785.350136666666 0.030201594565696155 0 3149.1391 3254.745498333333 0.09672182073551983 0
400 2026-08-17 4741.0981 4783.616845 0.03104987803373782 0 3225.6361 3247.4307466666664 0.170945449821015 0
401 2026-08-18 4725.8134 4780.353778333333 -0.002830692682123548 -1 3217.1122 3239.8022783333336 0.14008635223895838 0
402 2026-08-19 4588.6955 4774.367881666667 -0.027250804611726576 -1 3037.1112 3230.267968333333 0.0900244307989213 0
403 2026-08-20 4592.7504 4769.110865 -0.02860646119043353 -1 3084.5852 3222.7743316666665 0.08886549033140989 0
404 2026-08-21 4618.8952 4764.1888966666675 -0.006516509095548906 -1 3091.3694 3214.4688450000003 0.12224124911617285 0
405 2026-08-24 4563.1266 4758.705651666667 -0.029623127392594317 -1 3045.137 3207.376263333333 0.06782460635513954 0
406 2026-08-25 4552.0326 4753.835268333333 -0.0038277295214699247 -1 3094.2935 3201.1333616666666 0.10377607214058426 0
407 2026-08-26 4590.7935 4748.439175 -0.0020583391069169954 -1 3091.3397 3194.983736666667 0.09812191700005735 0
408 2026-08-27 4630.277 4743.296973333333 0.017705902391665918 0 3152.4541 3189.7409700000003 0.15808474497133163 0
409 2026-08-28 4609.1764 4738.370823333333 0.004572515285307777 0 3149.1759 3184.523188333333 0.12101661307932265 0
410 2026-08-31 4625.0862 4735.173595 0.01802881115314392 0 3180.13 3179.750091666667 0.12009652442268881 1
411 2026-09-01 4611.4394 4733.470321666667 0.0022841032326852417 0 3174.6163 3176.7485933333332 0.0868941865359818 0
412 2026-09-02 4547.9559 4729.23941 -0.023657221016845198 -1 3154.3944 3172.1640666666667 0.05136288789073373 0
413 2026-09-03 4552.5784 4725.972496666667 -0.021226580091482927 -1 3153.7786 3168.593223333333 0.038633933854528735 0
414 2026-09-04 4548.0499 4723.066458333333 -0.03118299714992412 -1 3120.61 3164.8221 0.011458688854769639 0
415 2026-09-07 4575.0245 4719.694856666667 -0.027009683721993083 -1 3172.3544 3161.636083333333 0.01651019701849088 1
416 2026-09-08 4558.7371 4714.145264999999 -0.022524948439452186 -1 3189.7567 3156.7959116666666 0.027052798855073945 1
417 2026-09-09 4572.5995 4708.951386666667 -0.02522257644108561 -1 3181.8688 3150.8613166666664 0.006926337579739927 1
418 2026-09-10 4548.3898 4702.568115 -0.024777595769492677 -1 3130.9604 3143.911488333333 0.001973634607243646 0
419 2026-09-11 4510.1554 4695.3773949999995 -0.03337543184768621 -1 3073.668 3135.777446666667 -0.023965629209582895 -1
420 2026-09-14 4480.0821 4685.717793333332 -0.05505391251026859 -1 3104.5704 3127.7034716666667 -0.03753234904582081 -1
421 2026-09-15 4450.0402 4677.895363333333 -0.05835465276728857 -1 3068.612 3119.324545 -0.04615947183937197 -1
422 2026-09-16 4480.2683 4670.18284 -0.023629199191796513 -1 3132.9682 3112.0505249999997 0.031561900005505183 1
423 2026-09-17 4460.1557 4660.850371666666 -0.02887043458751859 -1 3136.5773 3105.3585883333335 0.01685545920404463 1
424 2026-09-18 4507.3926 4654.836573333333 -0.02414053473220168 -1 3192.2066 3101.1122833333334 0.032618942271991136 1
425 2026-09-21 4539.5654 4648.380646666667 -0.005163389505782989 -1 3256.5305 3098.4710283333334 0.06942002937798852 1
426 2026-09-22 4544.5875 4641.133225 -0.0016355550704975075 -1 3258.6651 3094.539006666667 0.053120882036561845 1
427 2026-09-23 4517.2785 4633.771578333332 -0.01601357151002314 -1 3259.7898 3089.7791383333333 0.054490970371195324 1
428 2026-09-24 4439.1443 4627.5523883333335 -0.04127889109010108 -1 3209.6326 3085.2445716666666 0.018137773996455664 1
429 2026-09-28 4340.755 4619.195409999999 -0.05823630442957228 -1 3104.8441 3078.86339 -0.014077270183605939 0
430 2026-09-29 4345.2088 4610.9155900000005 -0.06051290460272918 -1 3128.9542 3074.1200066666665 -0.016092361004109934 0
431 2026-09-30 4357.6155 4603.671475 -0.05504222824656446 -1 3107.2648 3070.6892616666664 -0.02121563478395805 0
432 2026-10-08 4310.2765 4596.25052 -0.052260709036338726 -1 3064.0022 3067.864736666667 -0.028655960079056797 -1
433 2026-10-09 4317.2549 4586.932893333333 -0.05169015870215443 -1 3065.2988 3064.3351533333334 -0.028055171659798872 0
434 2026-10-12 4287.9798 4578.719445 -0.05718277189526877 -1 3000.9452 3059.8011116666667 -0.03834660531114109 -1
435 2026-10-13 4275.68 4571.724395 -0.06543014141235748 -1 3024.9508 3058.75028 -0.04646504816738006 -1
436 2026-10-14 4217.6801 4562.077363333334 -0.07481392160122602 -1 2960.1874 3055.69077 -0.07197078698823645 -1
437 2026-10-15 4166.0124 4551.73119 -0.08891815257382607 -1 2862.5847 3051.421401666667 -0.10034483508559511 -1
438 2026-10-16 4170.6131 4542.934168333333 -0.08305723928938558 -1 2868.9849 3048.2275133333333 -0.08367256896637854 -1
439 2026-10-19 4174.5349 4537.024828333334 -0.07441439822672191 -1 2855.6636 3047.9650566666664 -0.07092646310531925 -1
440 2026-10-20 4152.1076 4529.587941666667 -0.0732072521617404 -1 2902.7 3050.431258333333 -0.06502361808255341 -1
441 2026-10-21 4111.9325 4519.133005 -0.07597857205874237 -1 2902.2333 3051.7715716666667 -0.05421952987213774 -1
442 2026-10-22 4036.2966 4507.783878333333 -0.09909489125907922 -1 2804.4573 3052.0745583333332 -0.10485612334016026 -1
443 2026-10-23 4105.3286 4497.405991666667 -0.07955486845448023 -1 2856.2698 3052.465001666667 -0.08936731768096384 -1

View File

@ -0,0 +1,233 @@
"""按三参数标定报告的结构输出阈值、阶段、顺序检验与限制。"""
import datetime as dt,sys
from pathlib import Path
import numpy as np
import pandas as pd
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from matplotlib import font_manager
from prepare import ROOT,read,dump,digest,offline
def pct(v):return '—' if v is None or not np.isfinite(v) else f'{v*100:+.2f}%'
def pp(v):return '—' if v is None or not np.isfinite(v) else f'{v*100:+.3f}'
def table(headers,rows):return '\n'.join(['| '+' | '.join(headers)+' |','| '+' | '.join(['---']*len(headers))+' |']+['| '+' | '.join(map(str,r))+' |' for r in rows])
NAMES={'unfiltered':'无分数门槛,5日','total_only':'仅总分≥0.8,5日','smart_only':'仅聪明资金分≥0.7,5日','baseline':'总分≥0.8且聪明资金分≥0.7,5日','train_fixed':'训练选择固定参数','train_phase':'训练选择分阶段参数'}
STAGES={-1:'下跌',0:'震荡',1:'上涨',99:'全部'}
def main():
sys.addaudithook(offline);figdir=ROOT/'figures';figdir.mkdir(exist_ok=True)
for path in ['/System/Library/Fonts/STHeiti Light.ttc','/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc']:
if Path(path).exists():font_manager.fontManager.addfont(path);plt.rcParams['font.family']=font_manager.FontProperties(fname=path).get_name();break
plt.rcParams.update({'axes.unicode_minus':False,'font.size':10,'savefig.dpi':150,'axes.spines.top':False,'axes.spines.right':False})
p=read(ROOT/'protocol.json');cov=read(ROOT/'coverage.json');s=read(ROOT/'selection.json');aud=read(ROOT/'audit.json');v=read(ROOT/'validation.json')
g=pd.read_csv(ROOT/'grid.csv');a=pd.read_csv(ROOT/'accounts.csv');nav=pd.read_csv(ROOT/'account_daily.csv');panel=np.load(ROOT/'cache/panel.npz');dates=panel['dates'];window=(dates>=p['signal_start'])&(dates<=cov['common_last_signal'])
def gr(total=.8,smart=.7,hold=5,period='test',stage=99,index='regime300',fee=30):
return g[(g.total==total)&(g.smart==smart)&(g.hold==hold)&(g.period==period)&(g.regime==stage)&(g.regime_index==index)&(g.fee_bps==fee)].iloc[0]
def ac(name,period='test',fee=30,lag=0):return a[(a.name==name)&(a.period==period)&(a.fee_bps==fee)&(a.lag_extra==lag)].iloc[0]
def heat(ax,period,stage,col,limit):
z=g[(g.hold==5)&(g.period==period)&(g.regime==stage)&(g.regime_index=='regime300')&(g.fee_bps==30)].pivot(index='total',columns='smart',values=col)*100
im=ax.imshow(z,cmap='RdBu_r',vmin=-limit,vmax=limit,aspect='auto')
ax.set_xticks(range(len(z.columns)),[f'{x:g}' for x in z.columns]);ax.set_yticks(range(len(z.index)),[f'{x:g}' for x in z.index]);ax.set_xlabel('smart_score 下限(0为不筛)');ax.set_ylabel('total_score 下限(0为不筛)')
for i in range(len(z.index)):
for j in range(len(z.columns)):
x=z.iloc[i,j];ax.text(j,i,f'{x:+.2f}',ha='center',va='center',fontsize=7,color='white' if abs(x)>limit*.55 else '#252525')
ax.set_title(f'{"2025年" if period=="2025" else "2026年检验"} · {STAGES[stage]}阶段');return im
fig,axes=plt.subplots(2,3,figsize=(19,11),layout='constrained')
for row,period in enumerate(['2025','test']):
for col,reg in enumerate([1,0,-1]):im=heat(axes[row,col],period,reg,'mean_net',2.2)
fig.colorbar(im,ax=axes,label='平均每批净收益(%,单边30基点)',shrink=.8)
fig.suptitle('相同阈值在不同年份、市场阶段的表现并不稳定\n持有5交易日;按信号日沪深300趋势归组,非整个阶段的账户收益',fontsize=15);fig.savefig(figdir/'年份与阶段阈值矩阵.png');plt.close(fig)
fig,axes=plt.subplots(1,3,figsize=(19,5.5),layout='constrained')
for ax,reg in zip(axes,[1,0,-1]):im=heat(ax,'test',reg,'excess_unfiltered',.7)
fig.colorbar(im,ax=axes,label='相对同日无门槛批次(百分点)',shrink=.8);fig.suptitle('2026年:上涨阶段的相对优势未稳定延续到震荡和下跌阶段\n持有5交易日,单边30基点;红色仅表示相对改善,不代表绝对盈利',fontsize=14);fig.savefig(figdir/'阶段增量收益.png');plt.close(fig)
fig,axes=plt.subplots(1,2,figsize=(13,5),layout='constrained')
for reg,color in [(1,'#ba5134'),(0,'#b58b30'),(-1,'#3979a3')]:
rr=[gr(hold=h,stage=reg) for h in range(1,11)]
axes[0].plot(range(1,11),[r.mean_net*100 for r in rr],'o-',color=color,label=STAGES[reg]);axes[1].plot(range(1,11),[r.excess_unfiltered*100 for r in rr],'o-',color=color,label=STAGES[reg])
for ax in axes:ax.axhline(0,color='#555',lw=.8);ax.set_xlabel('持有交易日');ax.set_xticks(range(1,11));ax.grid(alpha=.15);ax.legend()
axes[0].set_ylabel('平均每批净收益(%)');axes[1].set_ylabel('相对无门槛(百分点)');fig.suptitle('2026年固定总分≥0.8、聪明资金分≥0.7:延长持有期未消除亏损\n沪深300阶段,按信号日归组;每边30基点',fontsize=14);fig.savefig(figdir/'持有期比较.png');plt.close(fig)
fig,ax=plt.subplots(figsize=(12,5.5),layout='constrained')
for name in ['unfiltered','smart_only','baseline','train_fixed','train_phase']:
z=nav[(nav.name==name)&(nav.period=='test')&(nav.fee_bps==30)&(nav.lag_extra==0)&(nav.date>='2026-01-01')]
ax.plot(pd.to_datetime(z.date),z.nav,label=NAMES[name],lw=1.6)
ax.axhline(1,color='#555',lw=.8);ax.set_ylabel('账户净值,初始为1');ax.legend(fontsize=9);ax.grid(alpha=.15);fig.suptitle('2026年现金约束账户:训练选参未带来净盈利\n每边30基点;信号截至9月30日,继续退出并估值至10月23日',fontsize=14);fig.savefig(figdir/'顺序检验净值.png');plt.close(fig)
tab_accounts=table(['规则','2026收益','最大回撤','60基点收益','全历史收益'],[[NAMES[name],pct(ac(name)['return']),pct(ac(name).max_drawdown),pct(ac(name,fee=60)['return']),pct(ac(name,period='full')['return']) if name not in ['train_fixed','train_phase'] else '训练拟合部分不作验证'] for name in NAMES])
phase_rows=[]
for year in ['2025','2026']:
mask=window&np.char.startswith(dates,year)
for index,label in [('regime300','沪深300'),('regime2000','中证2000')]:
x=panel[index];items=[]
for stage in [1,0,-1]:
m=mask&(x==stage);episodes=int(np.sum(m&~np.r_[False,m[:-1]]));items.extend([int(m.sum()),episodes])
phase_rows.append([year,label,*items])
phase_table=table(['年份','阶段基准','上涨日','上涨段','震荡日','震荡段','下跌日','下跌段'],phase_rows)
slice_rows=[]
for threshold in p['total_thresholds']:
row=gr(total=threshold,smart=0);slice_rows.append([f'总分≥{threshold:g}' if threshold else '无门槛',round(row.mean_daily_selected),pct(row.mean_net),pp(row.excess_unfiltered)])
total_table=table(['固定5日,仅改变总分','日均入选只数','每批净收益','相对无门槛,百分点'],slice_rows)
smart_table=table(['固定5日,仅改变聪明资金分','日均入选只数','每批净收益','相对无门槛,百分点'],[[f'≥{x:g}',round(gr(total=0,smart=x).mean_daily_selected),pct(gr(total=0,smart=x).mean_net),pp(gr(total=0,smart=x).excess_unfiltered)] for x in p['smart_thresholds'][1:]])
combinations=[(.5,.5),(.7,.7),(.8,.7),(.8,.8),(.9,.8),(.9,.9),(.95,.9),(.98,.95)]
combo_table=table(['总分 / 聪明资金分下限','日均入选','每批净收益','加聪明资金分相对仅总分','加总分相对仅聪明资金分'],[[f'{t:g} / {m:g}',round(gr(total=t,smart=m).mean_daily_selected),pct(gr(total=t,smart=m).mean_net),pp(gr(total=t,smart=m).excess_total_only),pp(gr(total=t,smart=m).excess_smart_only)] for t,m in combinations])
stage_table=table(['年份','阶段','有效信号日','每批净收益','相对无门槛,百分点','相对仅总分,百分点'],[[y,STAGES[stage],int(gr(period=period,stage=stage).active_days),pct(gr(period=period,stage=stage).mean_net),pp(gr(period=period,stage=stage).excess_unfiltered),pp(gr(period=period,stage=stage).excess_total_only)] for y,period in [('2025','2025'),('2026','test')] for stage in [1,0,-1]])
chosen=s['global'];h=chosen['hold'];tx=chosen['total'];sm=chosen['smart']
choice_rows=[]
for stage in [1,0,-1]:
c=s['phases'][str(stage)];tr=gr(total=c['total'],smart=c['smart'],hold=c['hold'],period='train',stage=stage);te=gr(total=c['total'],smart=c['smart'],hold=c['hold'],stage=stage)
choice_rows.append([STAGES[stage],f"{c['total']:g} / {c['smart']:g} / {c['hold']}",pct(tr.mean_net),pp(tr.excess_unfiltered),pct(te.mean_net),pp(te.excess_unfiltered)])
choice_table=table(['阶段','总分 / 聪明资金分 / 持有日','训练每批净收益','训练超额,百分点','2026每批净收益','2026超额,百分点'],choice_rows)
sensitivity=table(['阶段定义','阶段','2026有效日','每批净收益','相对无门槛,百分点'],[[label,STAGES[stage],int(gr(stage=stage,index=index).active_days),pct(gr(stage=stage,index=index).mean_net),pp(gr(stage=stage,index=index).excess_unfiltered)] for index,label in [('regime300','沪深300'),('regime2000','中证2000')] for stage in [1,0,-1]])
hold_table=table(['持有交易日','每批净收益','相对无门槛,百分点','每边60基点净收益'],[[h,pct(gr(hold=h).mean_net),pp(gr(hold=h).excess_unfiltered),pct(gr(hold=h,fee=60).mean_net)] for h in range(1,11)])
lag_table=table(['账户','次日执行收益','再延迟1日收益','延迟后回撤'],[[NAMES[name],pct(ac(name)['return']),pct(ac(name,lag=1)['return']),pct(ac(name,lag=1).max_drawdown)] for name in ['baseline','train_fixed','train_phase']])
residual_table=table(['账户','买入受阻次数','到期卖出受阻批次股数','期末未了结批次股数','期末股票估值 / 初始资金'],[[NAMES[name],int(ac(name).skipped_buy),int(ac(name).delayed_lots),int(ac(name).open_lots),f'{ac(name).ending_stock_value*100:.5f}%'] for name in NAMES])
unc=[x for x in v['uncertainty'] if x['name']=='baseline' and x['regime']==99][0]
alltest=g[(g.period=='test')&(g.regime_index=='regime300')&(g.regime==99)&(g.fee_bps==30)];best=alltest.loc[alltest.mean_net.idxmax()];base=gr();gross=(base.mean_net+1)*1.003/.997-1
error=max(x['max_error'] for x in aud['ledger_rebuilds'])
text=f'''# 综合分与聪明资金分三维历史标定
日期:2026年10月28日。共同信号区间:2025年1月2日至2026年9月30日,行情与退出估值截至2026年10月23日。共424个日历交易日,其中423日有评分;2026年3月19日源表缺评分,当日不开新批次。
## 可以据此做什么判断
**本轮没有找到在2026年整体获得正平均单批净收益的阈值组合。聪明资金分有部分相对选股价值,但提高综合分门槛没有带来单调改善;暂不能给出可直接上线的分阶段阈值。** 在预先冻结的810组组合中,每边30基点费用下,2026年整体平均单批净收益全部为负。这不表示每笔都亏损,也不表示对810组都运行了完整资金账户;全网格是批次收益,36条资金账户另行核算。
**所有结果都是现存历史分数回放。** 源表没有入库时间和版本号,现有写入代码允许覆盖旧日期,因此不能证明这些分数在历史信号日当时就已可用。表内分数是实际导出的存量数据,没有补造信号;次日执行只是明确的研究假设。
{tab_accounts}
主表每边按成交额扣30基点,压力列每边60基点,统一包含佣金、税费和滑点等摩擦假设;不是重新核定的真实交易收费。2026账户从现金1开始,只接收2026年信号,保留残余持仓至行情末日;全历史账户从2025年起连续运行,两者不能按收益简单拼接。空闲现金不计息。没有模拟PMS与其他策略的联合收益。
## 只改变这三个维度
协议于北京时间2026年10月28日16:23冻结,先核查覆盖,再计算收益。见[协议](protocol.json)和[摘要](protocol.sha256)。
- 综合分 total_score 下限:0、0.5、0.6、0.7、0.8、0.85、0.9、0.95、0.98。
- 聪明资金分 smart_score 下限:0、0.4、0.5、0.6、0.7、0.8、0.85、0.9、0.95。
- 持有期:1至10个交易日。门槛均含边界,0表示该轴不筛选。
9×9×10共810组,两个费用假设各计算一遍。两项同时达标才入选,每天买入全部合格股票并等额分配该日批次预算,没有额外选前N只。本轮不叠加上一轮热度值和涨跌幅范围,以免混入上一轮事后挑选的参数。预设展示基线是总分≥0.8、聪明资金分≥0.7、持有5日,并非生产参数。
信号在收盘形成,次一交易日开盘买入,买入后经过H个交易日在开盘卖出。H=1表示次日买、再下一交易日卖,遵循T+1假设。重复信号各自形成批次,不重置旧批次到期时间。停牌、开盘跌停等造成卖出失败时顺延,因此“最长10日”在本实验指计划持有期上限,实际受阻持仓可能超过10日,不能虚构强制成交。
## 两个分数的含义与数据覆盖
开发机现有评分实现与表内旧注释“Potential × Trigger”不完全一致。现有代码把两个资金原始因子的市场排名各取50%构成 smart_score;再以60%聪明资金分加40%板块分,经筹码门控后重新做全市场排名得到 total_score。总分0.8近似表示位于当日评分股票的前20%,不表示80%的胜率;聪明资金分是两个分位的均值,0.8不等同于该分数本身的前20%。两项评分并不独立,在共同合格股票日上的相关系数约{aud['data_quality']['score_correlation']:.3f}。当前代码不能证明所有历史日期都使用同一版本,源码位置与摘要见[评分定义核查](source_definition.json)。
源表为150上 factordb 的 public.t_signal_daily_results;只读导出23个月、{cov['source_rows']:,}行,源日期从{cov['source_first']}到{cov['source_last']}。未导出ai_summary等无关文本;凭据只通过环境注入,不进入研究文件。后于行情截止日的分数不进入实验。当前代码在关键原始因子缺失时会把整日smart及sector写0,本次未发现该类整日降级记录。
行情、涨跌停、历史名称和上市资料只读复用既有全市场研究缓存,按股票代码在本地组合,未沿用微盘成分股名单。研究矩阵包含{cov['stocks']}只沪深股票,资格要求上市满120个交易日、当日有效历史名称、排除ST及退市整理、必要报价有效并且两项分数存在。共同信号期日均合格数量随日期变化,中位数{aud['data_quality']['eligible_daily_median']:.0f}只。
78只股票缺上市日期,3536个股票日缺可用历史名称,均未纳入;评分存在但报价缺失共{aud['data_quality']['scored_without_quote_stock_days']}个股票日。源表缺2026年3月19日整日评分,统一留空。复用了此前经重叠报价核验的12条行情补缺,见[覆盖、修复与源文件摘要](coverage.json)。这些资料仍不足以证明历史退市样本齐全,幸存者偏差未完全消除。
## 市场阶段怎样划分
主口径用沪深300截至信号日收盘的趋势:收盘不低于60日均线且近20日涨幅为正,记为上涨;收盘低于60日均线且近20日涨幅为负,记为下跌;其他记为震荡。均线包含当日并用更早历史预热,未使用信号日之后的价格。阶段描述的是此前趋势,不预言随后收益,也不是重新编写线上研判。每批按信号日阶段归组,跨阶段持仓不被强平。
{phase_table}
表中“段”是统计区间内连续处于该阶段的一段,包括年初跨年延续段。2026下跌日中有一天没有评分,实际可评价的信号日少1天。阶段段数、股票笔数和810组参数都不能当作同等数量的独立样本。完整逐日阶段见[regimes.csv](regimes.csv)。
## 阈值矩阵:不能用更高总分代替更好的收益
下图固定持有5日,展示全部81组门槛组合的平均每批净收益。每个信号日先在已结束的成交股票内等权,再对信号日等权;同日股票更多不会自动增加该日权重。右截尾未卖出批次不混入已实现事件收益,另在资金账户中保留并估值。
![年份与阶段阈值矩阵](figures/年份与阶段阈值矩阵.png)
仅看2026年、固定5日,提高总分下限到0.9以上,平均单批结果反而弱于不筛分数。总分≥0.98的筛选相对无门槛为{pp(gr(total=.98,smart=0).excess_unfiltered)}个百分点。这里不能推出总分因子永远无用,但不支持“分越高越值得买”的单调假设。
{total_table}
聪明资金分的相对改善更常见:0.5至0.9各档都比无门槛有更好的平均结果,但全部仍为负;0.95没有继续改善。以下数值是完整扫描的切片,0.9只是看过2026年后观察到的较好点,不改写训练选择。
{smart_table}
## 双门槛有没有额外价值
以下固定5日、2026年、每边30基点。后两列分别回答“在总分筛选后再加聪明资金分”和“在聪明资金筛选后再加总分”,单位都是百分点,分别与同日、同持有期的单项门槛相比。
{combo_table}
预设0.8 / 0.7组合相对仅总分每批改善{pp(base.excess_total_only)}个百分点,却比仅聪明资金分落后{pp(-base.excess_smart_only)}个百分点。双门槛会缩小股票池,但不能仅凭两项同时很高就认定信息更多或净收益更强。
## 相同阈值在不同阶段能否延续
以下均为预设0.8 / 0.7、持有5日。收益是入场信号属于该阶段的批次结果,不是仅在该阶段持仓的账户净值。
{stage_table}
2026年上涨阶段的相对无门槛改善为{pp(gr(stage=1).excess_unfiltered)}个百分点,下跌和震荡阶段则为负。2025年震荡阶段的相对改善没有延续到2026年,不能直接用2025年阶段标签拟定2026年的有效门槛。
![阶段增量收益](figures/阶段增量收益.png)
阶段归类对指数选择敏感。用完全相同的滞后规则改为中证2000后,2026年“下跌阶段”的预设基线每批净收益变为{pct(gr(stage=-1,index='regime2000').mean_net)},相对无门槛变为{pp(gr(stage=-1,index='regime2000').excess_unfiltered)}个百分点;沪深300口径对应值为{pct(gr(stage=-1).mean_net)}和{pp(gr(stage=-1).excess_unfiltered)}个百分点。两种分类整体收益相同,差别来自哪些日子被放入该阶段;因此不把阶段标签当作稳健的择时结论。
{sensitivity}
## 持有1至10个交易日
预设双门槛在2026年各持有期的平均单批净收益均为负。持有期延长同时改变价格暴露和周转费用,下面的批次收益没有年化,也不能直接按H倍缩放为真实账户收益。
{hold_table}
![持有期比较](figures/持有期比较.png)
全810组中,2026年平均单批净收益最高的观察点是总分≥{best.total:g}、聪明资金分≥{best.smart:g}、持有{int(best.hold)}日,仍为{pct(best.mean_net)}。这是事后观察上界,不是通过训练选出的候选,也不据此再回测一条“冠军账户”宣传收益。
## 训练选参和2026年顺序检验
训练使用2025年1月2日至12月15日信号,且实际退出必须早于2026年。候选至少有60个成交信号日、1000笔已结束交易,三种阶段各有10个成交信号日。先取三个阶段中最差的日等权净超额除以H,再对本点与三轴各相邻一档取中位数;平分优先更长持有期及较低门槛。共有{s['eligible_candidates']}组通过样本门槛。分阶段选择沿用同一资格池,对该阶段的净超额/H做相同邻域平滑。
训练选出的全局固定参数为 **总分不设门槛、聪明资金分≥{sm:g}、持有{h}日**。其训练期平均单批净收益仍为{pct(gr(total=tx,smart=sm,hold=h,period='train').mean_net)}。选择标准针对相对选股效果,不要求绝对净收益为正,因此“被选中”不等于“应交易”。2026年固定账户收益{pct(ac('train_fixed')['return'])},最大回撤{pct(ac('train_fixed').max_drawdown)},没有胜过预设基线。
{choice_table}
分阶段账户在2026年每个信号日使用2025年选定的该阶段门槛及持有期,新批次预算以前一日净值除以对应H计算;旧批次仍按入场时的到期日退出,不清仓重建账户。该账户2026年收益{pct(ac('train_phase')['return'])},同样不理想。没有用2026年的数据重新选一次阶段参数。
![顺序检验净值](figures/顺序检验净值.png)
预设基线2026年平均每批超额为{pp(unc['mean_excess'])}个百分点,以连续10个交易日为块抽样1000次,描述性95%区间为[{pp(unc['block10_95_interval'][0])}, {pp(unc['block10_95_interval'][1])}]个百分点,包含0。整块抽样只是依赖性敏感检查,未解决多重选参、分数回填和此前已研究过相同行情的问题。训练选中方案在上涨阶段的区间虽为正,也不能据此宣称普遍显著或独立样本外有效。
## 费用、时序与成交约束
预设基线2026年平均单批扣费前为{pct(gross)},每边30基点后为{pct(base.mean_net)}。频繁周转会累计侵蚀收益;60基点压力使所有展示账户更弱。没有在看到结果后把费用调低来寻找正收益。
{lag_table}
源表缺历史入库时刻,因此对预设基线和两种训练方案额外延迟一交易日执行,持有期仍从实际买入日计算,所有比较共用同一原始信号区间。延迟后结果进一步走弱;这项敏感检查也不能替代历史写入时间证据。
账户每日先卖后买,以前收净值/H分配新批次预算,受可用现金约束,不借钱、不重复占用资金。若有股票无法买入,其原份额留现金,不把预算再分给可买股票。买入排除开盘涨停、跌停、停牌及日风险标记;卖出遇跌停或缺有效报价则顺延。收益使用当日价格乘复权因子,不向过去倒填未来价格。估值仅沿用最后已知收盘价,连续缺价超过20个交易日则暂记0,这不是实际可卖价格。
{residual_table}
预设基线期末有1个尚未了结的股票批次,因长期缺价按规则估值0,不能称作已清仓或已实现损失。账户结果包含保守估值,事件表只统计已结束交易,两者因权重、现金、时序和截尾不同,不能直接互换。部分账户在缺价期间保留的历史估值占初始资金超过4%,提示行情缺失会影响日度回撤解释。
仍采用可分割复权单位,未完整建模整手、最低佣金、分红现金流、开盘成交容量与冲击。每天可能入选数百至数千只股票,研究收益不能被当作给定小额资金可以实际复制的交易回执。行情和评分可能存在历史修订,退市覆盖也不完整。
## 结论与下一步研究边界
现有证据支持继续拆解聪明资金分的增量贡献,但不支持把总分门槛一味提高,也不足以给出“上涨用某一阈值、下跌换另一阈值”的稳定规则。可保留0.7至0.9聪明资金门槛作为后续验证范围,同时保留不设总分门槛的对照;这来自本次观察,后续若试验需要另冻结协议,不能继续称作未见数据验证。
更关键的补充是保存每日评分的首次可用时间、版本和不可覆盖快照,扩大不同阶段历史覆盖,并用实际资金规模重做整手、最低佣金及容量约束。上述未完成项决定了本轮结论是参数诊断,不是生产策略验收。未修改PMS、bionic、QMT的运行参数或持仓,未部署。
## 复核、复现和文件
开发机完成9项内存测试,均经配置隔离和禁止联网入口运行。覆盖T+1、费用公式、受阻买卖、跨阶段持有期变化不改旧仓、期末残仓、未来行情不影响过去、阶段预热与阈值边界。3个2026详细账户独立逐笔重建,现金、持仓和估值最大误差{error:.3g};基线及固定训练规则的逐笔收益与网格一致。36个账户逐日检查现金守恒,主时序30基点路径全部核验前缀。
所有10种持有期均将行情真正截断至2025年末重新计算,训练事件数量及收益与完整回测的训练段一致,阶段标签也一致。扩展为可变持有期后,上一轮热度基线全路径逐日完全复现,收益仍为{pct(aud['prior_heat_baseline_return'])}。详见[独立审计](audit.json)、[网格与账户核验](validation.json)。没有把离线通过称为155服务或真实成交验收。
原始评分及行情缓存不提交Git,来源与SHA-256摘要保留在coverage.json;源系统后续覆盖旧分数时,仅重新下载不能保证复现本次快照。需要保留本地raw目录或同摘要副本。运行Python依赖见[requirements-research.txt](requirements-research.txt)。完整明细包括[51,840行分期分阶段费用表](grid.csv)、[36条账户摘要](accounts.csv)、[逐日账户账本](account_daily.csv)、[训练选择](selection.json)。CSV中regime=-1/0/1依次为下跌/震荡/上涨,99为全部;train的not_completed还包括年末截断排除的交易,不全是最终未退出。
先准备只读导出(环境变量SIGNAL_RESEARCH_PG_DSN,不把凭据放入命令历史或文档)。fetch.py接受probe或YYYYMM;本次使用202412至202610。其余步骤仅处理本地缓存:
```bash
python research/signal_scores_20261028/prepare.py
python research/signal_scores_20261028/calibrate.py
python scripts/unit_test_guard.py research/signal_scores_20261028/test_calibration.py
python scripts/unit_test_guard.py research/signal_scores_20261028/audit.py
python research/signal_scores_20261028/report.py
```
'''
(ROOT/'综合分与聪明资金分三维标定.md').write_text(text)
results=[ROOT/'grid.csv',ROOT/'accounts.csv',ROOT/'account_daily.csv',ROOT/'regimes.csv',ROOT/'selection.json',ROOT/'audit.json',ROOT/'validation.json',ROOT/'coverage.json',ROOT/'source_definition.json',ROOT/'requirements-research.txt',ROOT/'综合分与聪明资金分三维标定.md',*sorted(ROOT.glob('*.py')),*sorted(figdir.glob('*.png'))]
dump(ROOT/'manifest.json',{'created_at_beijing':dt.datetime.now(dt.timezone(dt.timedelta(hours=8))).isoformat(),'machine':'开发机macOS;只读取数及本地断网研究','protocol_sha256':digest(ROOT/'protocol.json'),'files_sha256':{str(f.relative_to(ROOT)):digest(f) for f in results},'grid_rows':len(g),'combinations':810,'accounts':len(a),'runtime':{'python':sys.version.split()[0],'numpy':np.__version__,'pandas':pd.__version__,'matplotlib':matplotlib.__version__},'source_version_claim':'现存历史评分回放,不证明历史首次可用时刻','live_parameters_changed':False})
print('中文报告与4幅图已生成')
if __name__=='__main__':main()

View File

@ -0,0 +1,4 @@
numpy==2.3.5
pandas==2.2.3
matplotlib==3.11.2
psycopg2-binary==2.9.13

View File

@ -0,0 +1,54 @@
{
"rule": "只在2025训练选择。每候选须训练至少60个成交信号日、1000笔已结束交易,各市场阶段至少10个成交日;评分为三个阶段的日等权净超额/H之最小值,对本点及三轴相邻一档取中位数;平分优先较长H、较低阈值。允许不胜出,不自动上线。分别报告全局和每阶段训练选参,测试不重选",
"eligible_candidates": 810,
"global": {
"total": 0.0,
"smart": 0.8,
"hold": 2,
"score": 0.0002500313340489383,
"raw_score": 0.0002508771529709045,
"index": [
1,
0,
5
]
},
"phases": {
"-1": {
"total": 0.9,
"smart": 0.95,
"hold": 1,
"score": 0.0008481236205907089,
"raw_score": 0.0010653444541290115,
"index": [
0,
6,
8
]
},
"0": {
"total": 0.9,
"smart": 0.8,
"hold": 9,
"score": 0.0005603796811245709,
"raw_score": 0.000586178014065135,
"index": [
8,
6,
5
]
},
"1": {
"total": 0.0,
"smart": 0.95,
"hold": 4,
"score": 0.000355176562629061,
"raw_score": 0.0003702633103140267,
"index": [
3,
0,
8
]
}
}
}

View File

@ -0,0 +1,13 @@
{
"observed_at": "2026-10-28",
"repository": "/Users/baobao/Documents/work/project/main-trend-factor-system",
"head": "feba149eda7b2090c01d4c536d53eb460fedafef",
"files": {
"src/tasks/synthesis_tasks.py": "3b23d4164883e994feb9b37b48763b8cab3215157941e34578a53374108194dd",
"src/database/dal.py": "6ce4e0393276d2268668aa0a05d63813b635cc384e8b0000d8016c85b49792de",
"src/core/celery_app.py": "e83e8bbc21e9523a477e069aac1ec380b6f32a8790e677f865d3c5d149e0cb8e"
},
"formula": "smart = 0.5 * rank(f_smartaccumulation) + 0.5 * rank(f_retailhandover); sector = rank(f_sectorheat); gate_chip = 0.5 if raw_chip_score < 0.2 else 1.0; total = rank((0.6 * smart + 0.4 * sector) * gate_chip)",
"fallback": "缺失全日非零smart原始因子或sector原始因子时,smart=sector=0,total改为rank(control*gate_chip)",
"historical_availability": "源表没有写入时间或版本号,代码允许按日期和代码覆盖历史。该代码为开发机核查,未证明所有历史日都运行相同版本。"
}

View File

@ -0,0 +1,55 @@
"""在临时工作目录、配置隔离且禁止联网环境验证经济约束与边界。"""
import unittest
import numpy as np
from engine import account,future_exits
from prepare import regime
from calibrate import aggregate,choose
def panel(t=16,n=2):
p={k:np.ones((t,n))*10 for k in ['open','close','mark']}
p.update(dates=np.array([f'2025-01-{i+1:02}' for i in range(t)]),codes=np.array(['a','b'])[:n],can_buy=np.ones((t,n),bool),can_sell=np.ones((t,n),bool))
return p
class ResearchTests(unittest.TestCase):
def test_t_plus_one_and_fee(self):
p=panel();m=np.zeros((16,2),bool);m[0,0]=True
a=account(p,m,1,.003,detail=True)
self.assertEqual([(r['day'],r['side']) for r in a['journal']],[(1,'buy'),(2,'sell')])
self.assertAlmostEqual(a['summary']['return'],.997/1.003-1)
def test_blocked_buy_keeps_its_cash(self):
p=panel();m=np.zeros((16,2),bool);m[0]=True;p['can_buy'][1,1]=False
a=account(p,m,1,0);self.assertAlmostEqual(a['daily'][1]['cash'],.5)
def test_hold_change_does_not_retime_old_lots(self):
p=panel();m=np.zeros((16,2),bool);m[:2,0]=True;holds=np.ones(16,int);holds[0]=5
a=account(p,m,holds,0,detail=True)
self.assertEqual([(r['signal'],r['day']) for r in a['journal'] if r['side']=='sell'],[(1,3),(0,6)])
self.assertTrue(all(r['cash']>=0 for r in a['daily']))
def test_blocked_exit_and_event_label_agree(self):
p=panel();p['can_sell'][2:4,0]=False;p['open'][4,0]=12;m=np.zeros((16,2),bool);m[0,0]=True
ex,gr=future_exits(p,1);a=account(p,m,1,0,detail=True)
self.assertEqual(ex[0,0],4);self.assertAlmostEqual(gr[0,0],1.2);self.assertEqual(a['journal'][-1]['day'],4)
self.assertAlmostEqual(a['summary']['return'],.2)
def test_right_censor_keeps_inventory(self):
p=panel();p['can_sell'][2:,0]=False;m=np.zeros((16,2),bool);m[0,0]=True
ex,gr=future_exits(p,1);a=account(p,m,1,0)
self.assertEqual(ex[0,0],-1);self.assertTrue(np.isnan(gr[0,0]));self.assertEqual(a['summary']['open_lots'],1);self.assertEqual(a['summary']['ending_stock_value'],1)
def test_future_changes_preserve_past(self):
p=panel();m=np.ones((16,2),bool);h=np.full(16,3);a=account(p,m,h,.003,stop=7)
for k in ['open','close','mark']:p[k][7:]*=100
p['can_sell'][7:]=False;m[7:]=False;h[7:]=1
self.assertEqual(a,account(p,m,h,.003,stop=7))
def test_stage_prefix_has_no_future_price(self):
import pandas as pd
ds=pd.bdate_range('2024-01-01',periods=100).strftime('%Y-%m-%d').tolist()
rr=[{'timestamp':d,'close':100+i*.5+np.sin(i)} for i,d in enumerate(ds)]
a=regime(rr,ds[60:80]);rr[80:]=[{'timestamp':d,'close':1} for d in ds[80:]]
self.assertTrue(a.equals(regime(rr,ds[60:80])));self.assertTrue(a.equals(regime(rr[:80],ds[60:80])))
def test_threshold_histogram_includes_exact_boundary(self):
levels=np.array([0,.5,.8]);v=np.array([[.49,.5,.8,.9]]);u=np.array([[.9,.8,.5,.2]])
ids=(np.searchsorted(levels,v,side='right')-1)*3+np.searchsorted(levels,u,side='right')-1
count=aggregate(ids,np.ones((1,4),bool),None,1,3,3)
for i,t in enumerate(levels):
for j,s in enumerate(levels):self.assertEqual(count[0,i,j],((v>=t)&(u>=s)).sum())
def test_selection_missing_sample_never_wins(self):
raw=np.zeros((2,2,2));raw[0,1,1]=999;valid=np.ones(raw.shape,bool);valid[0,1,1]=False
c=choose(raw,valid,[0,.8],[0,.7]);self.assertEqual((c['hold'],c['total'],c['smart']),(2,0,0))
if __name__=='__main__':unittest.main()

View File

@ -0,0 +1,417 @@
{
"aggregate_crosscheck": [
{
"hold": 1,
"aggregate_max_error": 3.712308238590367e-16
},
{
"hold": 2,
"aggregate_max_error": 3.393552799879629e-16
},
{
"hold": 3,
"aggregate_max_error": 4.0896105946153227e-16
},
{
"hold": 4,
"aggregate_max_error": 4.0939474033052647e-16
},
{
"hold": 5,
"aggregate_max_error": 3.3566899260151217e-16
},
{
"hold": 6,
"aggregate_max_error": 3.400058012914542e-16
},
{
"hold": 7,
"aggregate_max_error": 3.226585665316861e-16
},
{
"hold": 8,
"aggregate_max_error": 3.642919299551295e-16
},
{
"hold": 9,
"aggregate_max_error": 3.7470027081099033e-16
},
{
"hold": 10,
"aggregate_max_error": 3.8163916471489756e-16
}
],
"account_checks": [
{
"name": "unfiltered",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "unfiltered",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "unfiltered",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "unfiltered",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "total_only",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "total_only",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "total_only",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "total_only",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "smart_only",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "smart_only",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "smart_only",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "smart_only",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "full",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "full",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "baseline",
"period": "test",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "baseline",
"period": "test",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_fixed",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_fixed",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_fixed",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_fixed",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_fixed",
"period": "full",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_fixed",
"period": "full",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_fixed",
"period": "test",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_fixed",
"period": "test",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_phase",
"period": "full",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_phase",
"period": "full",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_phase",
"period": "test",
"lag_extra": 0,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_phase",
"period": "test",
"lag_extra": 0,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_phase",
"period": "full",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_phase",
"period": "full",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
},
{
"name": "train_phase",
"period": "test",
"lag_extra": 1,
"fee_bps": 30,
"days": 442,
"max_cash_nav_error": 2.220446049250313e-16
},
{
"name": "train_phase",
"period": "test",
"lag_extra": 1,
"fee_bps": 60,
"days": 442,
"max_cash_nav_error": 1.1102230246251565e-16
}
],
"prefix_account_check": "所有主时序30bps账户,完整运行前半段与截断运行逐日完全一致",
"uncertainty": [
{
"name": "baseline",
"regime": 99,
"test_active_days": 180,
"mean_excess": 0.0006349028354498015,
"block10_95_interval": [
-0.002414687568961194,
0.004202587173452164
]
},
{
"name": "baseline",
"regime": -1,
"test_active_days": 79,
"mean_excess": -0.0008512943417471263,
"block10_95_interval": [
-0.004510029067282674,
0.0029249385730308886
]
},
{
"name": "baseline",
"regime": 0,
"test_active_days": 30,
"mean_excess": -0.0019944151207825856,
"block10_95_interval": [
-0.007057436937959303,
0.0020189976611306713
]
},
{
"name": "baseline",
"regime": 1,
"test_active_days": 71,
"mean_excess": 0.0033995382676403484,
"block10_95_interval": [
-0.002872546268710873,
0.009498835476734588
]
},
{
"name": "train_fixed",
"regime": 99,
"test_active_days": 180,
"mean_excess": 0.0006268743786408613,
"block10_95_interval": [
-0.0007165174795469233,
0.0019776135578756324
]
},
{
"name": "train_fixed",
"regime": -1,
"test_active_days": 79,
"mean_excess": -0.0006214674401183482,
"block10_95_interval": [
-0.0023272712268271054,
0.0011683554529176433
]
},
{
"name": "train_fixed",
"regime": 0,
"test_active_days": 30,
"mean_excess": -0.00013788121546937492,
"block10_95_interval": [
-0.0024621714305291266,
0.0020843856215391225
]
},
{
"name": "train_fixed",
"regime": 1,
"test_active_days": 71,
"mean_excess": 0.002339010597025152,
"block10_95_interval": [
0.00020147263408895307,
0.004371861624989114
]
}
]
}

View File

@ -0,0 +1,223 @@
# 综合分与聪明资金分三维历史标定
日期:2026年10月28日。共同信号区间:2025年1月2日至2026年9月30日,行情与退出估值截至2026年10月23日。共424个日历交易日,其中423日有评分;2026年3月19日源表缺评分,当日不开新批次。
## 可以据此做什么判断
**本轮没有找到在2026年整体获得正平均单批净收益的阈值组合。聪明资金分有部分相对选股价值,但提高综合分门槛没有带来单调改善;暂不能给出可直接上线的分阶段阈值。** 在预先冻结的810组组合中,每边30基点费用下,2026年整体平均单批净收益全部为负。这不表示每笔都亏损,也不表示对810组都运行了完整资金账户;全网格是批次收益,36条资金账户另行核算。
**所有结果都是现存历史分数回放。** 源表没有入库时间和版本号,现有写入代码允许覆盖旧日期,因此不能证明这些分数在历史信号日当时就已可用。表内分数是实际导出的存量数据,没有补造信号;次日执行只是明确的研究假设。
| 规则 | 2026收益 | 最大回撤 | 60基点收益 | 全历史收益 |
| --- | --- | --- | --- | --- |
| 无分数门槛,5日 | -23.37% | -29.40% | -38.21% | -13.68% |
| 仅总分≥0.8,5日 | -23.27% | -26.92% | -38.11% | -11.40% |
| 仅聪明资金分≥0.7,5日 | -21.12% | -25.35% | -36.39% | -6.02% |
| 总分≥0.8且聪明资金分≥0.7,5日 | -21.77% | -25.73% | -36.91% | -9.05% |
| 训练选择固定参数 | -38.66% | -41.88% | -64.15% | 训练拟合部分不作验证 |
| 训练选择分阶段参数 | -35.24% | -38.72% | -60.85% | 训练拟合部分不作验证 |
主表每边按成交额扣30基点,压力列每边60基点,统一包含佣金、税费和滑点等摩擦假设;不是重新核定的真实交易收费。2026账户从现金1开始,只接收2026年信号,保留残余持仓至行情末日;全历史账户从2025年起连续运行,两者不能按收益简单拼接。空闲现金不计息。没有模拟PMS与其他策略的联合收益。
## 只改变这三个维度
协议于北京时间2026年10月28日16:23冻结,先核查覆盖,再计算收益。见[协议](protocol.json)和[摘要](protocol.sha256)。
- 综合分 total_score 下限:0、0.5、0.6、0.7、0.8、0.85、0.9、0.95、0.98。
- 聪明资金分 smart_score 下限:0、0.4、0.5、0.6、0.7、0.8、0.85、0.9、0.95。
- 持有期:1至10个交易日。门槛均含边界,0表示该轴不筛选。
9×9×10共810组,两个费用假设各计算一遍。两项同时达标才入选,每天买入全部合格股票并等额分配该日批次预算,没有额外选前N只。本轮不叠加上一轮热度值和涨跌幅范围,以免混入上一轮事后挑选的参数。预设展示基线是总分≥0.8、聪明资金分≥0.7、持有5日,并非生产参数。
信号在收盘形成,次一交易日开盘买入,买入后经过H个交易日在开盘卖出。H=1表示次日买、再下一交易日卖,遵循T+1假设。重复信号各自形成批次,不重置旧批次到期时间。停牌、开盘跌停等造成卖出失败时顺延,因此“最长10日”在本实验指计划持有期上限,实际受阻持仓可能超过10日,不能虚构强制成交。
## 两个分数的含义与数据覆盖
开发机现有评分实现与表内旧注释“Potential × Trigger”不完全一致。现有代码把两个资金原始因子的市场排名各取50%构成 smart_score;再以60%聪明资金分加40%板块分,经筹码门控后重新做全市场排名得到 total_score。总分0.8近似表示位于当日评分股票的前20%,不表示80%的胜率;聪明资金分是两个分位的均值,0.8不等同于该分数本身的前20%。两项评分并不独立,在共同合格股票日上的相关系数约0.719。当前代码不能证明所有历史日期都使用同一版本,源码位置与摘要见[评分定义核查](source_definition.json)。
源表为150上 factordb 的 public.t_signal_daily_results;只读导出23个月、2,284,207行,源日期从2024-12-24到2026-10-27。未导出ai_summary等无关文本;凭据只通过环境注入,不进入研究文件。后于行情截止日的分数不进入实验。当前代码在关键原始因子缺失时会把整日smart及sector写0,本次未发现该类整日降级记录。
行情、涨跌停、历史名称和上市资料只读复用既有全市场研究缓存,按股票代码在本地组合,未沿用微盘成分股名单。研究矩阵包含5241只沪深股票,资格要求上市满120个交易日、当日有效历史名称、排除ST及退市整理、必要报价有效并且两项分数存在。共同信号期日均合格数量随日期变化,中位数4929只。
78只股票缺上市日期,3536个股票日缺可用历史名称,均未纳入;评分存在但报价缺失共3863个股票日。源表缺2026年3月19日整日评分,统一留空。复用了此前经重叠报价核验的12条行情补缺,见[覆盖、修复与源文件摘要](coverage.json)。这些资料仍不足以证明历史退市样本齐全,幸存者偏差未完全消除。
## 市场阶段怎样划分
主口径用沪深300截至信号日收盘的趋势:收盘不低于60日均线且近20日涨幅为正,记为上涨;收盘低于60日均线且近20日涨幅为负,记为下跌;其他记为震荡。均线包含当日并用更早历史预热,未使用信号日之后的价格。阶段描述的是此前趋势,不预言随后收益,也不是重新编写线上研判。每批按信号日阶段归组,跨阶段持仓不被强平。
| 年份 | 阶段基准 | 上涨日 | 上涨段 | 震荡日 | 震荡段 | 下跌日 | 下跌段 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 2025 | 沪深300 | 143 | 10 | 41 | 14 | 59 | 6 |
| 2025 | 中证2000 | 154 | 11 | 38 | 15 | 51 | 7 |
| 2026 | 沪深300 | 71 | 10 | 30 | 15 | 80 | 12 |
| 2026 | 中证2000 | 82 | 8 | 39 | 12 | 60 | 7 |
表中“段”是统计区间内连续处于该阶段的一段,包括年初跨年延续段。2026下跌日中有一天没有评分,实际可评价的信号日少1天。阶段段数、股票笔数和810组参数都不能当作同等数量的独立样本。完整逐日阶段见[regimes.csv](regimes.csv)。
## 阈值矩阵:不能用更高总分代替更好的收益
下图固定持有5日,展示全部81组门槛组合的平均每批净收益。每个信号日先在已结束的成交股票内等权,再对信号日等权;同日股票更多不会自动增加该日权重。右截尾未卖出批次不混入已实现事件收益,另在资金账户中保留并估值。
![年份与阶段阈值矩阵](figures/年份与阶段阈值矩阵.png)
仅看2026年、固定5日,提高总分下限到0.9以上,平均单批结果反而弱于不筛分数。总分≥0.98的筛选相对无门槛为-0.097个百分点。这里不能推出总分因子永远无用,但不支持“分越高越值得买”的单调假设。
| 固定5日,仅改变总分 | 日均入选只数 | 每批净收益 | 相对无门槛,百分点 |
| --- | --- | --- | --- |
| 无门槛 | 4892 | -0.69% | +0.000 |
| 总分≥0.5 | 2479 | -0.67% | +0.020 |
| 总分≥0.6 | 1985 | -0.67% | +0.022 |
| 总分≥0.7 | 1490 | -0.67% | +0.014 |
| 总分≥0.8 | 994 | -0.68% | +0.007 |
| 总分≥0.85 | 745 | -0.69% | -0.006 |
| 总分≥0.9 | 496 | -0.72% | -0.028 |
| 总分≥0.95 | 247 | -0.72% | -0.030 |
| 总分≥0.98 | 98 | -0.78% | -0.097 |
聪明资金分的相对改善更常见:0.5至0.9各档都比无门槛有更好的平均结果,但全部仍为负;0.95没有继续改善。以下数值是完整扫描的切片,0.9只是看过2026年后观察到的较好点,不改写训练选择。
| 固定5日,仅改变聪明资金分 | 日均入选只数 | 每批净收益 | 相对无门槛,百分点 |
| --- | --- | --- | --- |
| ≥0.4 | 3250 | -0.63% | +0.055 |
| ≥0.5 | 2522 | -0.61% | +0.074 |
| ≥0.6 | 1744 | -0.62% | +0.067 |
| ≥0.7 | 1077 | -0.60% | +0.089 |
| ≥0.8 | 552 | -0.61% | +0.083 |
| ≥0.85 | 346 | -0.60% | +0.085 |
| ≥0.9 | 178 | -0.55% | +0.142 |
| ≥0.95 | 62 | -0.61% | +0.075 |
## 双门槛有没有额外价值
以下固定5日、2026年、每边30基点。后两列分别回答“在总分筛选后再加聪明资金分”和“在聪明资金筛选后再加总分”,单位都是百分点,分别与同日、同持有期的单项门槛相比。
| 总分 / 聪明资金分下限 | 日均入选 | 每批净收益 | 加聪明资金分相对仅总分 | 加总分相对仅聪明资金分 |
| --- | --- | --- | --- | --- |
| 0.5 / 0.5 | 1900 | -0.64% | +0.027 | -0.027 |
| 0.7 / 0.7 | 759 | -0.62% | +0.051 | -0.024 |
| 0.8 / 0.7 | 606 | -0.62% | +0.056 | -0.026 |
| 0.8 / 0.8 | 358 | -0.63% | +0.052 | -0.024 |
| 0.9 / 0.8 | 255 | -0.64% | +0.080 | -0.032 |
| 0.9 / 0.9 | 98 | -0.57% | +0.150 | -0.020 |
| 0.95 / 0.9 | 73 | -0.60% | +0.118 | -0.054 |
| 0.98 / 0.95 | 19 | -0.67% | +0.117 | -0.055 |
预设0.8 / 0.7组合相对仅总分每批改善+0.056个百分点,却比仅聪明资金分落后+0.026个百分点。双门槛会缩小股票池,但不能仅凭两项同时很高就认定信息更多或净收益更强。
## 相同阈值在不同阶段能否延续
以下均为预设0.8 / 0.7、持有5日。收益是入场信号属于该阶段的批次结果,不是仅在该阶段持仓的账户净值。
| 年份 | 阶段 | 有效信号日 | 每批净收益 | 相对无门槛,百分点 | 相对仅总分,百分点 |
| --- | --- | --- | --- | --- | --- |
| 2025 | 上涨 | 143 | +0.12% | +0.032 | -0.007 |
| 2025 | 震荡 | 41 | -0.19% | +0.213 | +0.032 |
| 2025 | 下跌 | 59 | +1.28% | +0.046 | +0.045 |
| 2026 | 上涨 | 71 | -0.88% | +0.340 | +0.118 |
| 2026 | 震荡 | 30 | -1.28% | -0.199 | +0.075 |
| 2026 | 下跌 | 79 | -0.14% | -0.085 | -0.007 |
2026年上涨阶段的相对无门槛改善为+0.340个百分点,下跌和震荡阶段则为负。2025年震荡阶段的相对改善没有延续到2026年,不能直接用2025年阶段标签拟定2026年的有效门槛。
![阶段增量收益](figures/阶段增量收益.png)
阶段归类对指数选择敏感。用完全相同的滞后规则改为中证2000后,2026年“下跌阶段”的预设基线每批净收益变为+0.45%,相对无门槛变为+0.112个百分点;沪深300口径对应值为-0.14%和-0.085个百分点。两种分类整体收益相同,差别来自哪些日子被放入该阶段;因此不把阶段标签当作稳健的择时结论。
| 阶段定义 | 阶段 | 2026有效日 | 每批净收益 | 相对无门槛,百分点 |
| --- | --- | --- | --- | --- |
| 沪深300 | 上涨 | 71 | -0.88% | +0.340 |
| 沪深300 | 震荡 | 30 | -1.28% | -0.199 |
| 沪深300 | 下跌 | 79 | -0.14% | -0.085 |
| 中证2000 | 上涨 | 82 | -0.96% | +0.125 |
| 中证2000 | 震荡 | 39 | -1.55% | -0.140 |
| 中证2000 | 下跌 | 59 | +0.45% | +0.112 |
## 持有1至10个交易日
预设双门槛在2026年各持有期的平均单批净收益均为负。持有期延长同时改变价格暴露和周转费用,下面的批次收益没有年化,也不能直接按H倍缩放为真实账户收益。
| 持有交易日 | 每批净收益 | 相对无门槛,百分点 | 每边60基点净收益 |
| --- | --- | --- | --- |
| 1 | -0.59% | -0.006 | -1.18% |
| 2 | -0.57% | +0.021 | -1.16% |
| 3 | -0.53% | +0.089 | -1.13% |
| 4 | -0.56% | +0.094 | -1.15% |
| 5 | -0.62% | +0.063 | -1.22% |
| 6 | -0.71% | +0.045 | -1.31% |
| 7 | -0.70% | +0.124 | -1.30% |
| 8 | -0.75% | +0.131 | -1.35% |
| 9 | -0.84% | +0.098 | -1.43% |
| 10 | -0.85% | +0.135 | -1.44% |
![持有期比较](figures/持有期比较.png)
全810组中,2026年平均单批净收益最高的观察点是总分≥0.9、聪明资金分≥0.9、持有3日,仍为-0.47%。这是事后观察上界,不是通过训练选出的候选,也不据此再回测一条“冠军账户”宣传收益。
## 训练选参和2026年顺序检验
训练使用2025年1月2日至12月15日信号,且实际退出必须早于2026年。候选至少有60个成交信号日、1000笔已结束交易,三种阶段各有10个成交信号日。先取三个阶段中最差的日等权净超额除以H,再对本点与三轴各相邻一档取中位数;平分优先更长持有期及较低门槛。共有810组通过样本门槛。分阶段选择沿用同一资格池,对该阶段的净超额/H做相同邻域平滑。
训练选出的全局固定参数为 **总分不设门槛、聪明资金分≥0.8、持有2日**。其训练期平均单批净收益仍为-0.24%。选择标准针对相对选股效果,不要求绝对净收益为正,因此“被选中”不等于“应交易”。2026年固定账户收益-38.66%,最大回撤-41.88%,没有胜过预设基线。
| 阶段 | 总分 / 聪明资金分 / 持有日 | 训练每批净收益 | 训练超额,百分点 | 2026每批净收益 | 2026超额,百分点 |
| --- | --- | --- | --- | --- | --- |
| 上涨 | 0 / 0.95 / 4 | +0.02% | +0.148 | -0.52% | +0.472 |
| 震荡 | 0.9 / 0.8 / 9 | +0.56% | +0.528 | -2.21% | -0.122 |
| 下跌 | 0.9 / 0.95 / 1 | -0.33% | +0.107 | -0.47% | -0.068 |
分阶段账户在2026年每个信号日使用2025年选定的该阶段门槛及持有期,新批次预算以前一日净值除以对应H计算;旧批次仍按入场时的到期日退出,不清仓重建账户。该账户2026年收益-35.24%,同样不理想。没有用2026年的数据重新选一次阶段参数。
![顺序检验净值](figures/顺序检验净值.png)
预设基线2026年平均每批超额为+0.063个百分点,以连续10个交易日为块抽样1000次,描述性95%区间为[-0.241, +0.420]个百分点,包含0。整块抽样只是依赖性敏感检查,未解决多重选参、分数回填和此前已研究过相同行情的问题。训练选中方案在上涨阶段的区间虽为正,也不能据此宣称普遍显著或独立样本外有效。
## 费用、时序与成交约束
预设基线2026年平均单批扣费前为-0.03%,每边30基点后为-0.62%。频繁周转会累计侵蚀收益;60基点压力使所有展示账户更弱。没有在看到结果后把费用调低来寻找正收益。
| 账户 | 次日执行收益 | 再延迟1日收益 | 延迟后回撤 |
| --- | --- | --- | --- |
| 总分≥0.8且聪明资金分≥0.7,5日 | -21.77% | -24.63% | -27.15% |
| 训练选择固定参数 | -38.66% | -41.69% | -43.97% |
| 训练选择分阶段参数 | -35.24% | -42.19% | -44.40% |
源表缺历史入库时刻,因此对预设基线和两种训练方案额外延迟一交易日执行,持有期仍从实际买入日计算,所有比较共用同一原始信号区间。延迟后结果进一步走弱;这项敏感检查也不能替代历史写入时间证据。
账户每日先卖后买,以前收净值/H分配新批次预算,受可用现金约束,不借钱、不重复占用资金。若有股票无法买入,其原份额留现金,不把预算再分给可买股票。买入排除开盘涨停、跌停、停牌及日风险标记;卖出遇跌停或缺有效报价则顺延。收益使用当日价格乘复权因子,不向过去倒填未来价格。估值仅沿用最后已知收盘价,连续缺价超过20个交易日则暂记0,这不是实际可卖价格。
| 账户 | 买入受阻次数 | 到期卖出受阻批次股数 | 期末未了结批次股数 | 期末股票估值 / 初始资金 |
| --- | --- | --- | --- | --- |
| 无分数门槛,5日 | 2688 | 2053 | 13 | 0.00935% |
| 仅总分≥0.8,5日 | 638 | 428 | 2 | 0.00000% |
| 仅聪明资金分≥0.7,5日 | 555 | 445 | 1 | 0.00000% |
| 总分≥0.8且聪明资金分≥0.7,5日 | 378 | 260 | 1 | 0.00000% |
| 训练选择固定参数 | 312 | 174 | 0 | 0.00000% |
| 训练选择分阶段参数 | 86 | 32 | 0 | 0.00000% |
预设基线期末有1个尚未了结的股票批次,因长期缺价按规则估值0,不能称作已清仓或已实现损失。账户结果包含保守估值,事件表只统计已结束交易,两者因权重、现金、时序和截尾不同,不能直接互换。部分账户在缺价期间保留的历史估值占初始资金超过4%,提示行情缺失会影响日度回撤解释。
仍采用可分割复权单位,未完整建模整手、最低佣金、分红现金流、开盘成交容量与冲击。每天可能入选数百至数千只股票,研究收益不能被当作给定小额资金可以实际复制的交易回执。行情和评分可能存在历史修订,退市覆盖也不完整。
## 结论与下一步研究边界
现有证据支持继续拆解聪明资金分的增量贡献,但不支持把总分门槛一味提高,也不足以给出“上涨用某一阈值、下跌换另一阈值”的稳定规则。可保留0.7至0.9聪明资金门槛作为后续验证范围,同时保留不设总分门槛的对照;这来自本次观察,后续若试验需要另冻结协议,不能继续称作未见数据验证。
更关键的补充是保存每日评分的首次可用时间、版本和不可覆盖快照,扩大不同阶段历史覆盖,并用实际资金规模重做整手、最低佣金及容量约束。上述未完成项决定了本轮结论是参数诊断,不是生产策略验收。未修改PMS、bionic、QMT的运行参数或持仓,未部署。
## 复核、复现和文件
开发机完成9项内存测试,均经配置隔离和禁止联网入口运行。覆盖T+1、费用公式、受阻买卖、跨阶段持有期变化不改旧仓、期末残仓、未来行情不影响过去、阶段预热与阈值边界。3个2026详细账户独立逐笔重建,现金、持仓和估值最大误差5.22e-14;基线及固定训练规则的逐笔收益与网格一致。36个账户逐日检查现金守恒,主时序30基点路径全部核验前缀。
所有10种持有期均将行情真正截断至2025年末重新计算,训练事件数量及收益与完整回测的训练段一致,阶段标签也一致。扩展为可变持有期后,上一轮热度基线全路径逐日完全复现,收益仍为-9.18%。详见[独立审计](audit.json)、[网格与账户核验](validation.json)。没有把离线通过称为155服务或真实成交验收。
原始评分及行情缓存不提交Git,来源与SHA-256摘要保留在coverage.json;源系统后续覆盖旧分数时,仅重新下载不能保证复现本次快照。需要保留本地raw目录或同摘要副本。运行Python依赖见[requirements-research.txt](requirements-research.txt)。完整明细包括[51,840行分期分阶段费用表](grid.csv)、[36条账户摘要](accounts.csv)、[逐日账户账本](account_daily.csv)、[训练选择](selection.json)。CSV中regime=-1/0/1依次为下跌/震荡/上涨,99为全部;train的not_completed还包括年末截断排除的交易,不全是最终未退出。
先准备只读导出(环境变量SIGNAL_RESEARCH_PG_DSN,不把凭据放入命令历史或文档)。fetch.py接受probe或YYYYMM;本次使用202412至202610。其余步骤仅处理本地缓存:
```bash
python research/signal_scores_20261028/prepare.py
python research/signal_scores_20261028/calibrate.py
python scripts/unit_test_guard.py research/signal_scores_20261028/test_calibration.py
python scripts/unit_test_guard.py research/signal_scores_20261028/audit.py
python research/signal_scores_20261028/report.py
```