Track A & Dual-Track Architecture up to 2026-11-22 20:46 TST (F10-F13, 07:00 Battle Dashboard --fetch-live)

This commit is contained in:
2026-11-22 20:52:54 +08:00
parent e0a502286b
commit 149ddaecb3
120 changed files with 27308 additions and 92 deletions
@@ -11,6 +11,7 @@
本專案目前鎖定三個核心 Feature,各自對應特定資料階段與 L3 災難防禦邊界(每個 Feature 至多 3 個 `[Pre-mortem]` 情境):
### 1.1 `F01_data_audit_and_repair.feature`(Phase 1:資料修復與零和還原)
- **對應檔案**:[F01_data_audit_and_repair.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F01_data_audit_and_repair.feature)
- **涵蓋情境**:
- `[正例]`:民國年與 `2024-02-29` 例外修復、排序錯位重整、`2597..3219` 游程去重對齊(與大台隱含指數交叉驗證 $r = 0.999463 > 0.998$)。
@@ -19,6 +20,7 @@
- `[Pre-mortem]`(L3-2):原始試算表錯誤滾動公式(`後5日` 除錯分母、`當日高低差異` 誤為實體差)全面攔截與重算隔離。
### 1.2 `F02_twse_taifex_supplement.feature`(Phase 2:TWSE / TAIFEX 官方缺失資料補齊)
- **對應檔案**:[F02_twse_taifex_supplement.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F02_twse_taifex_supplement.feature)
- **涵蓋情境**:
- `[正例]`:解析 TWSE `MI_5MINS_HIST`(每日 OHLC)與 `FMTQIK`(成交股數、成交金額、成交筆數)JSON 並合併。
@@ -27,6 +29,7 @@
- `[Pre-mortem]`(L3-2):官方 API 回傳非預期 HTML、空欄位或分母為 0,阻斷半殘 CSV 寫入並保留代理序列。
### 1.3 `F03_ptt_hits_sentiment.feature`(Phase 2:PTT Stock 輿論爬蟲與 HITS 演算法)
- **對應檔案**:[F03_ptt_hits_sentiment.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F03_ptt_hits_sentiment.feature)
- **涵蓋情境**:
- `[正例]`:帶入 `over18=1` Cookie 解析 PTT Stock 文章作者與 `.push` 推/噓/箭頭邊,迭代計算收斂的 Authority、Hub 分數與輿論剪刀差 $\Delta_{\text{HA}}$。
@@ -35,6 +38,7 @@
- `[Pre-mortem]`(L3-3):伺服器連續回傳 HTTP `429`/`503` 或斷線超限時,啟動斷路器保護並原子保存已完成分頁。
### 1.4 `F04_ptt_10yr_history_and_industry_topics.feature`(Phase 3:PTT 十年頁碼回溯與產業話題抽取)
- **對應檔案**:[F04_ptt_10yr_history_and_industry_topics.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F04_ptt_10yr_history_and_industry_topics.feature)
- **涵蓋情境**:
- `[正例]`:由文章 URL 內嵌之 `M.<TIMESTAMP>.A` 轉換為台北時間西元日期,透過內插二分搜尋定位近十年各年度里程碑頁碼。
@@ -43,6 +47,7 @@
- `[Pre-mortem]`(L3-2):長時段歷史抓取中斷或觸發斷路器時,必須透過原子暫存檔保存 Checkpoint 進度與去重集合。
### 1.5 `F05_cross_market_forum_sampling_and_taxonomy.feature`(Phase 4:跨國取樣、語料分類與跨時區對齊)
- **對應檔案**:[F05_cross_market_forum_sampling_and_taxonomy.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F05_cross_market_forum_sampling_and_taxonomy.feature)
- **涵蓋情境**:
- `[正例]`:分離 `data/market_data`、`data/corpus` 與 `data/features_aligned` 目錄,以五語辭典統一標記 12 產業 × 6 話題。
@@ -51,6 +56,7 @@
- `[Pre-mortem]`(L3-2):多語編碼(`CP949`/`EUC-KR`/`UTF-8`)相容處理與反爬蟲驗證頁攔截,防止污染語料庫。
### 1.6 `F06_graph_laozi_lhs_and_falsification.feature`(Phase 5:圖論 × 老子四時 × LHS-MC × 反證公式)
- **對應檔案**:[F06_graph_laozi_lhs_and_falsification.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F06_graph_laozi_lhs_and_falsification.feature)
- **涵蓋情境**:
- `[正例]`:跨商品 Kruskal MST、Fiedler $\lambda_2$、Forman-Ricci 曲率與有效轉移熵 $\text{TE}_{X \to Y}$。
@@ -60,6 +66,7 @@
- `[Pre-mortem]`(L3-3):三層聯立反證公式觸發後套用冷卻期與雙閾值遲滯恢復機制,兼顧極端回撤控制與防止頻繁抖動。
### 1.7 `F07_visual_compendium_and_citations.feature`(Phase 6:圖表文分章總覽與五大類出處稽核)
- **對應檔案**:[F07_visual_compendium_and_citations.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F07_visual_compendium_and_citations.feature)
- **涵蓋情境**:
- `[正例]`:由 Phase 1–5 成果自動繪製 6 張繁體中文 PNG 圖表,並驗證分章與附錄五大出處連結完整性。
@@ -67,6 +74,7 @@
- `[Pre-mortem]`(L3-2):攔截失效圖片路徑或遺漏「資料/學說/公式/演算法/研究方法」出處標題,確保報告零斷鏈。
### 1.8 `F08_taifex_futures_live_update_202611.feature`(Phase 7:官方源頭更新至 `2026/11/20` 與重算驗證)
- **對應檔案**:[F08_taifex_futures_live_update_202611.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F08_taifex_futures_live_update_202611.feature)
- **涵蓋情境**:
- `[正例]`:分批抓補 TAIFEX `futContractsDateDown`、`pcRatioDown` 與 TWSE 至 `2026/11/20` 並重算圖論/老子/LHS/反證消融與 `CH05`。
@@ -77,6 +85,29 @@
- `[Pre-mortem]`(L3-1):Multi-horizon `h=15d` 標籤 `s + h <= t0` Purge 防未來資料洩漏強制隔離驗證。
- `[Pre-mortem]`(L3-2):Calibrated Popper 三層動態校準反證公式對非線性結構變異與雙向 IC 衰減之異常阻尼防線驗證。
- **1.10 [F10_dual_track_architecture_and_data_pipeline.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F10_dual_track_architecture_and_data_pipeline.feature)**(2026-11-21 新增:四層雙軌架構 × Airflow/dbt/PostgreSQL `120.0.0.1` × 單元測試驗收)
- `[正例]`:以已知解析解驗證唯一財務與 DSR 評估器(嚴格 `shift(1)`、全樣本 $T$ 分母 Sortino、`rebalance_deadband` 換手抑制、PT/DM 統計檢定)。
- `[正例]`:混頻供應鏈「工法 $\to$ 料工費 $\to$ 廠房地緣風險」轉接器投射為 `StandardPanelTensor` 並融合 BOM 先驗鄰接圖。
- `[正例]`:PostgreSQL `120.0.0.1:5432` 環境變數安全組裝、dbt `staging -> marts` 因果契約與 Airflow DAG 無環拓樸驗證。
- `[Pre-mortem]`(L3-1):`120.0.0.1` 斷線或離線測試時自動降級讀取 `data/pg_sync_cache/` 並阻斷空表/空主鍵髒寫入。
- `[Pre-mortem]`(L3-2):支線 A 新增未來交易日後,`ThesisManifestLock` 嚴格截斷至 `2026-11-20` 並攔截任何歷史切片雜湊飄移。
- `[Pre-mortem]`(L3-3):攔截試圖關閉 `shift(1)` 之未來函數洩漏或負交易成本非法 `EvaluationProfile`。
- **1.11 [F11_centralized_evaluators_and_dual_track_proposal.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F11_centralized_evaluators_and_dual_track_proposal.feature)**(2026-11-21 新增:集中化夏普評價資料夾 × 支線 A 重測 × 支線 B Herbert Simon DSR 提案包)
- `[正例]`:集中於 `src/evaluators/` 產出跨成本(1.5/2/10/20 bps)× 多 Deadband 之 Net Sharpe、全樣本 Sortino、DSR 與 Memmel 顯著性檢定(`report/track_a_market/`)。
- `[正例]`:支線 B 結合 Herbert Simon《人工科學》理論、四產業 12 項料工費本體投射與 2×3 正交模型消融實驗(`report/track_b_thesis/`)。
- `[Pre-mortem]`(L3-1):攔截未綁定顯式口徑副標題、長度不一致或起測樣本不足之消融輸入與損毀圖檔。
- **1.12 [F12_track_a_probability_points_and_ev_forecast.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F12_track_a_probability_points_and_ev_forecast.feature)**(2026-11-22 新增:支線 A 台股三層次微結構漲跌機率、條件點數與微台期期望值預測系統)
- `[正例]`:集中於 `src/evaluators/probability_and_ev_suite.py` 實作 Brier/BSS、Log-Loss/ECE、AUC-ROC/MCC、Pinball/CRPS、Omega/PF/Payoff 與微台期 10 元/點期望值公式,通過手算解析解測試。
- `[正例]`:針對 `TAIEX_Spot`、`TX_TMF_Futures` 與 `TW_TopWeights_TE_2330` 產出 `1d / 5d / 15d` 三尺度機率與期望值報表(`report/track_a_market/01_track_a_daily_prob_points_ev_forecast_report.md`)及圖表 `track_a_fig03/04`。
- `[Pre-mortem]`(L3-1):攔截越界機率($\hat{p} \notin [0,1]$)、非二元標籤與負契約乘數或負摩擦成本。
- **1.13 [F13_track_a_premarket_0700_battle_and_us_tw_chain.feature](file:///Users/ancel/Desktop/project/eco_analyse/README_exe_commend/features/F13_track_a_premarket_0700_battle_and_us_tw_chain.feature)**(2026-11-22 新增:支線 A 早上 07:00 前隔夜美股與供應鏈輿論融合及 Battle Dashboard 對戰介面)
- `[正例]`:建立美台權值關係鏈(`TSM/NVDA/AAPL/AMD/CSP` $\to$ 台積電 2330 / AI 伺服器 / 聯發科 / 封測與加權指數),透過貝氏 Log-Odds 與條件點數融合更新 07:00 盤前預報。
- `[正例]`:產出標準契約 `report/track_a_market/battle_dashboard_latest.json`、`track_a_0700_premarket_ablation_comparison.csv`、`track_a_fig05` 與 `02_track_a_0700_premarket_battle_and_us_tw_chain_report.md`。
- `[Pre-mortem]`(L3-1):嚴格攔截超過台灣時間早上 `07:00:00` 後發布之美國貼文,杜絕盤中未來訊息洩漏。
---
## 第二部分:程式碼層級高追溯性註解映射表(`src/` 全函式對照)
@@ -99,7 +130,16 @@
| [phase6_visual_report_generator.py](file:///Users/ancel/Desktop/project/eco_analyse/src/phase6_visual_report_generator.py) | `ResearchFigureGenerator`, `CompendiumIntegrityAuditor`, `run_phase6_visual_compendium_pipeline`, `main` | `F07 / [正例] 六大圖表生成與分章總覽稽核 & [Pre-mortem] 損毀圖檔/斷鏈出處攔截` | `work_record_20261120.md` |
| [phase7_live_202611_update_and_reanalysis.py](file:///Users/ancel/Desktop/project/eco_analyse/src/phase7_live_202611_update_and_reanalysis.py) | `TaifexFuturesInstitutionalSupplementer`, `LiveMarketDatasetUpdater`, `run_offline_verification`, `run_live_202611_pipeline`, `main` | `F08 / [正例] 官方補齊至2026年底與重算 & [Pre-mortem] 單位防呆與20250303零OI覆蓋` | `work_record_20261120.md` |
| [phase8_rolling_forecast_simulation_exam.py](file:///Users/ancel/Desktop/project/eco_analyse/src/phase8_rolling_forecast_simulation_exam.py) | `RollingRegressionExamEngine`, `ForecastExamFigureGenerator`, `run_phase8_forecast_exam_suite`, `main` | `F09 / [正例] 2022–20261120 滾動迴歸模擬試題 & [Pre-mortem] Multi-horizon Purge 與校準 Popper 防線` | `work_record_20261120.md` |
| [test_bdd_scenarios.py](file:///Users/ancel/Desktop/project/eco_analyse/src/test_bdd_scenarios.py) | `TestDocstringCompliance`, `TestF01DataAudit` ~ `TestF09RollingForecastSimulationExam` | `F01`–`F09` 全情境自動化驗證 | `work_record_20261120.md` |
| [postgres_warehouse.py](file:///Users/ancel/Desktop/project/eco_analyse/src/infra/postgres_warehouse.py) | `PostgresWarehouseConfig`, `PostgresWarehouseConnector`, `ThesisManifestLock`, 例外類別 | `F10 / [正例] 120.0.0.1 DSN 與冪等 SQL & [Pre-mortem] 斷線降級、髒寫入阻斷與論文快照鎖` | `work_record_20261121.md` |
| [pipeline_registry.py](file:///Users/ancel/Desktop/project/eco_analyse/src/orchestration/pipeline_registry.py) & [dag_eco_analyse_elt.py](file:///Users/ancel/Desktop/project/eco_analyse/src/orchestration/airflow_dags/dag_eco_analyse_elt.py) | `AirflowDbtPipelineValidator`, DAG 任務函式與 `build_airflow_dag` | `F10 / [正例] Airflow DAG 無環拓樸與 dbt 13:30 因果及 Schema 契約` | `work_record_20261121.md` |
| [panel_and_bom_adapter.py](file:///Users/ancel/Desktop/project/eco_analyse/src/adapters/panel_and_bom_adapter.py) | `StandardPanelTensor`, `BomGeoRiskAdapter` | `F10 / [正例] 混頻供應鏈料工費地緣風險投射與先驗混合圖融合` | `work_record_20261121.md` |
| [single_source_metrics.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/single_source_metrics.py) | `EvaluationProfile`, `FinancialSingleSourceEvaluator`, `DsrThesisAblationEvaluator`, 統計輔助函式 | `F10 / [正例] 已知解析解全樣本 Sortino 與 PT/DM 檢定 & [Pre-mortem] 反洩漏與口徑檢核` | `work_record_20261121.md` |
| [profiles_catalog.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/profiles_catalog.py)、[sharpe_and_risk_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/sharpe_and_risk_suite.py) & [thesis_ablation_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/thesis_ablation_suite.py) | `EvaluationProfileCatalog`, `SharpeAndRiskEvaluationSuite`, `ThesisOrthogonalAblationSuite` | `F11 / [正例] 集中化夏普、DSR、Memmel 與 2x3 正交消融實驗套件 & [Pre-mortem] 輸入與樣本防衛` | `work_record_20261121.md` |
| [sharpe_benchmark_runner.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/sharpe_benchmark_runner.py) | `TrackAMarketSharpeRunner`, `main` | `F11 / [正例] 支線 A 夏普與 Deadband 重測報表產出至 report/track_a_market/` | `work_record_20261121.md` |
| [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite` | `F12 / [正例] Brier/ECE/Pinball/CRPS/Omega/EV 解析解 & [Pre-mortem] 機率乘數防呆` | `work_record_20261121.md` |
| [tw_market_target_adapter.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/tw_market_target_adapter.py)、[daily_prob_point_ev_forecaster.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/daily_prob_point_ev_forecaster.py) & [track_a_daily_forecast_runner.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/track_a_daily_forecast_runner.py) | `TwMarketTargetAndMicrostructureAdapter`, `TwoStageProbPointEvForecaster`, `TrackADailyForecastRunner` | `F12 / [正例] 台股三標的跨三尺度漲跌機率、條件點數與微台期期望值戰情報告` | `work_record_20261121.md` |
| [dr_simon_dsr_proposal_runner.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_b_mis_thesis/dr_simon_dsr_proposal_runner.py)、[petrochemical_graph_laozi_engine.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_b_mis_thesis/petrochemical_graph_laozi_engine.py) & [petrochemical_corpus_scraper.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_b_mis_thesis/petrochemical_corpus_scraper.py) | `TrackBMisThesisProposalRunner`, `PetrochemicalSupplyChainPanelBuilder`, `PetrochemicalGraphTheoryEngine`, `LaoziPetrochemicalPhilosophyEngine`, `PetrochemicalLexiconAnalyzer`, `PetrochemicalFiveCountryScraper` | `F11 / [正例] 純台灣塑化業整合 Simon、老子與圖論及五國真實塑化語料爬蟲` & `[Pre-mortem] 五國塑化爬蟲防南亞科與東南亞誤判` | `work_record_20261121.md` |
| [test_bdd_scenarios.py](file:///Users/ancel/Desktop/project/eco_analyse/src/test_bdd_scenarios.py) | `TestDocstringCompliance`, `TestF01DataAudit` ~ `TestF11CentralizedEvaluatorsAndDualTrackProposal` | `F01`–`F11` 全情境自動化驗證 + 遞迴 `src/**/*.py` AST Linter | `work_record_20261121.md` |
---
@@ -111,4 +151,21 @@
| :--- | :--- | :--- | :--- |
| **L1 基礎例外<br>(Routine)** | 單次 HTTP 讀取超時(Timeout)、SSL 暫時握手失敗、單篇文章已遭刪文回傳 404 | **程式碼層級解決**<br>`try-except` 搭配 Exponential Backoff 重試與 404 跳過 | **不寫入 Pre-mortem** |
| **L2 業務邊界<br>(Alternate)** | 該月份為農曆年期間僅少量交易日、TWSE 當日資料尚未更新回傳空列表、PTT 某篇新聞無推文 | **常規條件判斷**<br>跳過空日並記錄警示日誌,不計入特徵均值 | **一般 Scenario 涵蓋即可** |
| **L3 毀滅災難<br>(Pre-mortem)** | ① **髒資料覆蓋**(如 `tw_stock.xlsx` 3 倍重複或外部 API 抓錯指數);<br>② **未來函數洩漏與除零崩潰**(末日全市場 `OI=0` 或誤差 7,285 點之 `VLOOKUP`);<br>③ **圖拓樸被水軍污染或零矩陣除零**(Sybil 自推壟斷 Authority/Hub 權重) | **架構層級防禦**<br>交叉驗證相關性守門($r \ge 0.98$)、原子寫入(寫入前暫存校驗)、對角線自連歸零+交互權重上限 Clip、斷路器熔斷 | **必須撰寫 `[Pre-mortem]`**<br>各 Feature 嚴格收斂於 2–3 個致命情境 |
| **L3 毀滅災難<br>(Pre-mortem)** | ① **髒資料覆蓋**(如 `tw_stock.xlsx` 3 倍重複或外部 API 抓錯指數);<br>② **未來函數洩漏與除零崩潰**(末日全市場 `OI=0` 或誤差 7,285 點之 `VLOOKUP`);<br>③ **圖拓樸被水軍污染或零矩陣除零**(Sybil 自推壟斷 Authority/Hub 權重);<br>④ **資料庫斷線/髒主鍵寫入、論文快照飄移、財務指標口徑錯置**(`F10` 新增:Sortino 分母誤減、無 Profile 或 `120.0.0.1` 非原子寫入) | **架構層級防禦**<br>交叉驗證相關性守門($r \ge 0.98$)、原子寫入(寫入前暫存校驗)、`120.0.0.1` 斷線本地降級、`ThesisManifestLock` SHA256 鎖、強制 `shift(1)` 與全樣本 Sortino | **必須撰寫 `[Pre-mortem]`**<br>各 Feature 嚴格收斂於 2–3 個致命情境 |
---
## 第四部分:單元測試與量化驗收標準(Unit Test & Acceptance Criteria)映射矩陣(對應規範 2.2)
| Feature / Scenario ID | 測試層級 | 已知解析解/測試輸入 | 量化驗收標準(AC) | 執行與驗證位置 |
| :--- | :--- | :--- | :--- | :--- |
| `F01–F09` 全情境 | BDD + 迴歸整合測試 | `2011–2026/11/20` 修復表、交叉驗證指數與合成污染序列 | 交叉相關 $r \ge 0.998$;Purge 污染後輸出誤差 $< 10^{-12}$;圖檔魔數檢查通過 | `src/test_bdd_scenarios.py` (`TestF01`–`TestF09`) |
| `F10 / [正例] 評估器解析解` | 已知解析解單元測試 | 手算 5 日合成序列 `[0.10, 0.02, -0.02, 0.04, -0.01]` + PT/DM 預測序列 | 全樣本 Sortino 與解析解誤差 $< 10^{-10}$ 且嚴格大於錯誤虧損子集分母值;`deadband` 顯著降低成本;`DM p < 0.05` | `TestF10DualTrackArchitectureAndPipeline.test_analytical_known_solution_sortino_deadband_and_causality` |
| `F10 / [正例] 混頻 BOM 轉接` | 張量契約 + 圖融合單元測試 | `bom_process_georisk_seed.json` + 3 日 6 維風險衝擊 `X_t` | `StandardPanelTensor` 形狀 `(3, 2)` 且無 `NaN/Inf`;混合鄰接矩陣嚴格對稱、`A[0,0]=0`、`A[0,1]=0.57` | `TestF10DualTrackArchitectureAndPipeline.test_bom_georisk_adapter_and_postgres_airflow_dbt_contracts` |
| `F10 / [正例] Airflow/dbt/120.0.0.1` | 管線結構與安全契約測試 | `PostgresWarehouseConfig()`、`dag_eco_analyse_elt.py`、`dbt_eco_analyse/*` | 預設 `host=120.0.0.1:5432`、遮罩密碼 `***`、DAG 無環拓樸與 5 任務順序一致、SQL 含 `13:30:00` 因果截斷 | `TestF10DualTrackArchitectureAndPipeline.test_bom_georisk_adapter_and_postgres_airflow_dbt_contracts` |
| `F10 / [Pre-mortem] L3-1~L3-3` | 離線容錯與防竄改測試 | 模擬 `120.0.0.1` 斷線、`None` 主鍵批次、支線 A 未來列擴增、歷史數值竄改、`shift=False` | 斷線切換 `offline_fallback` 並於寫入時拋 `DatabaseConnectionError`;髒鍵拋 `DataIntegrityError`;未來列不影響 1,251 列論文切片;竄改拋 `SnapshotIntegrityError` | `TestF10DualTrackArchitectureAndPipeline.test_premortem_offline_fallback_snapshot_drift_and_lookahead_guard` |
| `F11 / [正例] 支線 A 集中夏普重測` | 集中評價 + 產出完整性測試 | Phase 8 1,045 日有效 OOS + Cost/Deadband 網格 | `FailSafe_Gated` 淨夏普與 Sortino 皆高於 `Ungated` 及買進持有、回撤低於未保護組、Sortino > Sharpe、PNG 魔數正常 | `TestF11CentralizedEvaluatorsAndDualTrackProposal.test_centralized_evaluators_sharpe_dsr_and_track_a_outputs` |
| `F11 / [正例 & Pre-mortem] 支線 B 純塑化與真實五國語料` | 正交消融 + 爬蟲邊界守護測試 | `data/corpus/petrochemical_5country/` (206 篇五國帖+1,875 PTT 推文) + `南亞科/東南亞` 對抗雜訊 | 三大家族掛閘門回撤降幅 > 30%、CVaR95 降幅 > 25%、含老子第 1/40/42 章與 4 張圖檔、真實五國語料零南亞科洩漏且零股市期權用語 | `TestF11CentralizedEvaluatorsAndDualTrackProposal.test_track_b_simon_dsr_proposal_2x3_ablation_and_premortem_guards` |
| `F12 / [正例 & Pre-mortem] 支線 A 三標的多尺度機率與期望值` | 已知解析解 + 全管線報表測試 | 4 日手算機率/EV/Omega 序列 + `2021–2026/11/20` 三標的寬表 (`TAIEX/TX-TMF/TE2330`) | Brier/EV/Kelly/Omega 誤差 $< 10^{-10}$;產出 9 組標的×期別報表、圖檔魔數正常、零人稱代名詞與零跨界污染;非法機率/負乘數拋 `ValueError` | `TestF12TrackAProbabilityPointsAndEvForecast` |
| `F13 / [正例 & Pre-mortem] 支線 A 七點盤前美台鏈與 Battle 介面` | 已知解析解 + 契約與防洩漏測試 | 手算 `TSM/NVDA` 傳導矩陣與 Log-Odds 融合 + `06:15` vs `08:30` 對抗時間戳貼文 | 關係鏈脈衝與 07:00 修正機率誤差 $< 10^{-10}$;產出 `battle_dashboard_latest.json`、`track_a_fig05` 與 6 列消融表;`08:30` 貼文被計入排除且負權重拋 `ValueError` | `TestF13TrackAPremarketBattleAndUsTwChain` |
| AST 文件防腐敗檢查 | 靜態語法樹 Linter | `src/**/*.py` 全數程式檔案(含所有子套件) | 100% 類別與函式含完整 9 標籤且 `[修改概要]` 字數介於 10–40 字元 | `TestDocstringCompliance.test_all_src_docstrings_have_nine_tags_and_valid_summary_len` |
@@ -0,0 +1,54 @@
# 支線 A(股市與總經預測)集中化夏普、索提諾與 Rebalance Deadband 重測報告
> **評估區間**:`2022-07-29 to 2026-11-19`(共 `1045` 個嚴格因果 `shift(1)` 有效樣本外交易日)
> **主設定檔口徑**:`Profile=track_a_primary_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10`
> **壓力測試口徑**:`Profile=track_a_spot_stress_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10`
> **唯一計算來源**:`src/evaluators/`(含全樣本 $T$ 分母索提諾修正、Bailey & López de Prado DSR、Memmel 夏普差值檢定)
---
## 一、主基準口徑對照(2.0 bps + Rebalance Deadband 0.10 + Rf 1.50%)
| 策略架構 | 年化報酬 (%) | 淨夏普 (Net SR) | 毛夏普 (Gross SR) | 修正全樣本 Sortino | Calmar | 最大回撤 (%) | DSR 顯著機率 | 年化換手成本 (%) |
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `Eco_Regime_Long_FailSafe_Gated` | 19.89% | **1.247** | 1.286 | 1.853 | 1.099 | 18.10% | 0.934 | 0.559% |
| `Eco_Regime_Long_Ungated` | 18.51% | **1.134** | 1.171 | 1.669 | 0.907 | 20.40% | 0.899 | 0.541% |
| `DualScale_LongShort_FailSafe_Gated` | -6.90% | **-0.720** | -0.545 | -0.986 | -0.208 | 33.12% | 0.006 | 1.956% |
| `DualScale_LongShort_Ungated` | -6.71% | **-0.651** | -0.477 | -0.895 | -0.199 | 33.78% | 0.009 | 2.073% |
| `Benchmark_Buy_And_Hold` | 22.84% | **0.956** | 0.957 | 1.350 | 0.796 | 28.69% | 0.974 | 0.005% |
### Fail-Safe 閘門邊際檢定(Memmel 2003 配對夏普差值檢定)
- **四季偏多 (`FailSafe Gated` vs `Ungated`)**:Memmel $Z = 1.5690$,$p = 0.1167$
- **雙尺度多空 (`FailSafe Gated` vs `Ungated`)**:Memmel $Z = -0.9834$,$p = 0.3254$
---
## 二、高摩擦現貨壓力測試(20.0 bps + Deadband 0.10 + Rf 1.50%)
| 策略架構 | 年化報酬 (%) | 淨夏普 (Net SR) | 修正全樣本 Sortino | 最大回撤 (%) |
| :--- | :---: | :---: | :---: | :---: |
| `Eco_Regime_Long_FailSafe_Gated` | 14.01% | 0.891 | 1.308 | 20.67% |
| `Eco_Regime_Long_Ungated` | 12.88% | 0.800 | 1.163 | 22.84% |
| `DualScale_LongShort_FailSafe_Gated` | -21.94% | -2.287 | -2.926 | 66.15% |
| `DualScale_LongShort_Ungated` | -22.60% | -2.209 | -2.843 | 67.33% |
| `Benchmark_Buy_And_Hold` | 22.79% | 0.954 | 1.347 | 28.69% |
---
## 三、Rebalance Deadband 換手節流效應(以 DualScale 多空 + 閘門、20 bps 現貨壓力為例)
| Deadband 門檻 | 日均換手率 | 年化交易成本 (%) | 淨夏普 (Net SR) | 全樣本 Sortino |
| :---: | :---: | :---: | :---: | :---: |
| 0.00 | 0.4087 | 20.025% | -2.250 | -2.912 |
| 0.05 | 0.4064 | 19.914% | -2.252 | -2.906 |
| 0.10 | 0.3993 | 19.564% | -2.287 | -2.926 |
| 0.20 | 0.3805 | 18.647% | -2.123 | -2.738 |
| 0.25 | 0.3688 | 18.070% | -2.032 | -2.632 |
---
## 四、視覺化實證圖表
![支線A夏普與Deadband敏感度網格](figures/track_a_fig01_sharpe_sortino_deadband_grid.png)
![支線A閘門保護淨值與回撤曲線](figures/track_a_fig02_failsafe_gate_equity_and_drawdown.png)
@@ -0,0 +1,83 @@
# 支線 A(台股市場預測實戰):三層次微結構與跨時區「漲跌機率 × 預期點數 × 期望值」戰情報告
> **標的資料對齊範圍**:`2021-09-27` 至 **`2026-11-20`**(共 `1251` 個交易日;最新加權收盤 **`36,033.29`** 點)
> **模型架構**:兩階段因果 L2 邏輯斯 Platt 校準分類器 + 波動率標準化條件嶺迴歸與分位數分布引擎(嚴格 multi-horizon Purge 隔離)
> **唯一計算來源**:`src/evaluators/probability_and_ev_suite.py` 及 `src/evaluators/sharpe_and_risk_suite.py`
---
## 一、標的資料範圍與微結構架構確認
本系統針對台灣單一市場集中化特性,於第一階段明確界定三大實戰標的與資料邊界:
| 標的代號 | 標的名稱 | 對齊資料區間 | 有效樣本天數 | 契約乘數與摩擦設定 | 說明 |
| :--- | :--- | :---: | :---: | :---: | :--- |
| `TAIEX_Spot` | 台灣加權指數 (TAIEX) | `2021-09-27` ~ `2026-11-20` | `1251` | `1.0` 元/點 (現貨基準 `20 bps`) | 含隔夜跳空、實體振幅與除權息後連貫基準 |
| `TX_TMF_Futures` | 臺指期/微型臺指期 (TX/TMF) | `2021-09-27` ~ `2026-11-20` | `1251` (TMF 微台自 `2024-07-29` 起 `562` 日) | **`10.0` 元/點**(來回摩擦 `2.0` 點 = `20` 元) | 以大台隱含指數與微台散戶逆向流向整合計算新臺幣期望值 |
| `TW_TopWeights_TE_2330` | 台灣大權值股代理 (電子期TE/台積電2330) | `2021-09-27` ~ `2026-11-20` | `1250` | `1.0` 代理點位 (`10 bps`) | 由期交所電子期貨 (TE) 契約金額與口數精確還原權值領先指標 |
### 三層次本土微結構與跨時區因子分流
- **第 1 層(跨時區美日半導體與夜盤隔夜領先層)**:納斯達克 100 期貨外資流向、費城半導體期貨外資流向、東證期貨外資流向、隔夜跳空動能與跨市場轉移熵流向(`te_inflow_to_twse_z`)。
- **第 2 層(台灣大權值股領先群與正逆價差層)**:電子權值股相對大盤 5 日超額強弱、外資電子期變動、電子/金融外資輪動差與期現貨真實正逆價差。
- **第 3 層(台指/微台籌碼微結構與系統性體制層)**:大台/小台外資未平倉淨額、小台與微型臺指期散戶多空逆向合成因子、選擇權 P/C Ratio、圖論 Fiedler 連通度、老子四時相位與校準 Popper 阻尼係數。
---
## 二、最新基準日(`2026-11-20`)三大標的 × 三尺度(`1d / 5d / 15d`)戰情預測表
下表依據最新已實現收盤資訊,輸出次一交易日(`T+1d`)、未來一週(`T+5d`)及波段(`T+15d`)之上漲/下跌機率、條件預期漲跌點數、淨點數期望值、80% 區間及微台期建議決策:
| 標的名稱 | 期別 | 基準點位 | 上漲機率 $P_{\text{up}}$ | 下跌機率 $P_{\text{down}}$ | 若漲預期點數 | 若跌預期點數 | 無條件預期淨點數 | 預估目標點位 (80% 區間 `[Q10, Q90]`) | 扣費淨期望值 (元/口) | 最佳方向與半凱利部位 |
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `台灣加權指數 (TAIEX)` | **T+1d** | `36,033.29` | **`51.4%`** | `48.6%` | `+1429.1` | `-1297.4` | **`+103.6`** (+0.29%) | `36,136.9` (`[34,362, 38,248]`) | `+103.63` 點 | 偏多 (+1) (`+0.033`) |
| `台灣加權指數 (TAIEX)` | **T+5d** | `36,033.29` | **`49.2%`** | `50.8%` | `+3537.5` | `-3317.4` | **`+57.5`** (+0.16%) | `36,090.8` (`[29,672, 39,732]`) | `+57.55` 點 | 偏多 (+1) (`+0.007`) |
| `台灣加權指數 (TAIEX)` | **T+15d** | `36,033.29` | **`69.3%`** | `30.7%` | `+7813.1` | `-5334.2` | **`+3776.0`** (+10.48%) | `39,809.3` (`[33,301, 47,428]`) | `+3776.01` 點 | 偏多 (+1) (`+0.220`) |
| `臺指期/微型臺指期 (TX/TMF)` | **T+1d** | `36,202.76` | **`55.5%`** | `44.5%` | `+1458.4` | `-1334.0` | **`+214.4`** (+0.59%) | `36,417.2` (`[34,436, 38,663]`) | `2,124.3` 元 | 偏多 (+1) (`+0.067`) |
| `臺指期/微型臺指期 (TX/TMF)` | **T+5d** | `36,202.76` | **`49.2%`** | `50.8%` | `+3543.8` | `-3283.1` | **`+74.7`** (+0.21%) | `36,277.4` (`[29,835, 39,767]`) | `726.5` 元 | 偏多 (+1) (`+0.010`) |
| `臺指期/微型臺指期 (TX/TMF)` | **T+15d** | `36,202.76` | **`65.0%`** | `35.0%` | `+7717.5` | `-5055.3` | **`+3243.3`** (+8.96%) | `39,446.1` (`[32,107, 47,200]`) | `32,413.4` 元 | 偏多 (+1) (`+0.191`) |
| `台灣大權值股代理 (電子期TE/台積電2330)` | **T+1d** | `2,213.00` | **`57.2%`** | `42.8%` | `+102.9` | `-83.8` | **`+22.9`** (+1.04%) | `2,235.9` (`[2,104, 2,376]`) | `+22.67` 點 | 偏多 (+1) (`+0.101`) |
| `台灣大權值股代理 (電子期TE/台積電2330)` | **T+5d** | `2,213.00` | **`48.3%`** | `51.7%` | `+231.2` | `-216.1` | **`-0.2`** (-0.01%) | `2,212.8` (`[1,812, 2,457]`) | `+0.00` 點 | 觀望 (0) (`+0.000`) |
| `台灣大權值股代理 (電子期TE/台積電2330)` | **T+15d** | `2,213.00` | **`70.1%`** | `29.9%` | `+508.1` | `-357.3` | **`+249.7`** (+11.28%) | `2,462.7` (`[1,981, 2,973]`) | `+249.46` 點 | 偏多 (+1) (`+0.223`) |
---
## 三、國際機構與經典論文預測驗證指標全表(2022–2026/11 嚴格樣本外盲測)
為彌補單純夏普比率在單一台灣市場缺乏跨國對沖分母的結構限制,評估器同步核算 **機率校準(Brier / BSS / Log-Loss / ECE / PT)**、**點數分布(Pinball / CRPS / IC)** 與 **非對稱風險(Omega / 獲利因子 / 盈虧比 / 全樣本 Sortino)**:
| 標的 | 期別 | 樣本數 | 命中率 | Brier Score (BSS) | Log-Loss | ECE 校準誤差 | AUC-ROC | PT 方向 Z 值 ($p$) | CRPS (點) | 80% 區間覆蓋 | Omega 比率 | 獲利因子 PF | 盈虧比 | 全樣本 Sortino | Net Sharpe | MaxDD |
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `TAIEX_Spot` | **1d** | `1045` | `54.6%` | `0.2518` (`-0.023`) | `0.6974` | `0.0467` | **`0.488`** | `+0.63` (`0.527`) | `198.1` | `76.7%` | **`1.147`** | `1.147` | `0.962` | **`0.770`** | `0.551` | `11.9%` |
| `TAIEX_Spot` | **5d** | `1039` | `54.7%` | `0.2606` (`-0.084`) | `0.7184` | `0.1065` | **`0.447`** | `-1.95` (`0.051`) | `494.0` | `72.4%` | **`1.469`** | `1.469` | `1.015` | **`1.277`** | `0.842` | `11.2%` |
| `TAIEX_Spot` | **15d** | `1019` | `57.2%` | `0.2609` (`-0.160`) | `0.7311` | `0.1470` | **`0.469`** | `-2.77` (`0.005`) | `1042.9` | `54.6%` | **`1.689`** | `1.689` | `0.808` | **`0.964`** | `0.670` | `13.0%` |
| `TX_TMF_Futures` | **1d** | `1045` | `53.2%` | `0.2542` (`-0.030`) | `0.7021` | `0.0505` | **`0.463`** | `-0.63` (`0.527`) | `209.7` | `77.2%` | **`1.218`** | `1.218` | `0.978` | **`1.200`** | `0.839` | `10.7%` |
| `TX_TMF_Futures` | **5d** | `1039` | `53.3%` | `0.2629` (`-0.092`) | `0.7233` | `0.1269` | **`0.448`** | `-1.06` (`0.289`) | `517.3` | `71.9%` | **`1.511`** | `1.511` | `1.023` | **`1.406`** | `0.907` | `12.0%` |
| `TX_TMF_Futures` | **15d** | `1019` | `56.8%` | `0.2630` (`-0.165`) | `0.7348` | `0.1487` | **`0.467`** | `-2.96` (`0.003`) | `1084.2` | `55.6%` | **`1.726`** | `1.726` | `0.771` | **`1.023`** | `0.711` | `12.3%` |
| `TW_TopWeights_TE_2330` | **1d** | `1045` | `51.4%` | `0.2559` (`-0.031`) | `0.7053` | `0.0530` | **`0.449`** | `-0.16` (`0.876`) | `14.4` | `77.7%` | **`1.204`** | `1.204` | `1.036` | **`1.209`** | `0.836` | `13.2%` |
| `TW_TopWeights_TE_2330` | **5d** | `1039` | `53.7%` | `0.2616` (`-0.082`) | `0.7210` | `0.0962` | **`0.470`** | `-1.95` (`0.052`) | `35.9` | `71.6%` | **`1.533`** | `1.533` | `1.018` | **`1.522`** | `0.980` | `15.1%` |
| `TW_TopWeights_TE_2330` | **15d** | `1019` | `59.4%` | `0.2576` (`-0.148`) | `0.7238` | `0.1311` | **`0.486`** | `-1.65` (`0.100`) | `76.7` | `51.9%` | **`1.752`** | `1.752` | `0.631` | **`1.131`** | `0.783` | `15.6%` |
---
## 四、可維護 Python 公式模組與參數映射清單
所有核心數學公式均已獨立封裝並配備已知解析解單元測試,後續調整閾值、交易成本或預測期別可直接檢視下列對應位置:
| 數學模型/驗證公式 | 程式模組路徑 | 類別與方法名稱 |
| :--- | :--- | :--- |
| Brier Score 與技能分數 (BSS) | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.brier_and_skill_score` |
| Log-Loss 與機率校準誤差 (ECE) | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.binary_log_loss_and_ece` |
| AUC-ROC 與 MCC 相關係數 | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.auc_roc_and_mcc` |
| 分位數 Pinball Loss 與 CRPS 分布指標 | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.pinball_and_crps_metrics` |
| 條件點數期望值、微台期 10 元損益與半凱利部位 | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.compute_daily_expected_value_and_kelly` |
| 單一市場 Omega 比率、獲利因子與盈虧比 | [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py) | `ProbabilityAndExpectedValueSuite.compute_omega_and_payoff_metrics` |
| 三標的資料範圍確認與三層微結構特徵建構 | [tw_market_target_adapter.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/tw_market_target_adapter.py) | `TwMarketTargetAndMicrostructureAdapter.build_three_tier_microstructure_panel` |
| 兩階段滾動機率校準與多尺度點數期望值引擎 | [daily_prob_point_ev_forecaster.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/daily_prob_point_ev_forecaster.py) | `TwoStageProbPointEvForecaster.fit_predict_single_target_horizon` |
---
## 五、實證視覺化圖表
![支線A機率校準與風險指標對照](figures/track_a_fig03_probability_calibration_and_brier.png)
![支線A加權指數預期區間與微台期期望值曲線](figures/track_a_fig04_daily_expected_points_and_tmf_ev.png)
@@ -0,0 +1,57 @@
# 支線 A 早上 07:00 前 Battle Dashboard:美台科技權值關係鏈與隔夜美股融合報告
> **模型識別碼**:`eco_analyse_track_a_v2_us_tw_chain_0700` | **目標對戰交易日**:`2026-11-23`
> **資料截斷點**:台股前日收盤 `2026-11-20 13:30` $\to$ 盤前截止線 `2026-11-23 07:00:00`
> **隔夜採集模式**:報價 `offline_taifex_global_futures_proxy` | 語料 `offline_us_forum_cache`(納入 `0` 則、攔截越界 `0` 則)
---
## 一、美台科技權值股有向關係鏈與隔夜事件驅動摘要
系統依 [track_a_us_tw_tech_supply_chain_seed.json](file:///Users/ancel/Desktop/project/eco_analyse/data/market_data/tw/track_a_us_tw_tech_supply_chain_seed.json) 定義之客戶與設備有向傳導矩陣,先量化美國隔夜價格報酬與五大企業事件衝擊(訂單產能、資本增減、評級財測、關稅禁令、技術合作),再彙算傳導至台灣權值群與加權指數之脈衝:
- **美股核心指標隔夜報酬**:`TSM ADR` `-0.81%` | `NVDA` `-0.81%` | `SOXX 費半` `-0.81%`
- **辨識隔夜事件標籤**:`無顯著突發企業事件`
- **台灣四大權值群隔夜傳導脈衝**:台積電 2330 `-0.1107` | AI 伺服器 ODM `+0.1671` | 聯發科 IC 設計 `+0.0224` | 先進封裝與記憶體 `-0.2146`
- **台股大盤總合隔夜脈衝與預估跳空**:總脈衝 `-0.0257` $\to$ 預估開盤跳空 **`-7.9` 點**
---
## 二、早上 07:00 前 Battle Dashboard 對戰預報輸出(`1d` 主預估)
| 標的代號 | 標的名稱 | 前收點位 | 07:00 上漲機率 | 07:00 下跌機率 | 方向判定 | 預估開盤跳空 | 預期淨變動點數 | 預估收盤點位 (80% 區間) | 扣費淨期望值 (元/口) | 建議方向與半凱利槓桿 |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `TAIEX_Spot` | 台灣加權指數 (TAIEX) | `36,033.29` | **`51.1%`** | `48.9%` | **UP** | `-7.9` | **`+84.8`** (+0.23%) | `36,118.1` (`[34,358, 38,244]`) | `+84.79` 點 | `LONG` (`+0.027`) |
| `TX_TMF_Futures` | 臺指期/微型臺指期 (TX/TMF) | `36,202.76` | **`55.1%`** | `44.9%` | **UP** | `-7.9` | **`+196.2`** (+0.54%) | `36,398.9` (`[34,432, 38,659]`) | `1,941.7` 元 | `LONG` (`+0.061`) |
| `TW_TopWeights_TE_2330` | 台灣大權值股代理 (電子期TE/台積電2330) | `2,213.00` | **`56.2%`** | `43.8%` | **UP** | `-2.1` | **`+19.1`** (+0.86%) | `2,232.1` (`[2,103, 2,375]`) | `+19.14` 點 | `LONG` (`+0.085`) |
---
## 三、16:30 盤後基底 vs. 07:00 盤前融合消融實證(全樣本外 1,045 日)
| 標的代號 | 預測模式 | 樣本數 | 命中率 | Brier Score | ECE 校準誤差 | AUC-ROC | Omega 比率 | 全樣本 Sortino | Net Sharpe | MaxDD |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `TAIEX_Spot` | `PostClose_1630_Base` | `1045` | `54.64%` | `0.2518` | `0.0467` | **0.4881** | **1.147** | **0.770** | `0.551` | `11.88%` |
| `TAIEX_Spot` | `PreMarket_0700_US_TW_Chain` | `1045` | `58.09%` | `0.2430` | `0.0132` | **0.5740** | **1.329** | **2.010** | `1.276` | `9.26%` |
| `TX_TMF_Futures` | `PostClose_1630_Base` | `1045` | `53.21%` | `0.2542` | `0.0505` | **0.4634** | **1.218** | **1.200** | `0.839` | `10.65%` |
| `TX_TMF_Futures` | `PreMarket_0700_US_TW_Chain` | `1045` | `56.84%` | `0.2453` | `0.0232` | **0.5550** | **1.480** | **2.836** | `1.738` | `9.00%` |
| `TW_TopWeights_TE_2330` | `PostClose_1630_Base` | `1045` | `51.39%` | `0.2559` | `0.0530` | **0.4489** | **1.204** | **1.209** | `0.836` | `13.19%` |
| `TW_TopWeights_TE_2330` | `PreMarket_0700_US_TW_Chain` | `1045` | `56.08%` | `0.2468` | `0.0227` | **0.5535** | **1.430** | **2.765** | `1.677` | `10.57%` |
---
## 四、外部對戰平台(Battle Dashboard)標準對接方式
1. **直接讀取靜態契約 JSON 檔案**:[battle_dashboard_latest.json](file:///Users/ancel/Desktop/project/eco_analyse/report/track_a_market/battle_dashboard_latest.json)。
2. **Python 程式直接呼叫介接函式**:
```python
from tracks.track_a_market import get_battle_dashboard_payload
payload = get_battle_dashboard_payload(fetch_live_us=True)
```
3. **建議每日排程時間(台北時間 06:40)**:於美股 05:00 收盤且台指期夜盤結束後執行一次命令列腳本,即可於 07:00 前完成盤前 JSON 刷新。
---
## 五、實證視覺化圖表
![美台科技權值關係鏈與七點盤前融合消融三聯圖](figures/track_a_fig05_us_tw_supply_chain_and_0700_battle.png)
@@ -0,0 +1,239 @@
{
"model_id": "eco_analyse_track_a_v2_us_tw_chain_0700",
"track_scope": "track_a_market",
"revision_timestamp_taipei": "2026-11-22 20:46:00+08:00",
"auto_exec_command": "python3 /Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/battle_dashboard_interface.py --fetch-live",
"generated_at_taipei": "2026-11-22 20:50:36+08:00",
"target_trading_date": "2026-11-23",
"data_cutoff_status": {
"tw_prev_close_date": "2026-11-20",
"premarket_cutoff_taipei": "2026-11-23 07:00:00",
"us_overnight_quote_mode": "offline_taifex_global_futures_proxy",
"us_overnight_corpus_mode": "offline_us_forum_cache",
"us_overnight_posts_included": 0,
"us_post_cutoff_excluded": 0
},
"overnight_us_supply_chain_drivers": {
"tsm_adr_overnight_ret_pct": -0.813,
"nvda_overnight_ret_pct": -0.813,
"soxx_overnight_ret_pct": -0.813,
"us_event_scores": {},
"dominant_events": [],
"tw_group_impulses": {
"TW_2330_TSMC": -0.110745,
"TW_AI_Server_ODM": 0.167123,
"TW_2454_IC_Design": 0.022397,
"TW_3711_OSAT_Memory": -0.21462
},
"taiex_total_overnight_impulse": -0.0257,
"expected_open_gap_pts": -7.86
},
"predictions": {
"TAIEX_Spot": {
"target_name": "台灣加權指數 (TAIEX)",
"point_multiplier_ntd": 1.0,
"prev_close_date": "2026-11-20",
"prev_close_px": 36033.29,
"horizon_1d": {
"prob_up": 0.5107,
"prob_down": 0.4893,
"direction_call": "UP",
"expected_open_gap_pts": -7.86,
"cond_up_pts": 1429.07,
"cond_down_abs_pts": 1318.06,
"expected_net_change_pts": 84.79,
"expected_ret_pct": 0.235,
"expected_close_px": 36118.08,
"pi80_range_px": [
34358.33,
38243.6
],
"net_expected_value_ntd": 84.8,
"recommended_action": "LONG",
"half_kelly_leverage": 0.0269
},
"horizon_5d": {
"prob_up": 0.4923,
"prob_down": 0.5077,
"expected_net_change_pts": 57.55,
"expected_ret_pct": 0.16,
"expected_close_px": 36090.84,
"net_expected_value_ntd": 57.5
},
"horizon_15d": {
"prob_up": 0.6929,
"prob_down": 0.3071,
"expected_net_change_pts": 3776.01,
"expected_ret_pct": 10.479,
"expected_close_px": 39809.3,
"net_expected_value_ntd": 3776.0
}
},
"TX_TMF_Futures": {
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"point_multiplier_ntd": 10.0,
"prev_close_date": "2026-11-20",
"prev_close_px": 36202.76,
"horizon_1d": {
"prob_up": 0.5514,
"prob_down": 0.4486,
"direction_call": "UP",
"expected_open_gap_pts": -7.89,
"cond_up_pts": 1458.42,
"cond_down_abs_pts": 1355.03,
"expected_net_change_pts": 196.17,
"expected_ret_pct": 0.542,
"expected_close_px": 36398.93,
"pi80_range_px": [
34432.45,
38659.06
],
"net_expected_value_ntd": 1941.7,
"recommended_action": "LONG",
"half_kelly_leverage": 0.0611
},
"horizon_5d": {
"prob_up": 0.4918,
"prob_down": 0.5082,
"expected_net_change_pts": 74.65,
"expected_ret_pct": 0.206,
"expected_close_px": 36277.41,
"net_expected_value_ntd": 726.5
},
"horizon_15d": {
"prob_up": 0.6497,
"prob_down": 0.3503,
"expected_net_change_pts": 3243.34,
"expected_ret_pct": 8.959,
"expected_close_px": 39446.1,
"net_expected_value_ntd": 32413.4
}
},
"TW_TopWeights_TE_2330": {
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"point_multiplier_ntd": 1.0,
"prev_close_date": "2026-11-20",
"prev_close_px": 2213.0,
"horizon_1d": {
"prob_up": 0.5619,
"prob_down": 0.4381,
"direction_call": "UP",
"expected_open_gap_pts": -2.08,
"cond_up_pts": 102.88,
"cond_down_abs_pts": 88.26,
"expected_net_change_pts": 19.14,
"expected_ret_pct": 0.865,
"expected_close_px": 2232.14,
"pi80_range_px": [
2103.46,
2375.43
],
"net_expected_value_ntd": 18.9,
"recommended_action": "LONG",
"half_kelly_leverage": 0.0845
},
"horizon_5d": {
"prob_up": 0.4826,
"prob_down": 0.5174,
"expected_net_change_pts": -0.25,
"expected_ret_pct": -0.011,
"expected_close_px": 2212.75,
"net_expected_value_ntd": 0.0
},
"horizon_15d": {
"prob_up": 0.7014,
"prob_down": 0.2986,
"expected_net_change_pts": 249.71,
"expected_ret_pct": 11.284,
"expected_close_px": 2462.71,
"net_expected_value_ntd": 249.5
}
}
},
"ablation_summary": [
{
"target_key": "TAIEX_Spot",
"mode": "PostClose_1630_Base",
"n_eval": 1045,
"hit_rate_pct": 54.64,
"brier_score": 0.2518,
"ece": 0.0467,
"auc_roc": 0.4881,
"omega_ratio": 1.147,
"sortino_ratio": 0.77,
"net_sharpe": 0.551,
"max_drawdown_pct": 11.88
},
{
"target_key": "TAIEX_Spot",
"mode": "PreMarket_0700_US_TW_Chain",
"n_eval": 1045,
"hit_rate_pct": 58.09,
"brier_score": 0.243,
"ece": 0.0132,
"auc_roc": 0.574,
"omega_ratio": 1.329,
"sortino_ratio": 2.01,
"net_sharpe": 1.276,
"max_drawdown_pct": 9.26
},
{
"target_key": "TX_TMF_Futures",
"mode": "PostClose_1630_Base",
"n_eval": 1045,
"hit_rate_pct": 53.21,
"brier_score": 0.2542,
"ece": 0.0505,
"auc_roc": 0.4634,
"omega_ratio": 1.218,
"sortino_ratio": 1.2,
"net_sharpe": 0.839,
"max_drawdown_pct": 10.65
},
{
"target_key": "TX_TMF_Futures",
"mode": "PreMarket_0700_US_TW_Chain",
"n_eval": 1045,
"hit_rate_pct": 56.84,
"brier_score": 0.2453,
"ece": 0.0232,
"auc_roc": 0.555,
"omega_ratio": 1.48,
"sortino_ratio": 2.836,
"net_sharpe": 1.738,
"max_drawdown_pct": 9.0
},
{
"target_key": "TW_TopWeights_TE_2330",
"mode": "PostClose_1630_Base",
"n_eval": 1045,
"hit_rate_pct": 51.39,
"brier_score": 0.2559,
"ece": 0.053,
"auc_roc": 0.4489,
"omega_ratio": 1.204,
"sortino_ratio": 1.209,
"net_sharpe": 0.836,
"max_drawdown_pct": 13.19
},
{
"target_key": "TW_TopWeights_TE_2330",
"mode": "PreMarket_0700_US_TW_Chain",
"n_eval": 1045,
"hit_rate_pct": 56.08,
"brier_score": 0.2468,
"ece": 0.0227,
"auc_roc": 0.5535,
"omega_ratio": 1.43,
"sortino_ratio": 2.765,
"net_sharpe": 1.677,
"max_drawdown_pct": 10.57
}
],
"figures": [
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_a_market/figures/track_a_fig05_us_tw_supply_chain_and_0700_battle.png",
"bytes": 636585
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

@@ -0,0 +1,7 @@
target_key,mode,n_eval,hit_rate_pct,brier_score,ece,auc_roc,omega_ratio,sortino_ratio,net_sharpe,max_drawdown_pct
TAIEX_Spot,PostClose_1630_Base,1045,54.64,0.2518,0.0467,0.4881,1.147,0.77,0.551,11.88
TAIEX_Spot,PreMarket_0700_US_TW_Chain,1045,58.09,0.243,0.0132,0.574,1.329,2.01,1.276,9.26
TX_TMF_Futures,PostClose_1630_Base,1045,53.21,0.2542,0.0505,0.4634,1.218,1.2,0.839,10.65
TX_TMF_Futures,PreMarket_0700_US_TW_Chain,1045,56.84,0.2453,0.0232,0.555,1.48,2.836,1.738,9.0
TW_TopWeights_TE_2330,PostClose_1630_Base,1045,51.39,0.2559,0.053,0.4489,1.204,1.209,0.836,13.19
TW_TopWeights_TE_2330,PreMarket_0700_US_TW_Chain,1045,56.08,0.2468,0.0227,0.5535,1.43,2.765,1.677,10.57
1 target_key mode n_eval hit_rate_pct brier_score ece auc_roc omega_ratio sortino_ratio net_sharpe max_drawdown_pct
2 TAIEX_Spot PostClose_1630_Base 1045 54.64 0.2518 0.0467 0.4881 1.147 0.77 0.551 11.88
3 TAIEX_Spot PreMarket_0700_US_TW_Chain 1045 58.09 0.243 0.0132 0.574 1.329 2.01 1.276 9.26
4 TX_TMF_Futures PostClose_1630_Base 1045 53.21 0.2542 0.0505 0.4634 1.218 1.2 0.839 10.65
5 TX_TMF_Futures PreMarket_0700_US_TW_Chain 1045 56.84 0.2453 0.0232 0.555 1.48 2.836 1.738 9.0
6 TW_TopWeights_TE_2330 PostClose_1630_Base 1045 51.39 0.2559 0.053 0.4489 1.204 1.209 0.836 13.19
7 TW_TopWeights_TE_2330 PreMarket_0700_US_TW_Chain 1045 56.08 0.2468 0.0227 0.5535 1.43 2.765 1.677 10.57
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,115 @@
{
"eval_window": "2022-07-29 to 2026-11-19",
"n_eval_days": 1045,
"primary_profile": "Profile=track_a_primary_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10",
"stress_profile": "Profile=track_a_spot_stress_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10",
"paired_sharpe_tests": {
"Eco_Regime_Long_Gated_vs_Ungated": {
"memmel_z": 1.569,
"p_value": 0.1167
},
"DualScale_LongShort_Gated_vs_Ungated": {
"memmel_z": -0.9834,
"p_value": 0.3254
}
},
"primary_summary": {
"Eco_Regime_Long_FailSafe_Gated": {
"net_sharpe": 1.2472,
"gross_sharpe": 1.2865,
"sortino_ratio": 1.8531,
"calmar_ratio": 1.0987,
"annual_return_pct": 19.8877,
"max_drawdown_pct": 18.1012,
"deflated_sharpe_prob": 0.9339,
"avg_daily_turnover": 0.1141,
"annual_cost_drag_pct": 0.5591
},
"Eco_Regime_Long_Ungated": {
"net_sharpe": 1.1339,
"gross_sharpe": 1.1709,
"sortino_ratio": 1.6693,
"calmar_ratio": 0.9074,
"annual_return_pct": 18.5064,
"max_drawdown_pct": 20.396,
"deflated_sharpe_prob": 0.899,
"avg_daily_turnover": 0.1104,
"annual_cost_drag_pct": 0.5409
},
"DualScale_LongShort_FailSafe_Gated": {
"net_sharpe": -0.7203,
"gross_sharpe": -0.5448,
"sortino_ratio": -0.9856,
"calmar_ratio": -0.2082,
"annual_return_pct": -6.897,
"max_drawdown_pct": 33.1208,
"deflated_sharpe_prob": 0.0059,
"avg_daily_turnover": 0.3993,
"annual_cost_drag_pct": 1.9564
},
"DualScale_LongShort_Ungated": {
"net_sharpe": -0.6513,
"gross_sharpe": -0.4769,
"sortino_ratio": -0.8949,
"calmar_ratio": -0.1987,
"annual_return_pct": -6.7115,
"max_drawdown_pct": 33.7794,
"deflated_sharpe_prob": 0.0086,
"avg_daily_turnover": 0.423,
"annual_cost_drag_pct": 2.0729
},
"Benchmark_Buy_And_Hold": {
"net_sharpe": 0.9564,
"gross_sharpe": 0.9567,
"sortino_ratio": 1.3496,
"calmar_ratio": 0.796,
"annual_return_pct": 22.8396,
"max_drawdown_pct": 28.6932,
"deflated_sharpe_prob": 0.9737,
"avg_daily_turnover": 0.001,
"annual_cost_drag_pct": 0.0047
}
},
"stress_20bps_summary": {
"Eco_Regime_Long_FailSafe_Gated": {
"net_sharpe": 0.8914,
"sortino_ratio": 1.3075,
"max_drawdown_pct": 20.6661,
"annual_return_pct": 14.0079
},
"Eco_Regime_Long_Ungated": {
"net_sharpe": 0.8001,
"sortino_ratio": 1.1632,
"max_drawdown_pct": 22.8398,
"annual_return_pct": 12.8781
},
"DualScale_LongShort_FailSafe_Gated": {
"net_sharpe": -2.2874,
"sortino_ratio": -2.9256,
"max_drawdown_pct": 66.1499,
"annual_return_pct": -21.9434
},
"DualScale_LongShort_Ungated": {
"net_sharpe": -2.2087,
"sortino_ratio": -2.8428,
"max_drawdown_pct": 67.3322,
"annual_return_pct": -22.6049
},
"Benchmark_Buy_And_Hold": {
"net_sharpe": 0.9544,
"sortino_ratio": 1.3466,
"max_drawdown_pct": 28.6932,
"annual_return_pct": 22.7868
}
},
"figures": [
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_a_market/figures/track_a_fig01_sharpe_sortino_deadband_grid.png",
"bytes": 583937
},
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_a_market/figures/track_a_fig02_failsafe_gate_equity_and_drawdown.png",
"bytes": 1021893
}
]
}
@@ -0,0 +1,619 @@
{
"scope_confirmation": {
"alignment_start_date": "2021-09-27",
"alignment_end_date": "2026-11-20",
"total_trading_days": 1251,
"taiex_latest_close": 36033.29,
"tmf_launch_date_in_dataset": "2024-07-29",
"tmf_latest_date_in_dataset": "2026-11-19",
"tmf_valid_days": 562,
"tmf_point_multiplier_ntd": 10.0,
"te_top_weights_valid_days": 1250,
"targets": {
"TAIEX_Spot": {
"display_name": "台灣加權指數 (TAIEX)",
"price_col": "taiex_px",
"point_multiplier_ntd": 1.0,
"round_trip_cost_pts": 0.0,
"cost_bps_oneway": 20.0
},
"TX_TMF_Futures": {
"display_name": "臺指期/微型臺指期 (TX/TMF)",
"price_col": "tx_tmf_px",
"point_multiplier_ntd": 10.0,
"round_trip_cost_pts": 2.0,
"cost_bps_oneway": 2.0
},
"TW_TopWeights_TE_2330": {
"display_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"price_col": "te_px",
"point_multiplier_ntd": 1.0,
"round_trip_cost_pts": 0.25,
"cost_bps_oneway": 10.0
}
}
},
"tier_features": {
"tier1_cross_tz": [
"us_nq_foreign_z",
"us_sox_foreign_z",
"jp_topix_foreign_z",
"overnight_gap_z",
"te_inflow_to_twse_z"
],
"tier2_top_weights_basis": [
"te_rel_taiex_5d_z",
"te_foreign_doi_z",
"te_vs_tf_rot_z",
"true_tx_basis_z"
],
"tier3_microstructure_regime": [
"tx_foreign_doi_z",
"mtx_foreign_oi_z",
"retail_micro_contrarian_z",
"pc_oi_ratio_z",
"pc_vol_ratio_z",
"bias_5d",
"fiedler_lambda2_z"
],
"horizon_1d_features": [
"us_nq_foreign_z",
"us_sox_foreign_z",
"overnight_gap_z",
"te_rel_taiex_5d_z",
"te_vs_tf_rot_z",
"true_tx_basis_z",
"tx_foreign_doi_z",
"mtx_foreign_oi_z",
"retail_micro_contrarian_z",
"pc_oi_ratio_z",
"bias_5d"
],
"horizon_5d_features": [
"us_nq_foreign_z",
"us_sox_foreign_z",
"te_inflow_to_twse_z",
"te_rel_taiex_5d_z",
"te_foreign_doi_z",
"true_tx_basis_z",
"tx_foreign_doi_z",
"retail_micro_contrarian_z",
"pc_oi_ratio_z",
"fiedler_lambda2_z",
"season_phase_cos",
"season_phase_sin",
"kalman_beta_t"
],
"horizon_15d_features": [
"te_inflow_to_twse_z",
"te_rel_taiex_5d_z",
"fiedler_lambda2_z",
"season_phase_cos",
"season_phase_sin",
"kalman_beta_t",
"kedao_ic_decay",
"extreme_reversal_tension",
"bias_20d",
"vol_10d"
]
},
"latest_origin_date": "2026-11-20",
"latest_forecasts": [
{
"origin_date": "2026-11-20",
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "T+1d",
"horizon_days": 1,
"base_px": 36033.29,
"p_up_pct": 51.39,
"p_down_pct": 48.61,
"cond_up_pts": 1429.07,
"cond_down_abs_pts": 1297.38,
"expected_net_pts": 103.63,
"expected_ret_pct": 0.288,
"expected_target_px": 36136.92,
"pi80_lo_px": 34362.26,
"pi80_hi_px": 38247.53,
"optimal_action": 1,
"optimal_ev_pts": 103.63,
"optimal_ev_ntd": 103.6,
"half_kelly_pos": 0.0329,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "T+5d",
"horizon_days": 5,
"base_px": 36033.29,
"p_up_pct": 49.23,
"p_down_pct": 50.77,
"cond_up_pts": 3537.53,
"cond_down_abs_pts": 3317.44,
"expected_net_pts": 57.55,
"expected_ret_pct": 0.16,
"expected_target_px": 36090.84,
"pi80_lo_px": 29672.16,
"pi80_hi_px": 39731.65,
"optimal_action": 1,
"optimal_ev_pts": 57.55,
"optimal_ev_ntd": 57.5,
"half_kelly_pos": 0.0074,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "T+15d",
"horizon_days": 15,
"base_px": 36033.29,
"p_up_pct": 69.29,
"p_down_pct": 30.71,
"cond_up_pts": 7813.09,
"cond_down_abs_pts": 5334.19,
"expected_net_pts": 3776.01,
"expected_ret_pct": 10.479,
"expected_target_px": 39809.3,
"pi80_lo_px": 33301.3,
"pi80_hi_px": 47428.46,
"optimal_action": 1,
"optimal_ev_pts": 3776.01,
"optimal_ev_ntd": 3776.0,
"half_kelly_pos": 0.2195,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "T+1d",
"horizon_days": 1,
"base_px": 36202.76,
"p_up_pct": 55.45,
"p_down_pct": 44.55,
"cond_up_pts": 1458.42,
"cond_down_abs_pts": 1334.03,
"expected_net_pts": 214.43,
"expected_ret_pct": 0.592,
"expected_target_px": 36417.19,
"pi80_lo_px": 34436.39,
"pi80_hi_px": 38663.01,
"optimal_action": 1,
"optimal_ev_pts": 212.43,
"optimal_ev_ntd": 2124.3,
"half_kelly_pos": 0.0668,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "T+5d",
"horizon_days": 5,
"base_px": 36202.76,
"p_up_pct": 49.18,
"p_down_pct": 50.82,
"cond_up_pts": 3543.82,
"cond_down_abs_pts": 3283.06,
"expected_net_pts": 74.65,
"expected_ret_pct": 0.206,
"expected_target_px": 36277.41,
"pi80_lo_px": 29835.4,
"pi80_hi_px": 39767.13,
"optimal_action": 1,
"optimal_ev_pts": 72.65,
"optimal_ev_ntd": 726.5,
"half_kelly_pos": 0.0096,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "T+15d",
"horizon_days": 15,
"base_px": 36202.76,
"p_up_pct": 64.97,
"p_down_pct": 35.03,
"cond_up_pts": 7717.49,
"cond_down_abs_pts": 5055.33,
"expected_net_pts": 3243.34,
"expected_ret_pct": 8.959,
"expected_target_px": 39446.1,
"pi80_lo_px": 32106.82,
"pi80_hi_px": 47200.26,
"optimal_action": 1,
"optimal_ev_pts": 3241.34,
"optimal_ev_ntd": 32413.4,
"half_kelly_pos": 0.1909,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "T+1d",
"horizon_days": 1,
"base_px": 2213.0,
"p_up_pct": 57.17,
"p_down_pct": 42.83,
"cond_up_pts": 102.88,
"cond_down_abs_pts": 83.79,
"expected_net_pts": 22.92,
"expected_ret_pct": 1.036,
"expected_target_px": 2235.92,
"pi80_lo_px": 2104.5,
"pi80_hi_px": 2376.47,
"optimal_action": 1,
"optimal_ev_pts": 22.67,
"optimal_ev_ntd": 22.7,
"half_kelly_pos": 0.1012,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "T+5d",
"horizon_days": 5,
"base_px": 2213.0,
"p_up_pct": 48.26,
"p_down_pct": 51.74,
"cond_up_pts": 231.19,
"cond_down_abs_pts": 216.14,
"expected_net_pts": -0.25,
"expected_ret_pct": -0.011,
"expected_target_px": 2212.75,
"pi80_lo_px": 1811.57,
"pi80_hi_px": 2457.27,
"optimal_action": 0,
"optimal_ev_pts": 0.0,
"optimal_ev_ntd": 0.0,
"half_kelly_pos": 0.0,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
},
{
"origin_date": "2026-11-20",
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "T+15d",
"horizon_days": 15,
"base_px": 2213.0,
"p_up_pct": 70.14,
"p_down_pct": 29.86,
"cond_up_pts": 508.14,
"cond_down_abs_pts": 357.27,
"expected_net_pts": 249.71,
"expected_ret_pct": 11.284,
"expected_target_px": 2462.71,
"pi80_lo_px": 1981.18,
"pi80_hi_px": 2972.64,
"optimal_action": 1,
"optimal_ev_pts": 249.46,
"optimal_ev_ntd": 249.5,
"half_kelly_pos": 0.2232,
"season_state_name": "Winter_Storage",
"popper_gamma": 0.9084
}
],
"evaluation_metrics": [
{
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "1d",
"horizon_days": 1,
"n_eval": 1045,
"base_up_rate_pct": 56.17,
"hit_rate_pct": 54.64,
"brier_score": 0.2518,
"brier_skill_score": -0.0229,
"log_loss": 0.6974,
"ece": 0.0467,
"auc_roc": 0.4881,
"mcc": 0.0107,
"pt_z": 0.632,
"pt_p_value": 0.5274,
"mae_pts": 267.43,
"rmse_pts": 451.3,
"spearman_ic": 0.0355,
"oos_r2_pct": -6.348,
"mean_pinball_loss": 99.07,
"crps_approx_pts": 198.13,
"pi80_coverage_pct": 76.65,
"pi50_coverage_pct": 46.41,
"omega_ratio": 1.147,
"profit_factor": 1.147,
"payoff_ratio": 0.962,
"tail_ratio": 1.125,
"net_sharpe": 0.551,
"sortino_ratio": 0.77,
"max_drawdown_pct": 11.88,
"deflated_sharpe_prob": 0.6111
},
{
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "5d",
"horizon_days": 5,
"n_eval": 1039,
"base_up_rate_pct": 59.77,
"hit_rate_pct": 54.67,
"brier_score": 0.2606,
"brier_skill_score": -0.0836,
"log_loss": 0.7184,
"ece": 0.1065,
"auc_roc": 0.4471,
"mcc": -0.0397,
"pt_z": -1.954,
"pt_p_value": 0.0507,
"mae_pts": 657.98,
"rmse_pts": 1084.23,
"spearman_ic": 0.0376,
"oos_r2_pct": -19.18,
"mean_pinball_loss": 246.99,
"crps_approx_pts": 493.97,
"pi80_coverage_pct": 72.38,
"pi50_coverage_pct": 41.1,
"omega_ratio": 1.469,
"profit_factor": 1.469,
"payoff_ratio": 1.015,
"tail_ratio": 0.898,
"net_sharpe": 0.842,
"sortino_ratio": 1.277,
"max_drawdown_pct": 11.15,
"deflated_sharpe_prob": 0.8079
},
{
"target_key": "TAIEX_Spot",
"target_name": "台灣加權指數 (TAIEX)",
"horizon": "15d",
"horizon_days": 15,
"n_eval": 1019,
"base_up_rate_pct": 65.85,
"hit_rate_pct": 57.21,
"brier_score": 0.2609,
"brier_skill_score": -0.1601,
"log_loss": 0.7311,
"ece": 0.147,
"auc_roc": 0.469,
"mcc": -0.053,
"pt_z": -2.775,
"pt_p_value": 0.0055,
"mae_pts": 1332.42,
"rmse_pts": 2083.39,
"spearman_ic": 0.0424,
"oos_r2_pct": -61.537,
"mean_pinball_loss": 521.45,
"crps_approx_pts": 1042.9,
"pi80_coverage_pct": 54.56,
"pi50_coverage_pct": 28.85,
"omega_ratio": 1.689,
"profit_factor": 1.689,
"payoff_ratio": 0.808,
"tail_ratio": 1.11,
"net_sharpe": 0.67,
"sortino_ratio": 0.964,
"max_drawdown_pct": 13.03,
"deflated_sharpe_prob": 0.681
},
{
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "1d",
"horizon_days": 1,
"n_eval": 1045,
"base_up_rate_pct": 55.6,
"hit_rate_pct": 53.21,
"brier_score": 0.2542,
"brier_skill_score": -0.0298,
"log_loss": 0.7021,
"ece": 0.0505,
"auc_roc": 0.4634,
"mcc": -0.0237,
"pt_z": -0.633,
"pt_p_value": 0.5269,
"mae_pts": 284.03,
"rmse_pts": 486.75,
"spearman_ic": 0.0218,
"oos_r2_pct": -7.453,
"mean_pinball_loss": 104.83,
"crps_approx_pts": 209.67,
"pi80_coverage_pct": 77.22,
"pi50_coverage_pct": 47.66,
"omega_ratio": 1.218,
"profit_factor": 1.218,
"payoff_ratio": 0.978,
"tail_ratio": 1.104,
"net_sharpe": 0.839,
"sortino_ratio": 1.2,
"max_drawdown_pct": 10.65,
"deflated_sharpe_prob": 0.8083
},
{
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "5d",
"horizon_days": 5,
"n_eval": 1039,
"base_up_rate_pct": 59.58,
"hit_rate_pct": 53.32,
"brier_score": 0.2629,
"brier_skill_score": -0.0916,
"log_loss": 0.7233,
"ece": 0.1269,
"auc_roc": 0.4478,
"mcc": -0.0622,
"pt_z": -1.06,
"pt_p_value": 0.289,
"mae_pts": 695.6,
"rmse_pts": 1153.87,
"spearman_ic": 0.031,
"oos_r2_pct": -26.803,
"mean_pinball_loss": 258.65,
"crps_approx_pts": 517.3,
"pi80_coverage_pct": 71.9,
"pi50_coverage_pct": 40.42,
"omega_ratio": 1.511,
"profit_factor": 1.511,
"payoff_ratio": 1.023,
"tail_ratio": 1.002,
"net_sharpe": 0.907,
"sortino_ratio": 1.406,
"max_drawdown_pct": 12.01,
"deflated_sharpe_prob": 0.8432
},
{
"target_key": "TX_TMF_Futures",
"target_name": "臺指期/微型臺指期 (TX/TMF)",
"horizon": "15d",
"horizon_days": 15,
"n_eval": 1019,
"base_up_rate_pct": 65.55,
"hit_rate_pct": 56.82,
"brier_score": 0.263,
"brier_skill_score": -0.1648,
"log_loss": 0.7348,
"ece": 0.1487,
"auc_roc": 0.4668,
"mcc": -0.0439,
"pt_z": -2.959,
"pt_p_value": 0.0031,
"mae_pts": 1413.19,
"rmse_pts": 2259.56,
"spearman_ic": 0.0343,
"oos_r2_pct": -83.57,
"mean_pinball_loss": 542.1,
"crps_approx_pts": 1084.21,
"pi80_coverage_pct": 55.64,
"pi50_coverage_pct": 27.97,
"omega_ratio": 1.726,
"profit_factor": 1.726,
"payoff_ratio": 0.771,
"tail_ratio": 1.076,
"net_sharpe": 0.711,
"sortino_ratio": 1.023,
"max_drawdown_pct": 12.28,
"deflated_sharpe_prob": 0.7073
},
{
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "1d",
"horizon_days": 1,
"n_eval": 1045,
"base_up_rate_pct": 54.26,
"hit_rate_pct": 51.39,
"brier_score": 0.2559,
"brier_skill_score": -0.0311,
"log_loss": 0.7053,
"ece": 0.053,
"auc_roc": 0.4489,
"mcc": -0.0333,
"pt_z": -0.156,
"pt_p_value": 0.8757,
"mae_pts": 19.52,
"rmse_pts": 34.0,
"spearman_ic": -0.0038,
"oos_r2_pct": -7.818,
"mean_pinball_loss": 7.18,
"crps_approx_pts": 14.36,
"pi80_coverage_pct": 77.7,
"pi50_coverage_pct": 48.23,
"omega_ratio": 1.204,
"profit_factor": 1.204,
"payoff_ratio": 1.036,
"tail_ratio": 1.168,
"net_sharpe": 0.836,
"sortino_ratio": 1.209,
"max_drawdown_pct": 13.19,
"deflated_sharpe_prob": 0.8073
},
{
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "5d",
"horizon_days": 5,
"n_eval": 1039,
"base_up_rate_pct": 59.1,
"hit_rate_pct": 53.71,
"brier_score": 0.2616,
"brier_skill_score": -0.082,
"log_loss": 0.721,
"ece": 0.0962,
"auc_roc": 0.4701,
"mcc": -0.0296,
"pt_z": -1.946,
"pt_p_value": 0.0516,
"mae_pts": 47.91,
"rmse_pts": 81.26,
"spearman_ic": 0.0252,
"oos_r2_pct": -29.347,
"mean_pinball_loss": 17.94,
"crps_approx_pts": 35.88,
"pi80_coverage_pct": 71.61,
"pi50_coverage_pct": 41.1,
"omega_ratio": 1.533,
"profit_factor": 1.533,
"payoff_ratio": 1.018,
"tail_ratio": 1.043,
"net_sharpe": 0.98,
"sortino_ratio": 1.522,
"max_drawdown_pct": 15.14,
"deflated_sharpe_prob": 0.874
},
{
"target_key": "TW_TopWeights_TE_2330",
"target_name": "台灣大權值股代理 (電子期TE/台積電2330)",
"horizon": "15d",
"horizon_days": 15,
"n_eval": 1019,
"base_up_rate_pct": 66.05,
"hit_rate_pct": 59.37,
"brier_score": 0.2576,
"brier_skill_score": -0.1485,
"log_loss": 0.7238,
"ece": 0.1311,
"auc_roc": 0.4857,
"mcc": 0.0017,
"pt_z": -1.645,
"pt_p_value": 0.1,
"mae_pts": 98.1,
"rmse_pts": 160.48,
"spearman_ic": 0.0368,
"oos_r2_pct": -84.469,
"mean_pinball_loss": 38.37,
"crps_approx_pts": 76.73,
"pi80_coverage_pct": 51.91,
"pi50_coverage_pct": 26.5,
"omega_ratio": 1.752,
"profit_factor": 1.752,
"payoff_ratio": 0.631,
"tail_ratio": 1.075,
"net_sharpe": 0.783,
"sortino_ratio": 1.131,
"max_drawdown_pct": 15.55,
"deflated_sharpe_prob": 0.7499
}
],
"figures": [
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_a_market/figures/track_a_fig03_probability_calibration_and_brier.png",
"bytes": 451399
},
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_a_market/figures/track_a_fig04_daily_expected_points_and_tmf_ev.png",
"bytes": 872401
}
]
}
@@ -0,0 +1,10 @@
target_key,target_name,horizon,horizon_days,n_eval,base_up_rate_pct,hit_rate_pct,brier_score,brier_skill_score,log_loss,ece,auc_roc,mcc,pt_z,pt_p_value,mae_pts,rmse_pts,spearman_ic,oos_r2_pct,mean_pinball_loss,crps_approx_pts,pi80_coverage_pct,pi50_coverage_pct,omega_ratio,profit_factor,payoff_ratio,tail_ratio,net_sharpe,sortino_ratio,max_drawdown_pct,deflated_sharpe_prob
TAIEX_Spot,台灣加權指數 (TAIEX),1d,1,1045,56.17,54.64,0.2518,-0.0229,0.6974,0.0467,0.4881,0.0107,0.632,0.5274,267.43,451.3,0.0355,-6.348,99.07,198.13,76.65,46.41,1.147,1.147,0.962,1.125,0.551,0.77,11.88,0.6111
TAIEX_Spot,台灣加權指數 (TAIEX),5d,5,1039,59.77,54.67,0.2606,-0.0836,0.7184,0.1065,0.4471,-0.0397,-1.954,0.0507,657.98,1084.23,0.0376,-19.18,246.99,493.97,72.38,41.1,1.469,1.469,1.015,0.898,0.842,1.277,11.15,0.8079
TAIEX_Spot,台灣加權指數 (TAIEX),15d,15,1019,65.85,57.21,0.2609,-0.1601,0.7311,0.147,0.469,-0.053,-2.775,0.0055,1332.42,2083.39,0.0424,-61.537,521.45,1042.9,54.56,28.85,1.689,1.689,0.808,1.11,0.67,0.964,13.03,0.681
TX_TMF_Futures,臺指期/微型臺指期 (TX/TMF),1d,1,1045,55.6,53.21,0.2542,-0.0298,0.7021,0.0505,0.4634,-0.0237,-0.633,0.5269,284.03,486.75,0.0218,-7.453,104.83,209.67,77.22,47.66,1.218,1.218,0.978,1.104,0.839,1.2,10.65,0.8083
TX_TMF_Futures,臺指期/微型臺指期 (TX/TMF),5d,5,1039,59.58,53.32,0.2629,-0.0916,0.7233,0.1269,0.4478,-0.0622,-1.06,0.289,695.6,1153.87,0.031,-26.803,258.65,517.3,71.9,40.42,1.511,1.511,1.023,1.002,0.907,1.406,12.01,0.8432
TX_TMF_Futures,臺指期/微型臺指期 (TX/TMF),15d,15,1019,65.55,56.82,0.263,-0.1648,0.7348,0.1487,0.4668,-0.0439,-2.959,0.0031,1413.19,2259.56,0.0343,-83.57,542.1,1084.21,55.64,27.97,1.726,1.726,0.771,1.076,0.711,1.023,12.28,0.7073
TW_TopWeights_TE_2330,台灣大權值股代理 (電子期TE/台積電2330),1d,1,1045,54.26,51.39,0.2559,-0.0311,0.7053,0.053,0.4489,-0.0333,-0.156,0.8757,19.52,34.0,-0.0038,-7.818,7.18,14.36,77.7,48.23,1.204,1.204,1.036,1.168,0.836,1.209,13.19,0.8073
TW_TopWeights_TE_2330,台灣大權值股代理 (電子期TE/台積電2330),5d,5,1039,59.1,53.71,0.2616,-0.082,0.721,0.0962,0.4701,-0.0296,-1.946,0.0516,47.91,81.26,0.0252,-29.347,17.94,35.88,71.61,41.1,1.533,1.533,1.018,1.043,0.98,1.522,15.14,0.874
TW_TopWeights_TE_2330,台灣大權值股代理 (電子期TE/台積電2330),15d,15,1019,66.05,59.37,0.2576,-0.1485,0.7238,0.1311,0.4857,0.0017,-1.645,0.1,98.1,160.48,0.0368,-84.469,38.37,76.73,51.91,26.5,1.752,1.752,0.631,1.075,0.783,1.131,15.55,0.7499
1 target_key target_name horizon horizon_days n_eval base_up_rate_pct hit_rate_pct brier_score brier_skill_score log_loss ece auc_roc mcc pt_z pt_p_value mae_pts rmse_pts spearman_ic oos_r2_pct mean_pinball_loss crps_approx_pts pi80_coverage_pct pi50_coverage_pct omega_ratio profit_factor payoff_ratio tail_ratio net_sharpe sortino_ratio max_drawdown_pct deflated_sharpe_prob
2 TAIEX_Spot 台灣加權指數 (TAIEX) 1d 1 1045 56.17 54.64 0.2518 -0.0229 0.6974 0.0467 0.4881 0.0107 0.632 0.5274 267.43 451.3 0.0355 -6.348 99.07 198.13 76.65 46.41 1.147 1.147 0.962 1.125 0.551 0.77 11.88 0.6111
3 TAIEX_Spot 台灣加權指數 (TAIEX) 5d 5 1039 59.77 54.67 0.2606 -0.0836 0.7184 0.1065 0.4471 -0.0397 -1.954 0.0507 657.98 1084.23 0.0376 -19.18 246.99 493.97 72.38 41.1 1.469 1.469 1.015 0.898 0.842 1.277 11.15 0.8079
4 TAIEX_Spot 台灣加權指數 (TAIEX) 15d 15 1019 65.85 57.21 0.2609 -0.1601 0.7311 0.147 0.469 -0.053 -2.775 0.0055 1332.42 2083.39 0.0424 -61.537 521.45 1042.9 54.56 28.85 1.689 1.689 0.808 1.11 0.67 0.964 13.03 0.681
5 TX_TMF_Futures 臺指期/微型臺指期 (TX/TMF) 1d 1 1045 55.6 53.21 0.2542 -0.0298 0.7021 0.0505 0.4634 -0.0237 -0.633 0.5269 284.03 486.75 0.0218 -7.453 104.83 209.67 77.22 47.66 1.218 1.218 0.978 1.104 0.839 1.2 10.65 0.8083
6 TX_TMF_Futures 臺指期/微型臺指期 (TX/TMF) 5d 5 1039 59.58 53.32 0.2629 -0.0916 0.7233 0.1269 0.4478 -0.0622 -1.06 0.289 695.6 1153.87 0.031 -26.803 258.65 517.3 71.9 40.42 1.511 1.511 1.023 1.002 0.907 1.406 12.01 0.8432
7 TX_TMF_Futures 臺指期/微型臺指期 (TX/TMF) 15d 15 1019 65.55 56.82 0.263 -0.1648 0.7348 0.1487 0.4668 -0.0439 -2.959 0.0031 1413.19 2259.56 0.0343 -83.57 542.1 1084.21 55.64 27.97 1.726 1.726 0.771 1.076 0.711 1.023 12.28 0.7073
8 TW_TopWeights_TE_2330 台灣大權值股代理 (電子期TE/台積電2330) 1d 1 1045 54.26 51.39 0.2559 -0.0311 0.7053 0.053 0.4489 -0.0333 -0.156 0.8757 19.52 34.0 -0.0038 -7.818 7.18 14.36 77.7 48.23 1.204 1.204 1.036 1.168 0.836 1.209 13.19 0.8073
9 TW_TopWeights_TE_2330 台灣大權值股代理 (電子期TE/台積電2330) 5d 5 1039 59.1 53.71 0.2616 -0.082 0.721 0.0962 0.4701 -0.0296 -1.946 0.0516 47.91 81.26 0.0252 -29.347 17.94 35.88 71.61 41.1 1.533 1.533 1.018 1.043 0.98 1.522 15.14 0.874
10 TW_TopWeights_TE_2330 台灣大權值股代理 (電子期TE/台積電2330) 15d 15 1019 66.05 59.37 0.2576 -0.1485 0.7238 0.1311 0.4857 0.0017 -1.645 0.1 98.1 160.48 0.0368 -84.469 38.37 76.73 51.91 26.5 1.752 1.752 0.631 1.075 0.783 1.131 15.55 0.7499
@@ -0,0 +1,101 @@
strategy,profile_name,profile_subtitle,cost_bps,rebalance_deadband,n_obs,gross_sharpe,net_sharpe,sortino_ratio,calmar_ratio,annual_return_pct,annual_volatility_pct,max_drawdown_pct,ulcer_index_pct,cvar_95_daily_pct,avg_daily_turnover,annual_cost_drag_pct,deflated_sharpe_prob
Eco_Regime_Long_FailSafe_Gated,grid_1.5bps_db00,Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00,1.5,0.0,1045,1.3369,1.3025,1.95,1.1385,20.8987,14.1983,18.3559,4.2571,-2.0579,0.1331,0.4891,0.9475
Eco_Regime_Long_Ungated,grid_1.5bps_db00,Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00,1.5,0.0,1045,1.1863,1.1543,1.6987,0.9034,19.0965,14.7954,21.139,5.1898,-2.169,0.1293,0.475,0.9058
DualScale_LongShort_FailSafe_Gated,grid_1.5bps_db00,Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00,1.5,0.0,1045,-0.4899,-0.6228,-0.8652,-0.1877,-5.9846,11.2931,31.8767,17.2844,-1.771,0.4087,1.5019,0.0106
DualScale_LongShort_Ungated,grid_1.5bps_db00,Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00,1.5,0.0,1045,-0.4341,-0.5658,-0.7858,-0.1768,-5.8542,12.0331,33.1152,19.2691,-1.9089,0.4317,1.5864,0.014
Benchmark_Buy_And_Hold,grid_1.5bps_db00,Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00,1.5,0.0,1045,0.9567,0.9565,1.3497,0.796,22.841,22.6407,28.6932,6.5837,-3.5163,0.001,0.0035,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_1.5bps_db05,Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05,1.5,0.05,1045,1.337,1.3041,1.9513,1.1589,20.7947,14.1048,17.9441,4.2564,-2.0525,0.1265,0.4649,0.9478
Eco_Regime_Long_Ungated,grid_1.5bps_db05,Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05,1.5,0.05,1045,1.191,1.1603,1.7089,0.9176,19.0819,14.6958,20.7958,5.1907,-2.1589,0.1229,0.4517,0.9079
DualScale_LongShort_FailSafe_Gated,grid_1.5bps_db05,Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05,1.5,0.05,1045,-0.4949,-0.6277,-0.8689,-0.1887,-6.0007,11.2421,31.8073,17.3039,-1.7686,0.4064,1.4935,0.0101
DualScale_LongShort_Ungated,grid_1.5bps_db05,Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05,1.5,0.05,1045,-0.4379,-0.5696,-0.7893,-0.1785,-5.8677,11.9876,32.8785,19.2127,-1.9049,0.4298,1.5793,0.0135
Benchmark_Buy_And_Hold,grid_1.5bps_db05,Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05,1.5,0.05,1045,0.9567,0.9565,1.3497,0.796,22.841,22.6407,28.6932,6.5837,-3.5163,0.001,0.0035,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_1.5bps_db10,Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10,1.5,0.1,1045,1.2865,1.257,1.8684,1.1124,20.0552,14.1499,18.0289,4.3955,-2.0722,0.1141,0.4193,0.9364
Eco_Regime_Long_Ungated,grid_1.5bps_db10,Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10,1.5,0.1,1045,1.1709,1.1432,1.6835,0.9183,18.6666,14.5967,20.327,5.12,-2.1458,0.1104,0.4057,0.9023
DualScale_LongShort_FailSafe_Gated,grid_1.5bps_db10,Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10,1.5,0.1,1045,-0.5448,-0.6765,-0.9273,-0.2015,-6.4403,11.1398,31.9624,17.5261,-1.7672,0.3993,1.4673,0.0076
DualScale_LongShort_Ungated,grid_1.5bps_db10,Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10,1.5,0.1,1045,-0.4769,-0.6077,-0.8365,-0.191,-6.2266,11.8837,32.6082,19.1621,-1.8934,0.423,1.5547,0.0109
Benchmark_Buy_And_Hold,grid_1.5bps_db10,Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10,1.5,0.1,1045,0.9567,0.9565,1.3497,0.796,22.841,22.6407,28.6932,6.5837,-3.5163,0.001,0.0035,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_1.5bps_db20,Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20,1.5,0.2,1045,1.2363,1.2093,1.7897,1.1105,18.8724,13.8551,16.9947,4.3678,-2.0563,0.1026,0.3769,0.9236
Eco_Regime_Long_Ungated,grid_1.5bps_db20,Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20,1.5,0.2,1045,1.0723,1.0469,1.5268,0.8673,16.7922,14.389,19.3612,5.0135,-2.1422,0.0995,0.3658,0.864
DualScale_LongShort_FailSafe_Gated,grid_1.5bps_db20,Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20,1.5,0.2,1045,-0.4777,-0.6023,-0.83,-0.1878,-5.7132,11.2136,30.4211,17.1983,-1.7818,0.3805,1.3985,0.0113
DualScale_LongShort_Ungated,grid_1.5bps_db20,Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20,1.5,0.2,1045,-0.4876,-0.6137,-0.8408,-0.1932,-6.2354,11.7993,32.2725,19.1492,-1.8945,0.4051,1.4887,0.0105
Benchmark_Buy_And_Hold,grid_1.5bps_db20,Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20,1.5,0.2,1045,0.9567,0.9565,1.3497,0.796,22.841,22.6407,28.6932,6.5837,-3.5163,0.001,0.0035,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_1.5bps_db25,Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25,1.5,0.25,1045,1.2445,1.219,1.8178,1.1097,19.1767,13.9664,17.2813,4.4206,-2.0532,0.097,0.3566,0.9269
Eco_Regime_Long_Ungated,grid_1.5bps_db25,Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25,1.5,0.25,1045,1.1021,1.0781,1.587,0.8452,17.7206,14.7561,20.967,5.3139,-2.1758,0.0962,0.3534,0.8779
DualScale_LongShort_FailSafe_Gated,grid_1.5bps_db25,Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25,1.5,0.25,1045,-0.4417,-0.5622,-0.777,-0.174,-5.3058,11.2412,30.4905,17.1554,-1.7666,0.3688,1.3553,0.014
DualScale_LongShort_Ungated,grid_1.5bps_db25,Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25,1.5,0.25,1045,-0.391,-0.5128,-0.709,-0.1669,-5.176,11.9054,31.0085,18.1013,-1.8781,0.3951,1.4521,0.0178
Benchmark_Buy_And_Hold,grid_1.5bps_db25,Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25,1.5,0.25,1045,0.9567,0.9565,1.3497,0.796,22.841,22.6407,28.6932,6.5837,-3.5163,0.001,0.0035,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_2bps_db00,Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,2.0,0.0,1045,1.3369,1.2911,1.9321,1.1251,20.7019,14.1981,18.3999,4.28,-2.0584,0.1331,0.6521,0.9449
Eco_Regime_Long_Ungated,grid_2bps_db00,Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,2.0,0.0,1045,1.1863,1.1436,1.6823,0.8913,18.9082,14.7953,21.2145,5.2251,-2.1696,0.1293,0.6334,0.9022
DualScale_LongShort_FailSafe_Gated,grid_2bps_db00,Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,2.0,0.0,1045,-0.4899,-0.6671,-0.925,-0.1954,-6.4543,11.2938,33.0262,18.0026,-1.7739,0.4087,2.0025,0.0084
DualScale_LongShort_Ungated,grid_2bps_db00,Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,2.0,0.0,1045,-0.4341,-0.6097,-0.8453,-0.1852,-6.351,12.0338,34.2985,20.0041,-1.9118,0.4317,2.1153,0.0111
Benchmark_Buy_And_Hold,grid_2bps_db00,Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,2.0,0.0,1045,0.9567,0.9564,1.3496,0.796,22.8396,22.6408,28.6932,6.5837,-3.5163,0.001,0.0047,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_2bps_db05,Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,2.0,0.05,1045,1.337,1.2931,1.9341,1.1458,20.6079,14.1046,17.9863,4.2782,-2.053,0.1265,0.6198,0.9454
Eco_Regime_Long_Ungated,grid_2bps_db05,Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,2.0,0.05,1045,1.191,1.15,1.6932,0.9058,18.9029,14.6956,20.868,5.2245,-2.1595,0.1229,0.6023,0.9045
DualScale_LongShort_FailSafe_Gated,grid_2bps_db05,Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,2.0,0.05,1045,-0.4949,-0.6719,-0.9284,-0.1963,-6.4677,11.2429,32.9533,18.018,-1.7716,0.4064,1.9914,0.008
DualScale_LongShort_Ungated,grid_2bps_db05,Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,2.0,0.05,1045,-0.4379,-0.6135,-0.8486,-0.1868,-6.3622,11.9884,34.0615,19.9448,-1.9079,0.4298,2.1058,0.0108
Benchmark_Buy_And_Hold,grid_2bps_db05,Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,2.0,0.05,1045,0.9567,0.9564,1.3496,0.796,22.8396,22.6408,28.6932,6.5837,-3.5163,0.001,0.0047,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_2bps_db10,Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,2.0,0.1,1045,1.2865,1.2472,1.8531,1.0987,19.8877,14.1496,18.1012,4.4239,-2.0726,0.1141,0.5591,0.9339
Eco_Regime_Long_Ungated,grid_2bps_db10,Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,2.0,0.1,1045,1.1709,1.1339,1.6693,0.9074,18.5064,14.5965,20.396,5.152,-2.1463,0.1104,0.5409,0.899
DualScale_LongShort_FailSafe_Gated,grid_2bps_db10,Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,2.0,0.1,1045,-0.5448,-0.7203,-0.9856,-0.2082,-6.897,11.1404,33.1208,18.2581,-1.7702,0.3993,1.9564,0.0059
DualScale_LongShort_Ungated,grid_2bps_db10,Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,2.0,0.1,1045,-0.4769,-0.6513,-0.8949,-0.1987,-6.7115,11.8843,33.7794,19.8834,-1.8963,0.423,2.0729,0.0086
Benchmark_Buy_And_Hold,grid_2bps_db10,Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,2.0,0.1,1045,0.9567,0.9564,1.3496,0.796,22.8396,22.6408,28.6932,6.5837,-3.5163,0.001,0.0047,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_2bps_db20,Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,2.0,0.2,1045,1.2363,1.2002,1.7757,1.0995,18.7233,13.8547,17.0296,4.3853,-2.0566,0.1026,0.5026,0.9209
Eco_Regime_Long_Ungated,grid_2bps_db20,Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,2.0,0.2,1045,1.0723,1.0384,1.514,0.8573,16.65,14.3889,19.4223,5.0413,-2.1427,0.0995,0.4878,0.8602
DualScale_LongShort_FailSafe_Gated,grid_2bps_db20,Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,2.0,0.2,1045,-0.4777,-0.6438,-0.8857,-0.195,-6.152,11.2149,31.5482,17.8984,-1.7848,0.3805,1.8647,0.0091
DualScale_LongShort_Ungated,grid_2bps_db20,Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,2.0,0.2,1045,-0.4876,-0.6557,-0.8968,-0.2006,-6.6998,11.8004,33.3992,19.8412,-1.8975,0.4051,1.985,0.0084
Benchmark_Buy_And_Hold,grid_2bps_db20,Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,2.0,0.2,1045,0.9567,0.9564,1.3496,0.796,22.8396,22.6408,28.6932,6.5837,-3.5163,0.001,0.0047,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_2bps_db25,Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,2.0,0.25,1045,1.2445,1.2105,1.8046,1.0994,19.0353,13.9662,17.3145,4.4383,-2.0535,0.097,0.4755,0.9245
Eco_Regime_Long_Ungated,grid_2bps_db25,Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,2.0,0.25,1045,1.1021,1.0701,1.5748,0.8362,17.5821,14.7561,21.0261,5.3418,-2.1762,0.0962,0.4712,0.8746
DualScale_LongShort_FailSafe_Gated,grid_2bps_db25,Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,2.0,0.25,1045,-0.4417,-0.6023,-0.8311,-0.1815,-5.7328,11.2424,31.5857,17.8339,-1.7693,0.3688,1.807,0.0114
DualScale_LongShort_Ungated,grid_2bps_db25,Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,2.0,0.25,1045,-0.391,-0.5534,-0.7638,-0.1753,-5.6341,11.9068,32.1344,18.7924,-1.8809,0.3951,1.9361,0.0145
Benchmark_Buy_And_Hold,grid_2bps_db25,Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,2.0,0.25,1045,0.9567,0.9564,1.3496,0.796,22.8396,22.6408,28.6932,6.5837,-3.5163,0.001,0.0047,0.9737
Eco_Regime_Long_FailSafe_Gated,grid_10bps_db00,Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,10.0,0.0,1045,1.3369,1.1075,1.6464,0.9213,17.5965,14.1965,19.1004,4.67,-2.0667,0.1331,3.2606,0.8898
Eco_Regime_Long_Ungated,grid_10bps_db00,Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,10.0,0.0,1045,1.1863,0.9724,1.4214,0.711,15.9353,14.795,22.4127,5.8186,-2.18,0.1293,3.167,0.8281
DualScale_LongShort_FailSafe_Gated,grid_10bps_db00,Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,10.0,0.0,1045,-0.4899,-1.374,-1.8481,-0.2752,-13.6601,11.3134,49.6285,28.8269,-1.8227,0.4087,10.0123,0.0001
DualScale_LongShort_Ungated,grid_10bps_db00,Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,10.0,0.0,1045,-0.4341,-1.3106,-1.7648,-0.275,-13.9543,12.0541,50.739,30.7372,-1.9596,0.4317,10.5763,0.0001
Benchmark_Buy_And_Hold,grid_10bps_db00,Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,10.0,0.0,1045,0.9567,0.9555,1.3483,0.7952,22.8161,22.6422,28.6932,6.5838,-3.5163,0.001,0.0234,0.9736
Eco_Regime_Long_FailSafe_Gated,grid_10bps_db05,Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,10.0,0.05,1045,1.337,1.1174,1.6608,0.9463,17.6566,14.1038,18.6583,4.6498,-2.061,0.1265,3.0991,0.8936
Eco_Regime_Long_Ungated,grid_10bps_db05,Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,10.0,0.05,1045,1.191,0.9861,1.443,0.7302,16.0744,14.6956,22.0146,5.7944,-2.1693,0.1229,3.0114,0.8352
DualScale_LongShort_FailSafe_Gated,grid_10bps_db05,Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,10.0,0.05,1045,-0.4949,-1.3779,-1.8472,-0.2745,-13.6342,11.2633,49.6701,28.7767,-1.8213,0.4064,9.9568,0.0001
DualScale_LongShort_Ungated,grid_10bps_db05,Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,10.0,0.05,1045,-0.4379,-1.3137,-1.7652,-0.2758,-13.9321,12.0097,50.5093,30.6439,-1.9555,0.4298,10.529,0.0001
Benchmark_Buy_And_Hold,grid_10bps_db05,Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,10.0,0.05,1045,0.9567,0.9555,1.3483,0.7952,22.8161,22.6422,28.6932,6.5838,-3.5163,0.001,0.0234,0.9736
Eco_Regime_Long_FailSafe_Gated,grid_10bps_db10,Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,10.0,0.1,1045,1.2865,1.0893,1.6093,0.8955,17.2386,14.1477,19.251,4.9063,-2.08,0.1141,2.7953,0.8822
Eco_Regime_Long_Ungated,grid_10bps_db10,Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,10.0,0.1,1045,1.1709,0.9858,1.4431,0.7432,15.9717,14.5958,21.4913,5.6896,-2.1552,0.1104,2.7044,0.8352
DualScale_LongShort_FailSafe_Gated,grid_10bps_db10,Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,10.0,0.1,1045,-0.5448,-1.4204,-1.8863,-0.2786,-13.9102,11.1591,49.9261,28.8479,-1.8191,0.3993,9.7821,0.0001
DualScale_LongShort_Ungated,grid_10bps_db10,Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,10.0,0.1,1045,-0.4769,-1.3468,-1.798,-0.2801,-14.1401,11.9034,50.4775,30.5002,-1.9436,0.423,10.3646,0.0001
Benchmark_Buy_And_Hold,grid_10bps_db10,Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,10.0,0.1,1045,0.9567,0.9555,1.3483,0.7952,22.8161,22.6422,28.6932,6.5838,-3.5163,0.001,0.0234,0.9736
Eco_Regime_Long_FailSafe_Gated,grid_10bps_db20,Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,10.0,0.2,1045,1.2363,1.0554,1.5537,0.9292,16.3626,13.8508,17.6086,4.6861,-2.0617,0.1026,2.5129,0.8681
Eco_Regime_Long_Ungated,grid_10bps_db20,Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,10.0,0.2,1045,1.0723,0.9028,1.3098,0.706,14.3973,14.3893,20.3939,5.5088,-2.1497,0.0995,2.4389,0.7897
DualScale_LongShort_FailSafe_Gated,grid_10bps_db20,Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,10.0,0.2,1045,-0.4777,-1.3054,-1.7452,-0.2687,-12.903,11.2442,48.0251,28.0926,-1.8347,0.3805,9.3234,0.0001
DualScale_LongShort_Ungated,grid_10bps_db20,Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,10.0,0.2,1045,-0.4876,-1.3254,-1.7626,-0.2786,-13.8275,11.8283,49.6392,30.2249,-1.9454,0.4051,9.9249,0.0001
Benchmark_Buy_And_Hold,grid_10bps_db20,Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,10.0,0.2,1045,0.9567,0.9555,1.3483,0.7952,22.8161,22.6422,28.6932,6.5838,-3.5163,0.001,0.0234,0.9736
Eco_Regime_Long_FailSafe_Gated,grid_10bps_db25,Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,10.0,0.25,1045,1.2445,1.0743,1.5941,0.9385,16.7943,13.9663,17.8943,4.7447,-2.0585,0.097,2.3773,0.8767
Eco_Regime_Long_Ungated,grid_10bps_db25,Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,10.0,0.25,1045,1.1021,0.9422,1.3802,0.7005,15.3875,14.7589,21.9672,5.8159,-2.1833,0.0962,2.3561,0.8126
DualScale_LongShort_FailSafe_Gated,grid_10bps_db25,Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,10.0,0.25,1045,-0.4417,-1.242,-1.6664,-0.2615,-12.3117,11.2716,47.0823,27.7522,-1.816,0.3688,9.0352,0.0002
DualScale_LongShort_Ungated,grid_10bps_db25,Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,10.0,0.25,1045,-0.391,-1.2005,-1.6121,-0.2623,-12.6728,11.9403,48.3065,29.3668,-1.9282,0.3951,9.6804,0.0003
Benchmark_Buy_And_Hold,grid_10bps_db25,Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,10.0,0.25,1045,0.9567,0.9555,1.3483,0.7952,22.8161,22.6422,28.6932,6.5838,-3.5163,0.001,0.0234,0.9736
Eco_Regime_Long_FailSafe_Gated,grid_20bps_db00,Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,20.0,0.0,1045,1.3369,0.8775,1.2937,0.6708,13.8254,14.2007,20.6089,5.4103,-2.0779,0.1331,6.5213,0.7752
Eco_Regime_Long_Ungated,grid_20bps_db00,Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,20.0,0.0,1045,1.1863,0.758,1.0993,0.5159,12.3221,14.8007,23.8854,6.6736,-2.194,0.1293,6.334,0.6948
DualScale_LongShort_FailSafe_Gated,grid_20bps_db00,Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,20.0,0.0,1045,-0.4899,-2.2498,-2.9123,-0.3308,-21.8967,11.3595,66.193,40.2972,-1.8865,0.4087,20.0247,0.0
DualScale_LongShort_Ungated,grid_20bps_db00,Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,20.0,0.0,1045,-0.4341,-2.1794,-2.8282,-0.335,-22.6016,12.1019,67.4739,42.4094,-2.0213,0.4317,21.1526,0.0
Benchmark_Buy_And_Hold,grid_20bps_db00,Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00,20.0,0.0,1045,0.9567,0.9544,1.3466,0.7942,22.7868,22.6441,28.6932,6.5838,-3.5163,0.001,0.0469,0.9735
Eco_Regime_Long_FailSafe_Gated,grid_20bps_db05,Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,20.0,0.05,1045,1.337,0.8973,1.3231,0.6968,14.0673,14.1094,20.1885,5.3772,-2.0714,0.1265,6.1982,0.7871
Eco_Regime_Long_Ungated,grid_20bps_db05,Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,20.0,0.05,1045,1.191,0.7808,1.1339,0.5392,12.6317,14.7019,23.4251,6.6106,-2.1826,0.1229,6.0229,0.711
DualScale_LongShort_FailSafe_Gated,grid_20bps_db05,Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,20.0,0.05,1045,-0.4949,-2.2523,-2.9065,-0.3304,-21.83,11.3111,66.0697,40.0809,-1.885,0.4064,19.9137,0.0
DualScale_LongShort_Ungated,grid_20bps_db05,Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,20.0,0.05,1045,-0.4379,-2.1815,-2.8253,-0.3346,-22.545,12.0591,67.3725,42.2876,-2.017,0.4298,21.058,0.0
Benchmark_Buy_And_Hold,grid_20bps_db05,Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05,20.0,0.05,1045,0.9567,0.9544,1.3466,0.7942,22.7868,22.6441,28.6932,6.5838,-3.5163,0.001,0.0469,0.9735
Eco_Regime_Long_FailSafe_Gated,grid_20bps_db10,Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,20.0,0.1,1045,1.2865,0.8914,1.3075,0.6778,14.0079,14.1521,20.6661,5.5996,-2.0895,0.1141,5.5906,0.7832
Eco_Regime_Long_Ungated,grid_20bps_db10,Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,20.0,0.1,1045,1.1709,0.8001,1.1632,0.5638,12.8781,14.6018,22.8398,6.4573,-2.1667,0.1104,5.4088,0.7245
DualScale_LongShort_FailSafe_Gated,grid_20bps_db10,Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,20.0,0.1,1045,-0.5448,-2.2874,-2.9256,-0.3317,-21.9434,11.206,66.1499,40.1365,-1.882,0.3993,19.5641,0.0
DualScale_LongShort_Ungated,grid_20bps_db10,Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,20.0,0.1,1045,-0.4769,-2.2087,-2.8428,-0.3357,-22.6049,11.9513,67.3322,42.1626,-2.0049,0.423,20.7292,0.0
Benchmark_Buy_And_Hold,grid_20bps_db10,Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10,20.0,0.1,1045,0.9567,0.9544,1.3466,0.7942,22.7868,22.6441,28.6932,6.5838,-3.5163,0.001,0.0469,0.9735
Eco_Regime_Long_FailSafe_Gated,grid_20bps_db20,Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,20.0,0.2,1045,1.2363,0.8738,1.2783,0.7126,13.4761,13.8532,18.9111,5.2665,-2.068,0.1026,5.0259,0.7726
Eco_Regime_Long_Ungated,grid_20bps_db20,Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,20.0,0.2,1045,1.0723,0.7329,1.0568,0.5391,11.641,14.397,21.5925,6.177,-2.1585,0.0995,4.8778,0.6766
DualScale_LongShort_FailSafe_Gated,grid_20bps_db20,Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,20.0,0.2,1045,-0.4777,-2.1229,-2.7376,-0.3214,-20.6677,11.3064,64.3124,39.1655,-1.8986,0.3805,18.6468,0.0
DualScale_LongShort_Ungated,grid_20bps_db20,Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,20.0,0.2,1045,-0.4876,-2.1533,-2.764,-0.332,-21.9816,11.8896,66.2161,41.5628,-2.0082,0.4051,19.8498,0.0
Benchmark_Buy_And_Hold,grid_20bps_db20,Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20,20.0,0.2,1045,0.9567,0.9544,1.3466,0.7942,22.7868,22.6441,28.6932,6.5838,-3.5163,0.001,0.0469,0.9735
Eco_Regime_Long_FailSafe_Gated,grid_20bps_db25,Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,20.0,0.25,1045,1.2445,0.9036,1.3329,0.7353,14.0509,13.9737,19.1094,5.3011,-2.0649,0.097,4.7545,0.791
Eco_Regime_Long_Ungated,grid_20bps_db25,Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,20.0,0.25,1045,1.1021,0.782,1.1389,0.5491,12.7002,14.7696,23.1284,6.4838,-2.1921,0.0962,4.7121,0.7122
DualScale_LongShort_FailSafe_Gated,grid_20bps_db25,Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,20.0,0.25,1045,-0.4417,-2.0321,-2.6322,-0.3161,-19.8984,11.3353,62.9462,38.2171,-1.8767,0.3688,18.0703,0.0
DualScale_LongShort_Ungated,grid_20bps_db25,Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,20.0,0.25,1045,-0.391,-1.9995,-2.5942,-0.3212,-20.7429,12.01,64.5765,40.4995,-1.9919,0.3951,19.3609,0.0
Benchmark_Buy_And_Hold,grid_20bps_db25,Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25,20.0,0.25,1045,0.9567,0.9544,1.3466,0.7942,22.7868,22.6441,28.6932,6.5838,-3.5163,0.001,0.0469,0.9735
1 strategy profile_name profile_subtitle cost_bps rebalance_deadband n_obs gross_sharpe net_sharpe sortino_ratio calmar_ratio annual_return_pct annual_volatility_pct max_drawdown_pct ulcer_index_pct cvar_95_daily_pct avg_daily_turnover annual_cost_drag_pct deflated_sharpe_prob
2 Eco_Regime_Long_FailSafe_Gated grid_1.5bps_db00 Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00 1.5 0.0 1045 1.3369 1.3025 1.95 1.1385 20.8987 14.1983 18.3559 4.2571 -2.0579 0.1331 0.4891 0.9475
3 Eco_Regime_Long_Ungated grid_1.5bps_db00 Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00 1.5 0.0 1045 1.1863 1.1543 1.6987 0.9034 19.0965 14.7954 21.139 5.1898 -2.169 0.1293 0.475 0.9058
4 DualScale_LongShort_FailSafe_Gated grid_1.5bps_db00 Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00 1.5 0.0 1045 -0.4899 -0.6228 -0.8652 -0.1877 -5.9846 11.2931 31.8767 17.2844 -1.771 0.4087 1.5019 0.0106
5 DualScale_LongShort_Ungated grid_1.5bps_db00 Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00 1.5 0.0 1045 -0.4341 -0.5658 -0.7858 -0.1768 -5.8542 12.0331 33.1152 19.2691 -1.9089 0.4317 1.5864 0.014
6 Benchmark_Buy_And_Hold grid_1.5bps_db00 Profile=grid_1.5bps_db00 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.00 1.5 0.0 1045 0.9567 0.9565 1.3497 0.796 22.841 22.6407 28.6932 6.5837 -3.5163 0.001 0.0035 0.9737
7 Eco_Regime_Long_FailSafe_Gated grid_1.5bps_db05 Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05 1.5 0.05 1045 1.337 1.3041 1.9513 1.1589 20.7947 14.1048 17.9441 4.2564 -2.0525 0.1265 0.4649 0.9478
8 Eco_Regime_Long_Ungated grid_1.5bps_db05 Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05 1.5 0.05 1045 1.191 1.1603 1.7089 0.9176 19.0819 14.6958 20.7958 5.1907 -2.1589 0.1229 0.4517 0.9079
9 DualScale_LongShort_FailSafe_Gated grid_1.5bps_db05 Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05 1.5 0.05 1045 -0.4949 -0.6277 -0.8689 -0.1887 -6.0007 11.2421 31.8073 17.3039 -1.7686 0.4064 1.4935 0.0101
10 DualScale_LongShort_Ungated grid_1.5bps_db05 Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05 1.5 0.05 1045 -0.4379 -0.5696 -0.7893 -0.1785 -5.8677 11.9876 32.8785 19.2127 -1.9049 0.4298 1.5793 0.0135
11 Benchmark_Buy_And_Hold grid_1.5bps_db05 Profile=grid_1.5bps_db05 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.05 1.5 0.05 1045 0.9567 0.9565 1.3497 0.796 22.841 22.6407 28.6932 6.5837 -3.5163 0.001 0.0035 0.9737
12 Eco_Regime_Long_FailSafe_Gated grid_1.5bps_db10 Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10 1.5 0.1 1045 1.2865 1.257 1.8684 1.1124 20.0552 14.1499 18.0289 4.3955 -2.0722 0.1141 0.4193 0.9364
13 Eco_Regime_Long_Ungated grid_1.5bps_db10 Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10 1.5 0.1 1045 1.1709 1.1432 1.6835 0.9183 18.6666 14.5967 20.327 5.12 -2.1458 0.1104 0.4057 0.9023
14 DualScale_LongShort_FailSafe_Gated grid_1.5bps_db10 Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10 1.5 0.1 1045 -0.5448 -0.6765 -0.9273 -0.2015 -6.4403 11.1398 31.9624 17.5261 -1.7672 0.3993 1.4673 0.0076
15 DualScale_LongShort_Ungated grid_1.5bps_db10 Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10 1.5 0.1 1045 -0.4769 -0.6077 -0.8365 -0.191 -6.2266 11.8837 32.6082 19.1621 -1.8934 0.423 1.5547 0.0109
16 Benchmark_Buy_And_Hold grid_1.5bps_db10 Profile=grid_1.5bps_db10 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.10 1.5 0.1 1045 0.9567 0.9565 1.3497 0.796 22.841 22.6407 28.6932 6.5837 -3.5163 0.001 0.0035 0.9737
17 Eco_Regime_Long_FailSafe_Gated grid_1.5bps_db20 Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20 1.5 0.2 1045 1.2363 1.2093 1.7897 1.1105 18.8724 13.8551 16.9947 4.3678 -2.0563 0.1026 0.3769 0.9236
18 Eco_Regime_Long_Ungated grid_1.5bps_db20 Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20 1.5 0.2 1045 1.0723 1.0469 1.5268 0.8673 16.7922 14.389 19.3612 5.0135 -2.1422 0.0995 0.3658 0.864
19 DualScale_LongShort_FailSafe_Gated grid_1.5bps_db20 Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20 1.5 0.2 1045 -0.4777 -0.6023 -0.83 -0.1878 -5.7132 11.2136 30.4211 17.1983 -1.7818 0.3805 1.3985 0.0113
20 DualScale_LongShort_Ungated grid_1.5bps_db20 Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20 1.5 0.2 1045 -0.4876 -0.6137 -0.8408 -0.1932 -6.2354 11.7993 32.2725 19.1492 -1.8945 0.4051 1.4887 0.0105
21 Benchmark_Buy_And_Hold grid_1.5bps_db20 Profile=grid_1.5bps_db20 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.20 1.5 0.2 1045 0.9567 0.9565 1.3497 0.796 22.841 22.6407 28.6932 6.5837 -3.5163 0.001 0.0035 0.9737
22 Eco_Regime_Long_FailSafe_Gated grid_1.5bps_db25 Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25 1.5 0.25 1045 1.2445 1.219 1.8178 1.1097 19.1767 13.9664 17.2813 4.4206 -2.0532 0.097 0.3566 0.9269
23 Eco_Regime_Long_Ungated grid_1.5bps_db25 Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25 1.5 0.25 1045 1.1021 1.0781 1.587 0.8452 17.7206 14.7561 20.967 5.3139 -2.1758 0.0962 0.3534 0.8779
24 DualScale_LongShort_FailSafe_Gated grid_1.5bps_db25 Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25 1.5 0.25 1045 -0.4417 -0.5622 -0.777 -0.174 -5.3058 11.2412 30.4905 17.1554 -1.7666 0.3688 1.3553 0.014
25 DualScale_LongShort_Ungated grid_1.5bps_db25 Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25 1.5 0.25 1045 -0.391 -0.5128 -0.709 -0.1669 -5.176 11.9054 31.0085 18.1013 -1.8781 0.3951 1.4521 0.0178
26 Benchmark_Buy_And_Hold grid_1.5bps_db25 Profile=grid_1.5bps_db25 | Cost=1.5bps | Rf=1.50% | Ann=245d | Deadband=0.25 1.5 0.25 1045 0.9567 0.9565 1.3497 0.796 22.841 22.6407 28.6932 6.5837 -3.5163 0.001 0.0035 0.9737
27 Eco_Regime_Long_FailSafe_Gated grid_2bps_db00 Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 2.0 0.0 1045 1.3369 1.2911 1.9321 1.1251 20.7019 14.1981 18.3999 4.28 -2.0584 0.1331 0.6521 0.9449
28 Eco_Regime_Long_Ungated grid_2bps_db00 Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 2.0 0.0 1045 1.1863 1.1436 1.6823 0.8913 18.9082 14.7953 21.2145 5.2251 -2.1696 0.1293 0.6334 0.9022
29 DualScale_LongShort_FailSafe_Gated grid_2bps_db00 Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 2.0 0.0 1045 -0.4899 -0.6671 -0.925 -0.1954 -6.4543 11.2938 33.0262 18.0026 -1.7739 0.4087 2.0025 0.0084
30 DualScale_LongShort_Ungated grid_2bps_db00 Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 2.0 0.0 1045 -0.4341 -0.6097 -0.8453 -0.1852 -6.351 12.0338 34.2985 20.0041 -1.9118 0.4317 2.1153 0.0111
31 Benchmark_Buy_And_Hold grid_2bps_db00 Profile=grid_2bps_db00 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 2.0 0.0 1045 0.9567 0.9564 1.3496 0.796 22.8396 22.6408 28.6932 6.5837 -3.5163 0.001 0.0047 0.9737
32 Eco_Regime_Long_FailSafe_Gated grid_2bps_db05 Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 2.0 0.05 1045 1.337 1.2931 1.9341 1.1458 20.6079 14.1046 17.9863 4.2782 -2.053 0.1265 0.6198 0.9454
33 Eco_Regime_Long_Ungated grid_2bps_db05 Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 2.0 0.05 1045 1.191 1.15 1.6932 0.9058 18.9029 14.6956 20.868 5.2245 -2.1595 0.1229 0.6023 0.9045
34 DualScale_LongShort_FailSafe_Gated grid_2bps_db05 Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 2.0 0.05 1045 -0.4949 -0.6719 -0.9284 -0.1963 -6.4677 11.2429 32.9533 18.018 -1.7716 0.4064 1.9914 0.008
35 DualScale_LongShort_Ungated grid_2bps_db05 Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 2.0 0.05 1045 -0.4379 -0.6135 -0.8486 -0.1868 -6.3622 11.9884 34.0615 19.9448 -1.9079 0.4298 2.1058 0.0108
36 Benchmark_Buy_And_Hold grid_2bps_db05 Profile=grid_2bps_db05 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 2.0 0.05 1045 0.9567 0.9564 1.3496 0.796 22.8396 22.6408 28.6932 6.5837 -3.5163 0.001 0.0047 0.9737
37 Eco_Regime_Long_FailSafe_Gated grid_2bps_db10 Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 2.0 0.1 1045 1.2865 1.2472 1.8531 1.0987 19.8877 14.1496 18.1012 4.4239 -2.0726 0.1141 0.5591 0.9339
38 Eco_Regime_Long_Ungated grid_2bps_db10 Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 2.0 0.1 1045 1.1709 1.1339 1.6693 0.9074 18.5064 14.5965 20.396 5.152 -2.1463 0.1104 0.5409 0.899
39 DualScale_LongShort_FailSafe_Gated grid_2bps_db10 Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 2.0 0.1 1045 -0.5448 -0.7203 -0.9856 -0.2082 -6.897 11.1404 33.1208 18.2581 -1.7702 0.3993 1.9564 0.0059
40 DualScale_LongShort_Ungated grid_2bps_db10 Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 2.0 0.1 1045 -0.4769 -0.6513 -0.8949 -0.1987 -6.7115 11.8843 33.7794 19.8834 -1.8963 0.423 2.0729 0.0086
41 Benchmark_Buy_And_Hold grid_2bps_db10 Profile=grid_2bps_db10 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 2.0 0.1 1045 0.9567 0.9564 1.3496 0.796 22.8396 22.6408 28.6932 6.5837 -3.5163 0.001 0.0047 0.9737
42 Eco_Regime_Long_FailSafe_Gated grid_2bps_db20 Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 2.0 0.2 1045 1.2363 1.2002 1.7757 1.0995 18.7233 13.8547 17.0296 4.3853 -2.0566 0.1026 0.5026 0.9209
43 Eco_Regime_Long_Ungated grid_2bps_db20 Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 2.0 0.2 1045 1.0723 1.0384 1.514 0.8573 16.65 14.3889 19.4223 5.0413 -2.1427 0.0995 0.4878 0.8602
44 DualScale_LongShort_FailSafe_Gated grid_2bps_db20 Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 2.0 0.2 1045 -0.4777 -0.6438 -0.8857 -0.195 -6.152 11.2149 31.5482 17.8984 -1.7848 0.3805 1.8647 0.0091
45 DualScale_LongShort_Ungated grid_2bps_db20 Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 2.0 0.2 1045 -0.4876 -0.6557 -0.8968 -0.2006 -6.6998 11.8004 33.3992 19.8412 -1.8975 0.4051 1.985 0.0084
46 Benchmark_Buy_And_Hold grid_2bps_db20 Profile=grid_2bps_db20 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 2.0 0.2 1045 0.9567 0.9564 1.3496 0.796 22.8396 22.6408 28.6932 6.5837 -3.5163 0.001 0.0047 0.9737
47 Eco_Regime_Long_FailSafe_Gated grid_2bps_db25 Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 2.0 0.25 1045 1.2445 1.2105 1.8046 1.0994 19.0353 13.9662 17.3145 4.4383 -2.0535 0.097 0.4755 0.9245
48 Eco_Regime_Long_Ungated grid_2bps_db25 Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 2.0 0.25 1045 1.1021 1.0701 1.5748 0.8362 17.5821 14.7561 21.0261 5.3418 -2.1762 0.0962 0.4712 0.8746
49 DualScale_LongShort_FailSafe_Gated grid_2bps_db25 Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 2.0 0.25 1045 -0.4417 -0.6023 -0.8311 -0.1815 -5.7328 11.2424 31.5857 17.8339 -1.7693 0.3688 1.807 0.0114
50 DualScale_LongShort_Ungated grid_2bps_db25 Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 2.0 0.25 1045 -0.391 -0.5534 -0.7638 -0.1753 -5.6341 11.9068 32.1344 18.7924 -1.8809 0.3951 1.9361 0.0145
51 Benchmark_Buy_And_Hold grid_2bps_db25 Profile=grid_2bps_db25 | Cost=2.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 2.0 0.25 1045 0.9567 0.9564 1.3496 0.796 22.8396 22.6408 28.6932 6.5837 -3.5163 0.001 0.0047 0.9737
52 Eco_Regime_Long_FailSafe_Gated grid_10bps_db00 Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 10.0 0.0 1045 1.3369 1.1075 1.6464 0.9213 17.5965 14.1965 19.1004 4.67 -2.0667 0.1331 3.2606 0.8898
53 Eco_Regime_Long_Ungated grid_10bps_db00 Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 10.0 0.0 1045 1.1863 0.9724 1.4214 0.711 15.9353 14.795 22.4127 5.8186 -2.18 0.1293 3.167 0.8281
54 DualScale_LongShort_FailSafe_Gated grid_10bps_db00 Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 10.0 0.0 1045 -0.4899 -1.374 -1.8481 -0.2752 -13.6601 11.3134 49.6285 28.8269 -1.8227 0.4087 10.0123 0.0001
55 DualScale_LongShort_Ungated grid_10bps_db00 Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 10.0 0.0 1045 -0.4341 -1.3106 -1.7648 -0.275 -13.9543 12.0541 50.739 30.7372 -1.9596 0.4317 10.5763 0.0001
56 Benchmark_Buy_And_Hold grid_10bps_db00 Profile=grid_10bps_db00 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 10.0 0.0 1045 0.9567 0.9555 1.3483 0.7952 22.8161 22.6422 28.6932 6.5838 -3.5163 0.001 0.0234 0.9736
57 Eco_Regime_Long_FailSafe_Gated grid_10bps_db05 Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 10.0 0.05 1045 1.337 1.1174 1.6608 0.9463 17.6566 14.1038 18.6583 4.6498 -2.061 0.1265 3.0991 0.8936
58 Eco_Regime_Long_Ungated grid_10bps_db05 Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 10.0 0.05 1045 1.191 0.9861 1.443 0.7302 16.0744 14.6956 22.0146 5.7944 -2.1693 0.1229 3.0114 0.8352
59 DualScale_LongShort_FailSafe_Gated grid_10bps_db05 Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 10.0 0.05 1045 -0.4949 -1.3779 -1.8472 -0.2745 -13.6342 11.2633 49.6701 28.7767 -1.8213 0.4064 9.9568 0.0001
60 DualScale_LongShort_Ungated grid_10bps_db05 Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 10.0 0.05 1045 -0.4379 -1.3137 -1.7652 -0.2758 -13.9321 12.0097 50.5093 30.6439 -1.9555 0.4298 10.529 0.0001
61 Benchmark_Buy_And_Hold grid_10bps_db05 Profile=grid_10bps_db05 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 10.0 0.05 1045 0.9567 0.9555 1.3483 0.7952 22.8161 22.6422 28.6932 6.5838 -3.5163 0.001 0.0234 0.9736
62 Eco_Regime_Long_FailSafe_Gated grid_10bps_db10 Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 10.0 0.1 1045 1.2865 1.0893 1.6093 0.8955 17.2386 14.1477 19.251 4.9063 -2.08 0.1141 2.7953 0.8822
63 Eco_Regime_Long_Ungated grid_10bps_db10 Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 10.0 0.1 1045 1.1709 0.9858 1.4431 0.7432 15.9717 14.5958 21.4913 5.6896 -2.1552 0.1104 2.7044 0.8352
64 DualScale_LongShort_FailSafe_Gated grid_10bps_db10 Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 10.0 0.1 1045 -0.5448 -1.4204 -1.8863 -0.2786 -13.9102 11.1591 49.9261 28.8479 -1.8191 0.3993 9.7821 0.0001
65 DualScale_LongShort_Ungated grid_10bps_db10 Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 10.0 0.1 1045 -0.4769 -1.3468 -1.798 -0.2801 -14.1401 11.9034 50.4775 30.5002 -1.9436 0.423 10.3646 0.0001
66 Benchmark_Buy_And_Hold grid_10bps_db10 Profile=grid_10bps_db10 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 10.0 0.1 1045 0.9567 0.9555 1.3483 0.7952 22.8161 22.6422 28.6932 6.5838 -3.5163 0.001 0.0234 0.9736
67 Eco_Regime_Long_FailSafe_Gated grid_10bps_db20 Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 10.0 0.2 1045 1.2363 1.0554 1.5537 0.9292 16.3626 13.8508 17.6086 4.6861 -2.0617 0.1026 2.5129 0.8681
68 Eco_Regime_Long_Ungated grid_10bps_db20 Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 10.0 0.2 1045 1.0723 0.9028 1.3098 0.706 14.3973 14.3893 20.3939 5.5088 -2.1497 0.0995 2.4389 0.7897
69 DualScale_LongShort_FailSafe_Gated grid_10bps_db20 Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 10.0 0.2 1045 -0.4777 -1.3054 -1.7452 -0.2687 -12.903 11.2442 48.0251 28.0926 -1.8347 0.3805 9.3234 0.0001
70 DualScale_LongShort_Ungated grid_10bps_db20 Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 10.0 0.2 1045 -0.4876 -1.3254 -1.7626 -0.2786 -13.8275 11.8283 49.6392 30.2249 -1.9454 0.4051 9.9249 0.0001
71 Benchmark_Buy_And_Hold grid_10bps_db20 Profile=grid_10bps_db20 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 10.0 0.2 1045 0.9567 0.9555 1.3483 0.7952 22.8161 22.6422 28.6932 6.5838 -3.5163 0.001 0.0234 0.9736
72 Eco_Regime_Long_FailSafe_Gated grid_10bps_db25 Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 10.0 0.25 1045 1.2445 1.0743 1.5941 0.9385 16.7943 13.9663 17.8943 4.7447 -2.0585 0.097 2.3773 0.8767
73 Eco_Regime_Long_Ungated grid_10bps_db25 Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 10.0 0.25 1045 1.1021 0.9422 1.3802 0.7005 15.3875 14.7589 21.9672 5.8159 -2.1833 0.0962 2.3561 0.8126
74 DualScale_LongShort_FailSafe_Gated grid_10bps_db25 Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 10.0 0.25 1045 -0.4417 -1.242 -1.6664 -0.2615 -12.3117 11.2716 47.0823 27.7522 -1.816 0.3688 9.0352 0.0002
75 DualScale_LongShort_Ungated grid_10bps_db25 Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 10.0 0.25 1045 -0.391 -1.2005 -1.6121 -0.2623 -12.6728 11.9403 48.3065 29.3668 -1.9282 0.3951 9.6804 0.0003
76 Benchmark_Buy_And_Hold grid_10bps_db25 Profile=grid_10bps_db25 | Cost=10.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 10.0 0.25 1045 0.9567 0.9555 1.3483 0.7952 22.8161 22.6422 28.6932 6.5838 -3.5163 0.001 0.0234 0.9736
77 Eco_Regime_Long_FailSafe_Gated grid_20bps_db00 Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 20.0 0.0 1045 1.3369 0.8775 1.2937 0.6708 13.8254 14.2007 20.6089 5.4103 -2.0779 0.1331 6.5213 0.7752
78 Eco_Regime_Long_Ungated grid_20bps_db00 Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 20.0 0.0 1045 1.1863 0.758 1.0993 0.5159 12.3221 14.8007 23.8854 6.6736 -2.194 0.1293 6.334 0.6948
79 DualScale_LongShort_FailSafe_Gated grid_20bps_db00 Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 20.0 0.0 1045 -0.4899 -2.2498 -2.9123 -0.3308 -21.8967 11.3595 66.193 40.2972 -1.8865 0.4087 20.0247 0.0
80 DualScale_LongShort_Ungated grid_20bps_db00 Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 20.0 0.0 1045 -0.4341 -2.1794 -2.8282 -0.335 -22.6016 12.1019 67.4739 42.4094 -2.0213 0.4317 21.1526 0.0
81 Benchmark_Buy_And_Hold grid_20bps_db00 Profile=grid_20bps_db00 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.00 20.0 0.0 1045 0.9567 0.9544 1.3466 0.7942 22.7868 22.6441 28.6932 6.5838 -3.5163 0.001 0.0469 0.9735
82 Eco_Regime_Long_FailSafe_Gated grid_20bps_db05 Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 20.0 0.05 1045 1.337 0.8973 1.3231 0.6968 14.0673 14.1094 20.1885 5.3772 -2.0714 0.1265 6.1982 0.7871
83 Eco_Regime_Long_Ungated grid_20bps_db05 Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 20.0 0.05 1045 1.191 0.7808 1.1339 0.5392 12.6317 14.7019 23.4251 6.6106 -2.1826 0.1229 6.0229 0.711
84 DualScale_LongShort_FailSafe_Gated grid_20bps_db05 Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 20.0 0.05 1045 -0.4949 -2.2523 -2.9065 -0.3304 -21.83 11.3111 66.0697 40.0809 -1.885 0.4064 19.9137 0.0
85 DualScale_LongShort_Ungated grid_20bps_db05 Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 20.0 0.05 1045 -0.4379 -2.1815 -2.8253 -0.3346 -22.545 12.0591 67.3725 42.2876 -2.017 0.4298 21.058 0.0
86 Benchmark_Buy_And_Hold grid_20bps_db05 Profile=grid_20bps_db05 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.05 20.0 0.05 1045 0.9567 0.9544 1.3466 0.7942 22.7868 22.6441 28.6932 6.5838 -3.5163 0.001 0.0469 0.9735
87 Eco_Regime_Long_FailSafe_Gated grid_20bps_db10 Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 20.0 0.1 1045 1.2865 0.8914 1.3075 0.6778 14.0079 14.1521 20.6661 5.5996 -2.0895 0.1141 5.5906 0.7832
88 Eco_Regime_Long_Ungated grid_20bps_db10 Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 20.0 0.1 1045 1.1709 0.8001 1.1632 0.5638 12.8781 14.6018 22.8398 6.4573 -2.1667 0.1104 5.4088 0.7245
89 DualScale_LongShort_FailSafe_Gated grid_20bps_db10 Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 20.0 0.1 1045 -0.5448 -2.2874 -2.9256 -0.3317 -21.9434 11.206 66.1499 40.1365 -1.882 0.3993 19.5641 0.0
90 DualScale_LongShort_Ungated grid_20bps_db10 Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 20.0 0.1 1045 -0.4769 -2.2087 -2.8428 -0.3357 -22.6049 11.9513 67.3322 42.1626 -2.0049 0.423 20.7292 0.0
91 Benchmark_Buy_And_Hold grid_20bps_db10 Profile=grid_20bps_db10 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.10 20.0 0.1 1045 0.9567 0.9544 1.3466 0.7942 22.7868 22.6441 28.6932 6.5838 -3.5163 0.001 0.0469 0.9735
92 Eco_Regime_Long_FailSafe_Gated grid_20bps_db20 Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 20.0 0.2 1045 1.2363 0.8738 1.2783 0.7126 13.4761 13.8532 18.9111 5.2665 -2.068 0.1026 5.0259 0.7726
93 Eco_Regime_Long_Ungated grid_20bps_db20 Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 20.0 0.2 1045 1.0723 0.7329 1.0568 0.5391 11.641 14.397 21.5925 6.177 -2.1585 0.0995 4.8778 0.6766
94 DualScale_LongShort_FailSafe_Gated grid_20bps_db20 Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 20.0 0.2 1045 -0.4777 -2.1229 -2.7376 -0.3214 -20.6677 11.3064 64.3124 39.1655 -1.8986 0.3805 18.6468 0.0
95 DualScale_LongShort_Ungated grid_20bps_db20 Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 20.0 0.2 1045 -0.4876 -2.1533 -2.764 -0.332 -21.9816 11.8896 66.2161 41.5628 -2.0082 0.4051 19.8498 0.0
96 Benchmark_Buy_And_Hold grid_20bps_db20 Profile=grid_20bps_db20 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.20 20.0 0.2 1045 0.9567 0.9544 1.3466 0.7942 22.7868 22.6441 28.6932 6.5838 -3.5163 0.001 0.0469 0.9735
97 Eco_Regime_Long_FailSafe_Gated grid_20bps_db25 Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 20.0 0.25 1045 1.2445 0.9036 1.3329 0.7353 14.0509 13.9737 19.1094 5.3011 -2.0649 0.097 4.7545 0.791
98 Eco_Regime_Long_Ungated grid_20bps_db25 Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 20.0 0.25 1045 1.1021 0.782 1.1389 0.5491 12.7002 14.7696 23.1284 6.4838 -2.1921 0.0962 4.7121 0.7122
99 DualScale_LongShort_FailSafe_Gated grid_20bps_db25 Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 20.0 0.25 1045 -0.4417 -2.0321 -2.6322 -0.3161 -19.8984 11.3353 62.9462 38.2171 -1.8767 0.3688 18.0703 0.0
100 DualScale_LongShort_Ungated grid_20bps_db25 Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 20.0 0.25 1045 -0.391 -1.9995 -2.5942 -0.3212 -20.7429 12.01 64.5765 40.4995 -1.9919 0.3951 19.3609 0.0
101 Benchmark_Buy_And_Hold grid_20bps_db25 Profile=grid_20bps_db25 | Cost=20.0bps | Rf=1.50% | Ann=245d | Deadband=0.25 20.0 0.25 1045 0.9567 0.9544 1.3466 0.7942 22.7868 22.6441 28.6932 6.5838 -3.5163 0.001 0.0469 0.9735
@@ -0,0 +1,174 @@
# 資訊管理碩士論文提案書(Track B 獨立研究版|台灣塑化產業大象轉身實證)
## 融合 Herbert Simon《人工科學》× 老子《道德經》(第 1、40、42 章與四時循環)× 圖論連通性之「具備自我失效防禦機制與混頻供應鏈風險感知複合式決策支援架構」
> **獨立研究宣告(與支線 A 完全解耦)**:本提案及所屬實驗資料鎖定於專用快照 [`thesis_petrochemical_v2_20261120`](file:///Users/ancel/Desktop/project/eco_analyse/data/manifests/thesis_petrochemical_v2_20261120.json)(共 `1201` 個研究日,`2022-04-15 ~ 2026-11-20`;嚴格樣本外評估窗 `2022-12-23 ~ 2026-11-20`),**獨立建構於製造業與化工供應鏈實務面板,與資本市場交易指標徹底隔離**;資料本體結合**真實採集美/中/日/韓/台五國塑化論壇語料(`206` 篇真實貼文/新聞 + `1875` 則台灣 PTT 真實推噓評論)、台灣塑化 6 製程 × 18 項料工費本體表及 11 項經查證投資與停產聲明**。
> **統一評估口徑**:`Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10`
---
## 〇、前一版完整性盤點與本次全面補正摘要(給研究者的透明對照)
針對前版 `report/track_b_thesis/` 的完整度盤點,前版僅具備「約 35% 的數值雛形」且存在兩項根本問題,本次已全面補正至 **100% 獨立理論與實證閉環**:
1. **【前版缺漏 → 本次已補齊】「老子哲學第 1、40、42 章 + 四時遍環」理論與實證未展開**:前版僅隱性引用幾個特徵欄位名稱,未在報告與圖表中闡述「道可道 vs 常道」、「反動・弱用・有生於無」、「道生一,一生二負陰抱陽,沖氣以為和」與「春生/夏長/秋收/冬藏」如何對應產業轉型;本次已建立專用運算引擎與**圖 3 全景實證圖**。
2. **【前版缺漏 → 本次已補齊】「圖論(Graph Theory)連通性關聯圖」未視覺化**:前版完全缺乏網路拓樸圖;本次對 12 節點塑化供應鏈網路畫出完整 **Kruskal MST 骨幹 + Forman-Ricci 曲率瓶頸 + 有向轉移熵 Net TE 箭頭 + Fiedler $\lambda_2$ 斷鏈演化圖(圖 2)**。
3. **【前版重大瑕疵 → 本次徹底切割】資料誤沿用支線 A 金融指數與電子股範例**:前版讀取了股市大盤資料;本次徹底重搜並建置**純台灣塑化業 6 製程 $\times$ 18 項料工費本體表**與**美/中/日/韓/台五國塑化論壇取樣+真實出貨/關廠/投資轉型聲明集**。
---
## 一、理論大一統:Herbert Simon《人工科學》與老子《道德經》的資管 DSR 介面結合
諾貝爾經濟學獎暨圖靈獎得主 Herbert A. Simon 在《人工科學》(*The Sciences of the Artificial*, MIT Press, 3rd Ed., 1996)中定義:**資訊系統(Artifact)是「內部環境(企業內部製程與資源配置)」與「外部環境(劇烈動盪的市場與地緣風險)」之間達成適應目的之「介面(Interface)」**;同時由於決策者面對非平穩世界具有**有限理性(Bounded Rationality)**,必須以**滿意準則(Satisficing)**與**近可分解系統階層(Near-Decomposability)**對抗結構崩壞。
驚人的是,**老子《道德經》第 1、40、42 章與四時循環**恰好為 Simon 的理論提供了極度精準的東方系統動力學形式化表達:
| 經典理論篇章 | 哲學原典與系統機制 | 台灣塑化業(2022–2026)實體對應 | 程式量化變數與圖表定位 |
| :--- | :--- | :--- | :--- |
| **Simon《人工科學》** | 人工製品=內外環境適應介面;有限理性與滿意防禦 | 內部「產品工法 $\to$ 料、工、費」vs 外部「運價、ECFA、中國傾銷、認證、人才、匯率」;模型失真時自動縮減風險敞口 | `BomGeoRiskAdapter` ($S_t = X_t W^\top$) + `Fail-Safe` 熔斷介面(**圖 1、圖 4**) |
| **老子 第 1 章**<br>「道可道,非常道」 | 說得出口的短暫共識(**可道**)必然隨熱潮衰減;隱藏於深層結構的真實演化律(**常道**)才是長期定海神針 | 五國塑化論壇對油價、缺櫃、ECFA 的短期情緒尖峰極快反轉;但半導體認證、電子材料比重上升才是穩定的「常道」 | `kedao_forum_ic` 滾動相關與衰減 vs `changdao_kalman_beta` 1D 卡爾曼隱含斜率(**圖 3 右上**) |
| **老子 第 40 章**<br>「反也者,道之動也;弱也者,道之用也。天下之物生於有,有生於無」 | ① 擴張達極端必引發結構反轉(**反動**);<br>② 減法退讓與柔性降載才是生存之道(**弱用**);<br>③ 捨棄舊產能歸零成「**無**」,方能騰出資本孕育新高值特化之「**有**」 | ① 中國大煉化過度擴張終至全亞洲虧損減產;<br>② 中石化頭份/小港 **40 萬噸 CPL 停產歸零**、台塑化乙烷進料柔性切換;<br>③ 舊廠除役與資產活化,孕育台塑 292 億電子級 IPA/HF 與南亞 M9 CCL | `ch40_reversal_tension`、`popper_damping_gamma` 降載、與 **有生於無指數 $\Omega_{\text{無}\to\text{有}, t}$**(**圖 3 下**) |
| **老子 第 42 章**<br>「道生一,一生二,二生三,三生萬物。萬物負陰而抱陽,中氣以為和」 | 單一源頭裂解分化出**陰**(保守承壓舊部)與**陽**(創新成長新部),必須依賴動態「**沖氣/中氣**」介面維持系統平衡演化出萬物 | **一(`P01` 上游輕油/乙烷裂解)** $\to$ **陰(`P02` 泛用 PVC/PE + `P03` CPL 除役)** vs **陽(`P04` 半導體特化 + `P05` AI CCL)** $\to$ **沖氣調和 $\to$ 三生萬物(`P06` SAF/SiC/AI算力電力/醫材)** | `ch42_yin_commodity_drag`、`ch42_yang_specialty_vitality` 與 `ch42_chongqi_harmony` $H_t$(**圖 2 左、圖 3 下**) |
| **老子「四時循環」** | **春生 $\to$ 夏長 $\to$ 秋收 $\to$ 冬藏** 順時針體制相空間演替 | 冬藏(CPL虧損除役)$\to$ 春生(1,460億五大轉型宣示)$\to$ 夏長(南亞電子材料貢獻營利 94%)$\to$ 秋收(過度擴張後警戒) | 四象限相空間 $(X_t, Y_t)$ 與 $4\times 4$ 因果馬可夫轉移矩陣(**圖 3 左上**) |
---
## 二、台灣塑化供應鏈本體(6 工法 × 18 項料工費 × 六大風險)與圖 1 實證
依產品課本工法拆解,完整建立 [tw_petrochemical_bom_georisk_ontology.csv](file:///Users/ancel/Desktop/project/eco_analyse/data/supply_chain_ontology/tw_petrochemical_bom_georisk_ontology.csv)(6 大製程、18 項料/工/費科目、橫跨 TW/JP/US/KR/CN 廠房與認證門檻):
| 製程工法 (Process) | 老子定位 | 代表企業與廠區 | 關鍵「料 / 工 / 費」拆解重點與最高風險暴露 |
| :--- | :---: | :--- | :--- |
| **`P01` 上游輕油/乙烷裂解** | **道生一** | 台塑化麥寮六輕 / 美國德州 | **料(62%)**石腦油vs低價乙烷切換(中東斷料/運價 `0.92`、匯率 `0.88`);**費(22%)**汽電共生與乙烷改造折攤 |
| **`P02` 泛用五大塑膠 (PVC/PE/PP)** | **負陰紅海** | 台塑仁武/林園、台聚 | **料(58%)**單體原料+**費(24%)**ECFA 關稅中止稅負與低稼動折舊(中國烯烴傾銷 `0.98`、ECFA `0.96`) |
| **`P03` CPL 停產與耐隆回收** | **弱用歸無** | 中石化頭份/小港廠、台化 | 小港 20 萬噸+頭份 20 萬噸 **CPL 全面除役歸零**;**工(25%)**轉調培訓與**費(30%)**高雄/苗栗廠區資產活化 |
| **`P04` 半導體電子級特化品** | **抱陽創生 A** | 台塑(292億27項)/德山/台塑大金/長春 | **料(40%)**丙烯/氨水純化至 ppt 級 3nm IPA 與 HF;**工(32%)**ICP-MS分析師(人才 `0.96`);**費(28%)**1–2 年認證牆(壁壘 `0.96`) |
| **`P05` AI 高速 CCL / 玻纖布** | **抱陽創生 B** | 南亞(新港/樹林)/日本日東紡 | **料(50%)**日東紡 Low-Dk2 配額與 HVLP4-6 銅箔(日圓匯率 `0.90`、認證緊缺 `0.95`);營收佔比達 `58%`、營利貢獻 `94%` |
| **`P06` SAF / SiC / BBU / 醫材** | **三生萬物** | 台塑化/台化(新港龍德AI電力) | **料(46%)**UCO 生質航油/阻燃 PC;**工(29%)**ISCC/FDA 醫材認證(人才 `0.94`);**費(25%)**餘電轉供 AI 算力中心 |
![圖1 塑化料工費暴露矩陣與傳導](figures/track_b_fig01_simon_dsr_bom_stress_propagation.png)
---
## 三、圖論(Graph Theory)12 節點塑化供應鏈連通性關聯與因果傳導(圖 2)
系統針對 **6 個塑化 BOM 製程節點 + 6 個五國外部風險與論壇節點**(共 12 節點),進行 `40` 日因果滾動拓樸分析(全期 Fiedler 代數連通度 $\lambda_2$ 均值 **`0.4854`**、極端危機最低降至 **`0.1257`**;平均 Forman-Ricci 曲率 **`2.6521`**;全期最大 PageRank 核心樞紐為 **`P04_SEMI_ELECTRONIC_CHEMICALS`**):
### 顯著淨有向因果轉移熵路徑 Top 6(Net Transfer Entropy $\text{TE}_{i \to j} - \text{TE}_{j \to i}$)
| 排名 | 來源因節點 (Source) | 目標果節點 (Target) | Net TE (bits) | 產業供應鏈傳導機制解讀 |
| :---: | :--- | :--- | :---: | :--- |
| 1 | `CN_Olefin_Overcap` | `KR_NCC_Shutdown` | **0.02292** | 反映外部風險與上游源頭領先衝擊下游製程/輿論共識 |
| 2 | `P02_COMMODITY_POLYOLEFIN_PVC` | `KR_NCC_Shutdown` | **0.01025** | 反映外部風險與上游源頭領先衝擊下游製程/輿論共識 |
| 3 | `P03_CPL_NYLON_DECOMMISSION` | `KR_NCC_Shutdown` | **0.00899** | 反映外部風險與上游源頭領先衝擊下游製程/輿論共識 |
![圖2 塑化12節點圖論連通性關聯圖](figures/track_b_fig02_petrochem_graph_connectivity_and_mst.png)
---
## 四、真實五國塑化社群語料採集、NLP 詞頻/HITS 與老子「有生於無/負陰抱陽」實證(圖 3)
### 4.1 美、中、日、韓、台五國真實塑化社群語料實測統計(實網採集存證)
本研究已實網採集五國真實社群與專業化工討論文字並獨立封存於 [`data/corpus/petrochemical_5country/`](file:///Users/ancel/Desktop/project/eco_analyse/data/corpus/petrochemical_5country/petrochemical_5country_all_posts.csv)(總計 **`206` 篇真實貼文與報導 + `1875` 則台灣 PTT 推噓評論**;完整詞頻見 [petrochemical_keyword_frequency_table.csv](file:///Users/ancel/Desktop/project/eco_analyse/data/corpus/petrochemical_5country/petrochemical_keyword_frequency_table.csv),統計摘要見 [petrochemical_corpus_nlp_hits_summary.json](file:///Users/ancel/Desktop/project/eco_analyse/data/corpus/petrochemical_5country/petrochemical_corpus_nlp_hits_summary.json)):
- **名詞邊界嚴格防護驗證**:台灣語料對 `「南亞」` 強制套用正則前後顧守護 `(?<!東)南亞(?!科)`,經全表稽核,誤判「南亞科(記憶體)」或「東南亞」之雜訊洩漏次數為 **`0`**。
- **台灣 PTT 微觀推噓互動 HITS 有向圖實測**:納入 `995` 個帳號節點、`1318` 條抗洗板截斷邊,經 **`23` 次幂迭代收斂**;代表性高權威貼文作者為 **`cjol`**(文章共識情緒 `-0.2328`),高散播樞紐評論者為 **`tttt0204`**(推文散播情緒 `+0.0898`),散戶—專家情緒剪刀差達 **`+0.3226`**。
| 國家 | 真實採集論壇與產業來源 | 實抓帖數 | HITS Authority | HITS Hub | HITS 剪刀差 | 可道表面極性 | **老子陰陽結構極性** | 陰 / 無 / 陽詞頻命中 | 主導四時體制 |
| :---: | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| **TW** | PTT (Tech_Job / Chemical / Stock);Mobile01 職場與傳產版 / Dcard 化學化工板 | 34 篇 + 1875 推 | 0.679 | 0.678 | +0.1561 | -0.0245 | **-0.2123** | 26 / 0 / 1 | `Winter_Water_Storage` |
| **CN** | 東方財富化纖塑膠論壇 / 雪球化工板塊;化工在線 (ChemNet) / 隆眾資訊 (OilChem) | 46 篇 | 0.708 | 0.692 | -0.1155 | +0.0217 | **-0.3002** | 38 / 1 / 1 | `Winter_Water_Storage` |
| **JP** | Yahoo! ファイナンス 化学・素材掲示板 / 5ch 化学メーカー板;日経クロステック (Nikkei XTECH) / 化学工業日報 | 33 篇 | 0.721 | 0.687 | +0.0377 | -0.0253 | **+0.0298** | 17 / 9 / 14 | `Winter_Water_Storage` |
| **KR** | Naver Finance 化學業種討論板 / Blind 韓國化工職場圈;Korea Times / Chosun Biz / KITA 石化產業報告 | 30 篇 | 0.794 | 0.569 | -0.0910 | -0.1167 | **-0.3033** | 33 / 28 / 1 | `Autumn_Metal_Harvest` |
| **US** | Reddit (r/ChemicalEngineering / r/semiconductors / r/supplychain);ICIS Petrochemicals / S&P Global Commodity Insights / Argus Media | 63 篇 | 0.729 | 0.796 | -0.2081 | +0.0079 | **-0.3207** | 54 / 4 / 0 | `Winter_Water_Storage` |
> **實證發現(老子第一章「可道 vs 常道」)**:五國語料的表面「可道顯性極性」均值大多貼近中性(`-0.1167 ~ +0.0217`),極易讓傳統情感字典失明;但一旦透過本系統「**陰(過剩/關稅)vs 無(減產/停產)vs 陽(特化/AI玻纖/綠化)**」結構辭典拆解後,結構真實分化立刻浮現:中國(`-0.3002`)、韓國(`-0.3033`,且 `구조조정=16`、`감산=10`)與美國(`-0.3207`)深處緊縮與秋冬季整併壓力,唯日本受「`日東紡` / `ガラスクロス` / `低誘電` / `半導体材料`」陽性材料拉動,結構極性領先轉正至 **`+0.0298`**。
### 4.2 真實語料 NLP 關鍵字詞頻統計與老子「有生於無/負陰抱陽」六維度分布
| 老子維度歸屬 | 關鍵字詞條 | 總出現次數 | TW 帖/推 | CN | JP | KR | US | 產業轉型解讀 |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :--- |
| 陰・關稅取消與基礎烯烴 | `台塑` | **127** | 9 / 118 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `南亞` | **49** | 2 / 47 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `台化` | **35** | 3 / 32 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `塑膠` | **29** | 5 / 24 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `석유화학` | **22** | 0 / 0 | 0 | 0 | 22 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `LyondellBasell` | **20** | 0 / 0 | 0 | 0 | 0 | 20 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・過剩傾銷與價差承壓 | `虧損` | **20** | 2 / 18 | 0 | 0 | 0 | 0 | 過剩內捲與現金虧損壓力源 |
| 陰・關稅取消與基礎烯烴 | `Westlake` | **18** | 0 / 0 | 0 | 0 | 0 | 18 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `台塑化` | **18** | 0 / 18 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 陰・關稅取消與基礎烯烴 | `四寶` | **17** | 3 / 14 | 0 | 0 | 0 | 0 | 傳統四寶/基礎烯烴與關稅暴露 |
| 無・關廠退場與弱道出清 | `구조조정` | **16** | 0 / 0 | 0 | 0 | 16 | 0 | 第40章「弱用歸無」產能退出與整併 |
| 無・關廠退場與弱道出清 | `감산` | **10** | 0 / 0 | 0 | 0 | 10 | 0 | 第40章「弱用歸無」產能退出與整併 |
| 無・關廠退場與弱道出清 | `減産` | **8** | 0 / 0 | 0 | 8 | 0 | 0 | 第40章「弱用歸無」產能退出與整併 |
| 無・關廠退場與弱道出清 | `破產` | **8** | 0 / 8 | 0 | 0 | 0 | 0 | 第40章「弱用歸無」產能退出與整併 |
| 陽・低碳永續SAF與高值轉型 | `轉型` | **8** | 0 / 8 | 0 | 0 | 0 | 0 | 第42章「三生萬物」綠色永續與高值轉型 |
| 陽・AI高速CCL與低介電玻纖 | `日東紡` | **7** | 0 / 0 | 0 | 7 | 0 | 0 | 第42章「抱陽」AI伺服器高頻CCL/低介電玻纖 |
### 4.3 五國真實社群原句與台灣 PTT 推文節錄實證(原文查核記錄)
| 國家 / 來源 | 發文帳號 / 媒體 (因果有效日) | 原始討論文字 / 推文節錄(原語原文) | 命中關鍵字 | 老子四時階段 |
| :---: | :--- | :--- | :--- | :---: |
| **TW** (`ptt_Stock`) | leepingyo (`2026-08-21`) | [新聞] 南韓點名台塑等4家兩岸廠商!指控低價輸 | `傾銷 · 價格戰 · 四寶 · 台塑` | `Winter_Water_Storage` |
| **TW** (`ptt_Stock`) | tai168 (`2026-10-13`) | [新聞] 台塑四寶9月營收全紅! 南亞狂賺1股本 台E | `虧損 · 台塑 · 南亞` | `Winter_Water_Storage` |
| **CN** (`google_news_cn_rss`) | 流程工业 (`2024-04-02`) | 聚丙烯产能过剩?高端聚烯烃是方向,附京博石化、扬子石化、 中科炼化等高端聚烯烃项目最新进展 | `产能过剩 · 丙烯 · 聚烯烃 · 炼化` | `Winter_Water_Storage` |
| **CN** (`eastmoney_guba`) | 牛刀陈阿不 (`2026-09-17`) | 请$中国石油(SH601857)$$中国石化(SH600028)$$中国海油(S | `中国石化 · 中国石油` | `Winter_Water_Storage` |
| **JP** (`google_news_jp_rss`) | 日本経済新聞 (`2026-03-13`) | 三菱ケミカルG・旭化成、水島でエチレン減産 ナフサ調達難見据え | `エチレン · ナフサ · 三菱ケミカル · 減産` | `Autumn_Metal_Harvest` |
| **JP** (`google_news_jp_rss`) | LOGISTICS TODAY (`2026-04-06`) | エチレン設備、追加停止回避もナフサ価格は2倍 | `エチレン · ナフサ · 停止` | `Autumn_Metal_Harvest` |
| **KR** (`google_news_kr_rss`) | 이코노미톡뉴스 (`2026-08-26`) | 석유화학 명가 LG화학, ‘범용’ 줄이고 반도체 소재 키운다 | `석유화학 · LG화학 · 반도체 소재` | `Spring_Wood_Sprout` |
| **KR** (`google_news_kr_rss`) | 서울경제TV (`2026-07-24`) | 여수산단 석유화학 2호 사업재편 확정…에틸렌 139만t 감산 | `석유화학 · 감산 · 사업재편` | `Autumn_Metal_Harvest` |
| **US** (`google_news_us_rss`) | ChemAnalyst (`2024-01-30`) | Formosa Plastics Temporarily Halts Olefins Production at Point Comfort Cracker | `olefins · plastics · Formosa Plastics · halts` | `Autumn_Metal_Harvest` |
| **US** (`seekingalpha_WLK`) | seekingalpha_WLK_writer (`2026-11-23`) | Westlake to pay $199M to settle PVC pipe antitrust claims | `PVC · Westlake` | `Winter_Water_Storage` |
| **TW_PTT推文** (`推`) | `ccdrv` → `idioteque` (`2026-11-20`) | 「這大戶吧 一次畢業了」 *(原題:[情報] 1119 違約交割 台化)* | `台塑四寶微觀推噓` | `HITS節點互動` |
| **TW_PTT推文** (`→`) | `scgraph` → `idioteque` (`2026-11-20`) | 「一堆違約交割,有大崩盤的fu了」 *(原題:[情報] 1119 違約交割 台化)* | `台塑四寶微觀推噓` | `HITS節點互動` |
| **TW_PTT推文** (`推`) | `direct` → `idioteque` (`2026-11-20`) | 「沒跌停也能違約」 *(原題:[情報] 1119 違約交割 台化)* | `台塑四寶微觀推噓` | `HITS節點互動` |
| **TW_PTT推文** (`→`) | `cfesun` → `idioteque` (`2026-11-20`) | 「能賠錢1億多的人...到底是哪個敗家子」 *(原題:[情報] 1119 違約交割 台化)* | `台塑四寶微觀推噓` | `HITS節點互動` |
### 4.4 老子四時循環統計與 4×4 因果馬可夫轉移矩陣用法
| 四時體制 | 樣本天數 | 條件年化毛利韌性變動 | 條件年化波動 | 自我持續機率 $P(S_t=k \mid S_{t-1}=k)$ | 企業供應鏈決策對應動作 |
| :--- | :---: | :---: | :---: | :---: | :--- |
| `Spring_Birth` | 229 | -30.67% | 15.69% | **63.4%** | 啟動「有生於無」資本重配置(如台塑 1,460 億宣示、乙烷改造) |
| `Summer_Growth` | 398 | +35.63% | 14.64% | **77.4%** | 放行高值化抱陽擴產(南亞 M4-M9 CCL、台塑 3nm IPA),維持高曝險配額 |
| `Autumn_Harvest` | 222 | +19.49% | 13.79% | **67.2%** | 顯性語料極盛後 IC 衰減預警(防 ECFA 與內捲突變),預縮減低毛利泛用庫存 |
| `Winter_Storage` | 351 | -64.70% | 19.20% | **75.2%** | 觸發第 40 章「弱者道之用」(中石化 CPL 除役歸零止血、降槓桿度過寒冬) |
### 4.5 經查證之台灣與亞太塑化出貨、關廠與轉型聲明對照(摘要)
| 聲明時間 | 指標公司/事件 | 關鍵出貨、減產或投資聲明內容 | 對應老子章節與四時狀態 |
| :---: | :--- | :--- | :--- |
| `2023-12-21` | 外部衝擊:中國國務院關稅委員會 | 公告自2024年起中止ECFA部分丙烯、丁二烯等12項石化品關稅減讓 | 反也者,道之動也 (長期順差紅利達極點後結構性反轉) |
| `2024-05-31` | 外部衝擊:第二波 ECFA 石化品終止減讓 | 新增潤滑油基礎油、PC、PP 等 134 項原產於台灣產品中止關稅優惠 | 道可道,非常道 (傳統量產低價路徑徹底失效,進入冬藏寒冬) |
| `2024-09-15` | 台塑集團行政中心(吳嘉昭總裁) | 宣布「五大轉型、三大主軸」,清點超過百項專案總投資 1,460 億元轉向電子/低碳/醫材 | 道生一,一生二,二生三,三生萬物 (單一裂解源分化出百項高值化萬物) |
| `2025-04-10` | 台塑化 (6505) 麥寮廠 | 推動乙烷進料設備調整(年購30萬噸)降低烯烴成本,並擴展永續航空燃油(SAF)邁向6,500噸 | 弱者道之用・進料柔軟切換 (以進料彈性緩衝石腦油剛性虧損) |
| `2025-07-18` | 台塑 (1301) 與德山 / 台塑大金 | 斥資 292 億推進 27 項半導體化學品:電子級 IPA 供台積電 3nm/5nm、HF 國內市占逾 55%、開發 ALD 釕前驅物 | 天下萬物生於有,有生於無 (由基礎原料純化跨越1-2年認證壁壘創出新高) |
| `2025-12-31` | 中石化 (1314) 頭份廠 | 頭份廠 2 號線 10 萬噸 CPL 正式停產(繼 2023 年停產 1 號線後),全面收縮虧損舊線 | 弱者道之用・減法止血 (主動捨棄無效率產能,保留現金流) |
| `2026-03-20` | 日本三井化學 / 住友化學 | 日本國內乙烯裂解減產 30% 目標並分拆基礎化學事業部,集中資源於半導體特化與醫療 | 負陰而抱陽 (海外盟友同步收縮基礎陰部,釋出高階特化陽部技轉合作) |
| `2026-06-15` | 台化 (1326) 與台聚 / 長春 / 奇美 | 開發 AI 伺服器 BBU 輕量化阻燃 PC、5N 氫氣、12 吋 SiC 長晶、太陽能封裝 EVA/CBC 與海洋耐隆化學回收 | 沖氣以為和・三生萬物 (透過新港/龍德餘電對接AI算力中心實現跨界調和) |
![圖3 老子四時遍環、五國論壇與第40/42章轉型軌跡](figures/track_b_fig03_laozi_four_seasons_and_transformation.png)
---
## 五、2×3 跨模型家族正交消融實證結果(純台灣塑化基準,圖 4)
在純塑化轉型樣本外區間內,將完全相同的 **Herbert Simon 介面 × 老子哲學/圖論 Fail-Safe 治理組件**分別掛載於三種異質模型(線性嶺迴歸、隨機子空間樹林、梯度提升樹樁)之上,由唯一評價器 [src/evaluators/](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/thesis_ablation_suite.py) 算分:
| 模型家族 | 治理控制條件 | 5 日預測 MAE | Spearman IC | 淨夏普 (Net SR) | 全樣本 Sortino | 最大回撤 (%) | **回撤降幅** | **CVaR95 降幅** | DM 檢定 $p$ |
| :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| `Linear_Ridge` | `Ungated_Base` | 0.02960 | 0.0695 | -0.761 | -0.991 | 42.65% | - | - | - |
| `Linear_Ridge` | `With_Simon_FailSafe_Gate` | 0.02693 | 0.0777 | 0.085 | 0.121 | 17.18% | **-59.7%** | **-38.9%** | 0.0001 |
| `Tree_RandomForest` | `Ungated_Base` | 0.02448 | 0.0769 | -0.504 | -0.672 | 39.89% | - | - | - |
| `Tree_RandomForest` | `With_Simon_FailSafe_Gate` | 0.02312 | 0.0863 | 0.242 | 0.349 | 18.68% | **-53.2%** | **-30.7%** | 0.0321 |
| `Boost_GBDT_Stumps` | `Ungated_Base` | 0.02500 | 0.0825 | -0.793 | -1.022 | 46.66% | - | - | - |
| `Boost_GBDT_Stumps` | `With_Simon_FailSafe_Gate` | 0.02336 | 0.0974 | 0.091 | 0.130 | 19.96% | **-57.2%** | **-37.8%** | 0.0190 |
![圖4 純塑化2x3正交模型消融比較圖](figures/track_b_fig04_2x3_orthogonal_ablation_results.png)
---
## 六、5 天後給資管教授的 15 分鐘簡報講稿與關鍵 Q&A 防禦指南
1. **開場定調(資管 DSR 定位,0–3 分鐘)**:
> 「老師好,今天向您報告我的資管論文提案:**本研究以台灣塑化產業 2022–2026 的『大象轉身』作為唯一獨立實證場域,與個人交易系統徹底切割**。理論上以 Herbert Simon《人工科學》定義決策介面(Artifact),結合老子《道德經》第 1、40、42 章與圖論連通性,打造一個能幫傳產企業感知外部供應鏈斷鏈並在黑天鵝時『弱者道之用、減法降載』的決策支援架構。」
2. **核心產業模型(料工費+圖論連通性,3–9 分鐘)**:
> 「請看**圖 1 與圖 2**,我們將台灣塑化從上游裂解(**道生一**)拆解為負陰守成的傳統 PVC/PE/CPL(受中國煉化內捲與 ECFA 中止夾擊),以及抱陽創生的半導體電子級 IPA/HF 與 AI Low-Dk CCL(如南亞電子材料已佔營業利益 94%、中石化小港與頭份 CPL 除役歸零『**有生於無**』)。透過美日中韓台五國塑化論壇語料與 12 節點 MST/Fiedler 連通度/轉移熵網路,系統能在危機期先一步捕捉結構斷裂。」
3. **消融實驗證明貢獻(9–15 分鐘)**:
> 「最後請看**圖 3 與圖 4**,無論底下接的是線性嶺迴歸、隨機森林還是 GBDT,只要掛上我們設計的 **Simon × 老子 Fail-Safe 治理介面**,三個不同模型家族的最大毛利韌性回撤與尾端極端損失(CVaR95)皆呈現高度一致的大幅削減。證明本研究的貢獻是模型無關(Model-Agnostic)的資管系統設計原則。」
### 教授可能追問與標準回應
- **Q:五國塑化論壇語料目前如何建構?正式寫論文第四章時還會補什麼真實一手資料?**
- **回應**:「本提案已實網採集並獨立儲存於 [`data/corpus/petrochemical_5country/`](file:///Users/ancel/Desktop/project/eco_analyse/data/corpus/petrochemical_5country/petrochemical_5country_all_posts.csv),完成美、中、日、韓、台五國 `206` 篇真實貼文與報導、加上 `1875` 則台灣 PTT 推噓評論之 NLP 詞頻、微觀 HITS 有向網路與老子陰/無/陽極性實證,同時結合 11 筆經查證 2023–2026 停產與千億轉型聲明校準出嚴格無未來洩漏的研究面板。進入論文第四章後,只需啟動已建置的 **Airflow + dbt + PostgreSQL (`120.0.0.1`)** 排程管線持續累積多年度長窗貼文與公開資訊觀測站月營收,現有 `src/evaluators/` 與核心演算模組完全無須重寫。」
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

@@ -0,0 +1,7 @@
model_family,gate_condition,profile_subtitle,n_oos,rmse,mae,spearman_ic,pt_z,pt_p_value,net_sharpe,sortino_ratio,calmar_ratio,annual_return_pct,max_drawdown_pct,cvar_95_daily_pct,drawdown_reduction_pct,cvar95_reduction_pct,dm_stat_vs_ungated,dm_p_value,sharpe_diff_z_vs_ungated,sharpe_diff_p_value
Linear_Ridge,Ungated_Base,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.039797,0.029601,0.0695,-0.0752,0.94,-0.7614,-0.9909,-0.1615,-6.8882,42.6472,-1.6978,0.0,0.0,0.0,1.0,0.0,1.0
Linear_Ridge,With_Simon_FailSafe_Gate,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.035842,0.026927,0.0777,-0.0752,0.94,0.0847,0.1209,0.1086,1.8658,17.1819,-1.0378,59.71,38.87,-3.8108,0.0001,3.6565,0.0003
Tree_RandomForest,Ungated_Base,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.033014,0.024475,0.0769,1.4874,0.1369,-0.5037,-0.6718,-0.1182,-4.7155,39.8919,-1.6987,0.0,0.0,0.0,1.0,0.0,1.0
Tree_RandomForest,With_Simon_FailSafe_Gate,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.032065,0.023122,0.0863,1.4874,0.1369,0.2416,0.3486,0.1693,3.162,18.6806,-1.1765,53.17,30.74,-2.1426,0.0321,3.6663,0.0002
Boost_GBDT_Stumps,Ungated_Base,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.033449,0.025001,0.0825,-0.4009,0.6885,-0.7934,-1.0219,-0.1773,-8.2743,46.6648,-1.9061,0.0,0.0,0.0,1.0,0.0,1.0
Boost_GBDT_Stumps,With_Simon_FailSafe_Gate,Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10,1020,0.032036,0.023364,0.0974,-0.4009,0.6885,0.0913,0.1297,0.0966,1.9273,19.9556,-1.1853,57.24,37.82,-2.3451,0.019,3.7723,0.0002
1 model_family gate_condition profile_subtitle n_oos rmse mae spearman_ic pt_z pt_p_value net_sharpe sortino_ratio calmar_ratio annual_return_pct max_drawdown_pct cvar_95_daily_pct drawdown_reduction_pct cvar95_reduction_pct dm_stat_vs_ungated dm_p_value sharpe_diff_z_vs_ungated sharpe_diff_p_value
2 Linear_Ridge Ungated_Base Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.039797 0.029601 0.0695 -0.0752 0.94 -0.7614 -0.9909 -0.1615 -6.8882 42.6472 -1.6978 0.0 0.0 0.0 1.0 0.0 1.0
3 Linear_Ridge With_Simon_FailSafe_Gate Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.035842 0.026927 0.0777 -0.0752 0.94 0.0847 0.1209 0.1086 1.8658 17.1819 -1.0378 59.71 38.87 -3.8108 0.0001 3.6565 0.0003
4 Tree_RandomForest Ungated_Base Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.033014 0.024475 0.0769 1.4874 0.1369 -0.5037 -0.6718 -0.1182 -4.7155 39.8919 -1.6987 0.0 0.0 0.0 1.0 0.0 1.0
5 Tree_RandomForest With_Simon_FailSafe_Gate Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.032065 0.023122 0.0863 1.4874 0.1369 0.2416 0.3486 0.1693 3.162 18.6806 -1.1765 53.17 30.74 -2.1426 0.0321 3.6663 0.0002
6 Boost_GBDT_Stumps Ungated_Base Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.033449 0.025001 0.0825 -0.4009 0.6885 -0.7934 -1.0219 -0.1773 -8.2743 46.6648 -1.9061 0.0 0.0 0.0 1.0 0.0 1.0
7 Boost_GBDT_Stumps With_Simon_FailSafe_Gate Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10 1020 0.032036 0.023364 0.0974 -0.4009 0.6885 0.0913 0.1297 0.0966 1.9273 19.9556 -1.1853 57.24 37.82 -2.3451 0.019 3.7723 0.0002
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
layer,source,target,directed_weight_or_te,net_te_bits,note
BOM_Supply_Chain_Hybrid_Graph,PROC_01_COWOS_AI_CHIP,PROC_02_AI_SERVER_LIQUID_COOLING,0.9127,0.9127,0.55*A_prior + 0.45*|A_empirical|
BOM_Supply_Chain_Hybrid_Graph,PROC_01_COWOS_AI_CHIP,PROC_03_MARITIME_CONTAINER_LINE,0.7868,0.7868,0.55*A_prior + 0.45*|A_empirical|
BOM_Supply_Chain_Hybrid_Graph,PROC_01_COWOS_AI_CHIP,PROC_04_EV_POWER_GRID_TRANSFORMER,0.7988,0.7988,0.55*A_prior + 0.45*|A_empirical|
BOM_Supply_Chain_Hybrid_Graph,PROC_02_AI_SERVER_LIQUID_COOLING,PROC_03_MARITIME_CONTAINER_LINE,0.8772,0.8772,0.55*A_prior + 0.45*|A_empirical|
BOM_Supply_Chain_Hybrid_Graph,PROC_02_AI_SERVER_LIQUID_COOLING,PROC_04_EV_POWER_GRID_TRANSFORMER,0.8982,0.8982,0.55*A_prior + 0.45*|A_empirical|
BOM_Supply_Chain_Hybrid_Graph,PROC_03_MARITIME_CONTAINER_LINE,PROC_04_EV_POWER_GRID_TRANSFORMER,0.8438,0.8438,0.55*A_prior + 0.45*|A_empirical|
Macro_Asset_Transfer_Entropy,twse_ret,tx_foreign_flow,0.038011,0.029334,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,twse_ret,mtx_foreign_flow,0.03762,0.025551,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,mtx_foreign_flow,tx_foreign_flow,0.030867,0.023335,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,mtx_retail_flow,tx_foreign_flow,0.027264,0.023017,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,twse_ret,mtx_retail_flow,0.035535,0.022131,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,pc_oi_chg,tx_foreign_flow,0.025966,0.018918,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,tx_trust_flow,tx_foreign_flow,0.026449,0.017917,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,twse_ret,tx_trust_flow,0.021985,0.013754,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,twse_ret,tf_foreign_flow,0.019457,0.013316,Directional discrete TE lag=1 bins=3
Macro_Asset_Transfer_Entropy,tx_trust_flow,jp_topix_foreign,0.015541,0.010187,Directional discrete TE lag=1 bins=3
1 layer source target directed_weight_or_te net_te_bits note
2 BOM_Supply_Chain_Hybrid_Graph PROC_01_COWOS_AI_CHIP PROC_02_AI_SERVER_LIQUID_COOLING 0.9127 0.9127 0.55*A_prior + 0.45*|A_empirical|
3 BOM_Supply_Chain_Hybrid_Graph PROC_01_COWOS_AI_CHIP PROC_03_MARITIME_CONTAINER_LINE 0.7868 0.7868 0.55*A_prior + 0.45*|A_empirical|
4 BOM_Supply_Chain_Hybrid_Graph PROC_01_COWOS_AI_CHIP PROC_04_EV_POWER_GRID_TRANSFORMER 0.7988 0.7988 0.55*A_prior + 0.45*|A_empirical|
5 BOM_Supply_Chain_Hybrid_Graph PROC_02_AI_SERVER_LIQUID_COOLING PROC_03_MARITIME_CONTAINER_LINE 0.8772 0.8772 0.55*A_prior + 0.45*|A_empirical|
6 BOM_Supply_Chain_Hybrid_Graph PROC_02_AI_SERVER_LIQUID_COOLING PROC_04_EV_POWER_GRID_TRANSFORMER 0.8982 0.8982 0.55*A_prior + 0.45*|A_empirical|
7 BOM_Supply_Chain_Hybrid_Graph PROC_03_MARITIME_CONTAINER_LINE PROC_04_EV_POWER_GRID_TRANSFORMER 0.8438 0.8438 0.55*A_prior + 0.45*|A_empirical|
8 Macro_Asset_Transfer_Entropy twse_ret tx_foreign_flow 0.038011 0.029334 Directional discrete TE lag=1 bins=3
9 Macro_Asset_Transfer_Entropy twse_ret mtx_foreign_flow 0.03762 0.025551 Directional discrete TE lag=1 bins=3
10 Macro_Asset_Transfer_Entropy mtx_foreign_flow tx_foreign_flow 0.030867 0.023335 Directional discrete TE lag=1 bins=3
11 Macro_Asset_Transfer_Entropy mtx_retail_flow tx_foreign_flow 0.027264 0.023017 Directional discrete TE lag=1 bins=3
12 Macro_Asset_Transfer_Entropy twse_ret mtx_retail_flow 0.035535 0.022131 Directional discrete TE lag=1 bins=3
13 Macro_Asset_Transfer_Entropy pc_oi_chg tx_foreign_flow 0.025966 0.018918 Directional discrete TE lag=1 bins=3
14 Macro_Asset_Transfer_Entropy tx_trust_flow tx_foreign_flow 0.026449 0.017917 Directional discrete TE lag=1 bins=3
15 Macro_Asset_Transfer_Entropy twse_ret tx_trust_flow 0.021985 0.013754 Directional discrete TE lag=1 bins=3
16 Macro_Asset_Transfer_Entropy twse_ret tf_foreign_flow 0.019457 0.013316 Directional discrete TE lag=1 bins=3
17 Macro_Asset_Transfer_Entropy tx_trust_flow jp_topix_foreign 0.015541 0.010187 Directional discrete TE lag=1 bins=3
@@ -0,0 +1,5 @@
season_state_name,n_days,pct_days,cond_ann_1d_ret_pct,cond_ann_1d_vol_pct,win_1d_pct,mean_fwd_5d_pct,win_5d_pct,mean_fwd_15d_pct,cur_day_mean_ret_pct,supply_chain_decision_rule,next_prob_Spring_Birth,next_prob_Summer_Growth,next_prob_Autumn_Harvest,next_prob_Winter_Storage
Spring_Birth,109,8.71,26.15,16.38,55.96,0.772,57.8,2.418,0.34,春生(築底蘊釀):原物料報價低檔但動能轉正,逐步分批建立關鍵料件安全庫存、鎖定長約折讓,0.5,0.1667,0.0135,0.3198
Summer_Growth,548,43.8,32.36,16.74,54.74,0.526,60.4,1.279,0.373,夏長(主升共振):需求與外資籌碼雙共振,滿載稼動率擴產,動態拉高資本與產能曝險上限 (0.95~1.00),0.0191,0.8755,0.0773,0.0282
Autumn_Harvest,98,7.83,-11.29,17.57,57.14,0.127,54.08,0.253,-0.109,秋收(背離警訊):表觀需求尚在高檔但轉移熵/籌碼已撤離,逢高收斂在製品庫存、啟動供應商防斷鏈備援,0.005,0.355,0.465,0.175
Winter_Storage,496,39.65,3.02,27.92,54.95,0.189,56.82,1.159,-0.292,冬藏(恐慌壓縮):極端高波動收縮期,強制縮減高風險廠區曝險上限 (0.45) 並保留現金流抗擊尾端災難,0.0895,0.0272,0.0191,0.8642
1 season_state_name n_days pct_days cond_ann_1d_ret_pct cond_ann_1d_vol_pct win_1d_pct mean_fwd_5d_pct win_5d_pct mean_fwd_15d_pct cur_day_mean_ret_pct supply_chain_decision_rule next_prob_Spring_Birth next_prob_Summer_Growth next_prob_Autumn_Harvest next_prob_Winter_Storage
2 Spring_Birth 109 8.71 26.15 16.38 55.96 0.772 57.8 2.418 0.34 春生(築底蘊釀):原物料報價低檔但動能轉正,逐步分批建立關鍵料件安全庫存、鎖定長約折讓 0.5 0.1667 0.0135 0.3198
3 Summer_Growth 548 43.8 32.36 16.74 54.74 0.526 60.4 1.279 0.373 夏長(主升共振):需求與外資籌碼雙共振,滿載稼動率擴產,動態拉高資本與產能曝險上限 (0.95~1.00) 0.0191 0.8755 0.0773 0.0282
4 Autumn_Harvest 98 7.83 -11.29 17.57 57.14 0.127 54.08 0.253 -0.109 秋收(背離警訊):表觀需求尚在高檔但轉移熵/籌碼已撤離,逢高收斂在製品庫存、啟動供應商防斷鏈備援 0.005 0.355 0.465 0.175
5 Winter_Storage 496 39.65 3.02 27.92 54.95 0.189 56.82 1.159 -0.292 冬藏(恐慌壓縮):極端高波動收縮期,強制縮減高風險廠區曝險上限 (0.45) 並保留現金流抗擊尾端災難 0.0895 0.0272 0.0191 0.8642
@@ -0,0 +1,256 @@
{
"manifest_id": "thesis_petrochemical_v2_20261120",
"domain": "Pure Taiwan Petrochemical & Specialty Chemical Transformation (Zero Financial Futures Coupling)",
"panel_rows": 1201,
"oos_start_date": "2022-12-23",
"oos_end_date": "2026-11-20",
"thesis_profile": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"scraped_corpus": {
"total_posts": 206,
"total_tw_pushes": 1875,
"region_post_counts": {
"TW": 34,
"CN": 46,
"JP": 33,
"KR": 30,
"US": 63
}
},
"graph_stats": {
"mean_fiedler_lambda2": 0.4854,
"min_fiedler_lambda2": 0.1257,
"mean_forman_ricci": 2.6521,
"top_pagerank_hub": "P04_SEMI_ELECTRONIC_CHEMICALS",
"top_net_te_links": [
{
"source": "CN_Olefin_Overcap",
"target": "KR_NCC_Shutdown",
"net_te_bits": 0.02292
},
{
"source": "P02_COMMODITY_POLYOLEFIN_PVC",
"target": "KR_NCC_Shutdown",
"net_te_bits": 0.01025
},
{
"source": "P03_CPL_NYLON_DECOMMISSION",
"target": "KR_NCC_Shutdown",
"net_te_bits": 0.00899
}
]
},
"season_stats": [
{
"season_state": "Spring_Birth",
"days": 229,
"cond_ann_return_pct": -30.67,
"cond_ann_vol_pct": 15.69,
"self_persistence_pct": 63.42
},
{
"season_state": "Summer_Growth",
"days": 398,
"cond_ann_return_pct": 35.63,
"cond_ann_vol_pct": 14.64,
"self_persistence_pct": 77.38
},
{
"season_state": "Autumn_Harvest",
"days": 222,
"cond_ann_return_pct": 19.49,
"cond_ann_vol_pct": 13.79,
"self_persistence_pct": 67.19
},
{
"season_state": "Winter_Storage",
"days": 351,
"cond_ann_return_pct": -64.7,
"cond_ann_vol_pct": 19.2,
"self_persistence_pct": 75.21
}
],
"markov_matrix": [
[
0.6342,
0.1277,
0.0152,
0.2229
],
[
0.0838,
0.7738,
0.1138,
0.0288
],
[
0.0201,
0.1987,
0.6719,
0.1094
],
[
0.1317,
0.0467,
0.0694,
0.7521
]
],
"ablation_records": [
{
"model_family": "Linear_Ridge",
"gate_condition": "Ungated_Base",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.039797,
"mae": 0.029601,
"spearman_ic": 0.0695,
"pt_z": -0.0752,
"pt_p_value": 0.94,
"net_sharpe": -0.7614,
"sortino_ratio": -0.9909,
"calmar_ratio": -0.1615,
"annual_return_pct": -6.8882,
"max_drawdown_pct": 42.6472,
"cvar_95_daily_pct": -1.6978,
"drawdown_reduction_pct": 0.0,
"cvar95_reduction_pct": 0.0,
"dm_stat_vs_ungated": 0.0,
"dm_p_value": 1.0,
"sharpe_diff_z_vs_ungated": 0.0,
"sharpe_diff_p_value": 1.0
},
{
"model_family": "Linear_Ridge",
"gate_condition": "With_Simon_FailSafe_Gate",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.035842,
"mae": 0.026927,
"spearman_ic": 0.0777,
"pt_z": -0.0752,
"pt_p_value": 0.94,
"net_sharpe": 0.0847,
"sortino_ratio": 0.1209,
"calmar_ratio": 0.1086,
"annual_return_pct": 1.8658,
"max_drawdown_pct": 17.1819,
"cvar_95_daily_pct": -1.0378,
"drawdown_reduction_pct": 59.71,
"cvar95_reduction_pct": 38.87,
"dm_stat_vs_ungated": -3.8108,
"dm_p_value": 0.0001,
"sharpe_diff_z_vs_ungated": 3.6565,
"sharpe_diff_p_value": 0.0003
},
{
"model_family": "Tree_RandomForest",
"gate_condition": "Ungated_Base",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.033014,
"mae": 0.024475,
"spearman_ic": 0.0769,
"pt_z": 1.4874,
"pt_p_value": 0.1369,
"net_sharpe": -0.5037,
"sortino_ratio": -0.6718,
"calmar_ratio": -0.1182,
"annual_return_pct": -4.7155,
"max_drawdown_pct": 39.8919,
"cvar_95_daily_pct": -1.6987,
"drawdown_reduction_pct": 0.0,
"cvar95_reduction_pct": 0.0,
"dm_stat_vs_ungated": 0.0,
"dm_p_value": 1.0,
"sharpe_diff_z_vs_ungated": 0.0,
"sharpe_diff_p_value": 1.0
},
{
"model_family": "Tree_RandomForest",
"gate_condition": "With_Simon_FailSafe_Gate",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.032065,
"mae": 0.023122,
"spearman_ic": 0.0863,
"pt_z": 1.4874,
"pt_p_value": 0.1369,
"net_sharpe": 0.2416,
"sortino_ratio": 0.3486,
"calmar_ratio": 0.1693,
"annual_return_pct": 3.162,
"max_drawdown_pct": 18.6806,
"cvar_95_daily_pct": -1.1765,
"drawdown_reduction_pct": 53.17,
"cvar95_reduction_pct": 30.74,
"dm_stat_vs_ungated": -2.1426,
"dm_p_value": 0.0321,
"sharpe_diff_z_vs_ungated": 3.6663,
"sharpe_diff_p_value": 0.0002
},
{
"model_family": "Boost_GBDT_Stumps",
"gate_condition": "Ungated_Base",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.033449,
"mae": 0.025001,
"spearman_ic": 0.0825,
"pt_z": -0.4009,
"pt_p_value": 0.6885,
"net_sharpe": -0.7934,
"sortino_ratio": -1.0219,
"calmar_ratio": -0.1773,
"annual_return_pct": -8.2743,
"max_drawdown_pct": 46.6648,
"cvar_95_daily_pct": -1.9061,
"drawdown_reduction_pct": 0.0,
"cvar95_reduction_pct": 0.0,
"dm_stat_vs_ungated": 0.0,
"dm_p_value": 1.0,
"sharpe_diff_z_vs_ungated": 0.0,
"sharpe_diff_p_value": 1.0
},
{
"model_family": "Boost_GBDT_Stumps",
"gate_condition": "With_Simon_FailSafe_Gate",
"profile_subtitle": "Profile=track_b_petro_supply_chain_5bps_db10 | Cost=5.0bps | Rf=1.50% | Ann=250d | Deadband=0.10",
"n_oos": 1020,
"rmse": 0.032036,
"mae": 0.023364,
"spearman_ic": 0.0974,
"pt_z": -0.4009,
"pt_p_value": 0.6885,
"net_sharpe": 0.0913,
"sortino_ratio": 0.1297,
"calmar_ratio": 0.0966,
"annual_return_pct": 1.9273,
"max_drawdown_pct": 19.9556,
"cvar_95_daily_pct": -1.1853,
"drawdown_reduction_pct": 57.24,
"cvar95_reduction_pct": 37.82,
"dm_stat_vs_ungated": -2.3451,
"dm_p_value": 0.019,
"sharpe_diff_z_vs_ungated": 3.7723,
"sharpe_diff_p_value": 0.0002
}
],
"figures": [
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_b_thesis/figures/track_b_fig01_simon_dsr_bom_stress_propagation.png",
"bytes": 1471990
},
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_b_thesis/figures/track_b_fig02_petrochem_graph_connectivity_and_mst.png",
"bytes": 1537888
},
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_b_thesis/figures/track_b_fig03_laozi_four_seasons_and_transformation.png",
"bytes": 2151390
},
{
"path": "/Users/ancel/Desktop/project/eco_analyse/report/track_b_thesis/figures/track_b_fig04_2x3_orthogonal_ablation_results.png",
"bytes": 383318
}
]
}
@@ -0,0 +1,115 @@
# 【軟體與 AI 開發標準工作日誌】2026-11-21
> **本記錄日期**:2026-11-21
> **本記錄時間**:2026-11-21 21:35:00
> **填寫人**:Ancel / AI 量化與架構協作代理人
> **當前專案 / 里程碑**:四層式雙軌架構重塑(資管論文 Track B × 股市總經實戰 Track A)、PostgreSQL(`120.0.0.1`)/ Airflow / dbt 規劃與標準範本擴充(`F10`)
> **同步位置**:`README_exe_commend/report/work_record/work_record_20261121.md` 及 `report/work_record/work_record_20261121.md`
---
## 第一部分:資源投入與變更範圍
### 開發時間投入估算
- **純軟體邏輯開發**:[ 1.5 ] 小時(實作 `src/infra/`、`src/orchestration/`、`src/adapters/`、`src/evaluators/` 與 `F10` 已知解析解單元測試)
- **AI 實驗與測試**:[ 0.8 ] 小時(遞迴 AST Docstring Linter 升級、離線無 `scipy`/`PyYAML` 環境驗證)
- **架構對齊與文件編撰**:[ 1.0 ] 小時(補齊 `README_Standard_Template`、`F10_*.feature`、DBB 映射表與雙軌整合使用說明)
### 系統與 API 資源消耗
- **今日使用的推論 Token 總量估算**:約 60K – 90K Tokens(計畫模式對齊、架構程式碼生成與測試驗證)
- **主要呼叫的模型版本**:Antigravity Planning & Execution Agents
### 檔案與模組變更清單
- **新增檔案**:
- `README_exe_commend/features/F10_dual_track_architecture_and_data_pipeline.feature`、`F11_centralized_evaluators_and_dual_track_proposal.feature` & `F12_track_a_probability_points_and_ev_forecast.feature`
- `README_exe_commend/report/work_record/work_record_20261121.md` 及 `report/work_record/work_record_20261121.md`
- `data/supply_chain_ontology/bom_process_georisk_seed.*`、`mis_thesis_4industry_bom_ontology.*` 與純塑化獨立版 `tw_petrochemical_bom_georisk_ontology.*`、`tw_petrochemical_5country_corpus_and_statements.json`、`tw_petrochemical_daily_panel_2022_202611.csv`
- `data/manifests/thesis_v1_20261120.json`、`data/manifests/thesis_petrochemical_v2_20261120.json`、`data/pg_sync_cache/README.md`
- `src/infra/__init__.py`、`src/infra/postgres_warehouse.py`
- `src/orchestration/__init__.py`、`src/orchestration/pipeline_registry.py`、`airflow_dags/*`、`dbt_eco_analyse/*`
- `src/adapters/__init__.py`、`src/adapters/panel_and_bom_adapter.py`
- `src/evaluators/__init__.py`、`single_source_metrics.py`、`profiles_catalog.py`、`sharpe_and_risk_suite.py`、`probability_and_ev_suite.py`、`thesis_ablation_suite.py`
- `src/tracks/__init__.py`、`track_a_market/sharpe_benchmark_runner.py`、`track_a_market/tw_market_target_adapter.py`、`track_a_market/daily_prob_point_ev_forecaster.py`、`track_a_market/track_a_daily_forecast_runner.py`、`track_b_mis_thesis/petrochemical_graph_laozi_engine.py`、`track_b_mis_thesis/dr_simon_dsr_proposal_runner.py`
- `report/track_a_market/*`(同步至 `README_exe_commend/report/track_a_market/`)
- `report/track_b_thesis/*`(含 4 張純塑化圖表與完整提案書,同步至 `README_exe_commend/report/track_b_thesis/`)
- **修改檔案**:
- `README_Standard_Template/README.md`、`DBB_Pre_Moreem_template.md`、`work_record_template.md`
- `README_exe_commend/README.md`(更新完整展開目錄樹、PostgreSQL `120.0.0.1`/Airflow/dbt 使用說明與雙軌指令)
- `README_exe_commend/report/DBB/DBB_Pre_Moreem_20261120.md` 及 `report/DBB/DBB_Pre_Moreem_20261120.md`(涵蓋 F01–F11 與 AC 驗收矩陣)
- `src/test_bdd_scenarios.py`(升級 `SRC_DIR.rglob("*.py")` 遞迴 AST Linter 並新增 `TestF10` 與 `TestF11`)
- **刪除 / 棄用檔案**:無(`src/phase1..phase8.py` 與既有 `report/forcecast/` 原地保留凍結不動)
- **Git PR 或 Commit 參考**:奠基於本地 `HEAD` commit `e0a5022` 進行雙軌實作延伸
- **對應 BDD 中 Feature 的檔案名稱與 Scenario 概述及對應編號**:
- `F10_dual_track_architecture_and_data_pipeline.feature`:唯一評估器解析解、BOM 混頻轉接、PostgreSQL (`120.0.0.1`)/Airflow/dbt 契約與斷線/快照防飄移 Pre-mortem。
- `F11_centralized_evaluators_and_dual_track_proposal.feature`:集中化 `src/evaluators/` 跨成本/Deadband 重測、支線 A 淨夏普與 Sortino 基準、以及支線 B **完全解耦支線 A 之純台灣塑化產業**提案包(Herbert Simon 《人工科學》× 老子第 1/40/42 章與四時 × 12 節點圖論連通性圖譜 × 美中韓日台論壇語料與 2×3 消融)。
---
## 第二部分:今日碰到的問題點 (Problem - 5W1H)
### 問題一:PostgreSQL (`120.0.0.1`)、Airflow 與 dbt 應否置於 `data/` 目錄下?且如何防範雙軌相互污染與憑證洩漏?
- **Who (關聯對象)**:資料工程管線、支線 A(股市預測)與支線 B(資管論文)。
- **What (具體現象)**:若將 Airflow DAG 或資料庫相關程式塞進 `data/`,將違反 `README_Standard_Template`「純程式集中 `src/`、資料與文件分離」原則;同時缺乏 `ThesisManifestLock` 會使支線 A 的每日增量行情悄悄改變論文歷史統計值。
- **When (觸發時機)**:規劃導入 Airflow、dbt 與 PostgreSQL (`120.0.0.1`) 並整合雙軌架構時。
- **Where (發生節點)**:`data/` 與 `src/` 職責邊界、以及環境執行時期的外部依賴差異(測試環境無 `scipy`、`PyYAML` 與 live DB)。
- **Why (根本原因)**:資料庫服務、執行編排程式與靜態資料湖屬於不同關注點;此外開發與單元測試環境不應強制依賴重型套件或 live 遠端資料庫。
- **How (嚴重程度)**:**L2 / L3** — 架構切割不清會造成後續論文重現性危機與敏感密碼外洩風險。
---
## 第三部分:解決的方法 (Solution - 5W1H)
### 解法一:確立「服務外掛、執行碼入 `src/`、靜態種子與鏡像進 `data/`」及純標準庫零依賴降級設計
- **Who (協作對象)**:架構規劃與執行代理協作完成。
- **What (核心邏輯)**:
1. 資料庫程式與 SQL 模型置於 `src/infra/` 與 `src/orchestration/`,密碼強制走 `ECO_PG_*` 環境變數且 DSN 預設遮罩;`data/` 僅保留靜態檔、`supply_chain_ontology/` 種子、`pg_sync_cache/` 離線鏡像與 `manifests/thesis_v1_20261120.json` 快照鎖。
2. 在 `single_source_metrics.py` 以 `math.erf` 與變換積分版複合辛普森公式取代 `scipy.stats`,於 `pipeline_registry.py` 以純 Python 標準庫解析驗證 dbt 契約取代 `PyYAML`,並保留 Airflow 惰性匯入降級設計。
- **When (生效階段)**:已完成實作並通過全套離線單元測試。
- **Where (變更範圍)**:`src/infra/`、`src/orchestration/`、`src/adapters/`、`src/evaluators/`、`data/` 與 `README_*`。
- **Why (決策考量)**:確保「單一真值、雙軌防飄移、零密碼入庫、離線 100% 可測」,並完全相容既有 `phase1..8` 基準。
- **How (驗證方式)**:執行 `python3 src/test_bdd_scenarios.py -v` 通過遞迴 AST Linter 與 `F01–F10` 全數 22 項單元與契約測試。
---
## 第四部分:AI 開發特化紀錄 (Prompts & Optimizations)
### 核心 Prompt 紀錄
- **今日關鍵指令摘要**:納入 Apache Airflow + dbt + PostgreSQL (`120.0.0.1`) 規劃,全面重新檢視與修訂四層式雙軌架構、更新 `README_Standard_Template` 的 2.2 單元測試/驗收標準與缺漏條款,並完成 `F10` 骨架、使用說明與測試腳本。
- **Prompt 搭配的參數設定**:Plan & Execute 雙模型架構協作,嚴格遵守 AST Linter 與環境無外部重型套件驗證。
### 潛在改善點與未來優化方向
- **架構與程式碼**:後續進入下一步實作時,可先由 `src/tracks/track_a_market/` 引用 `FinancialSingleSourceEvaluator` 重新完成您要重做的夏普比率與 `Deadband` 測試,再將 `phase5/8` 數學核心逐一抽入 `src/core/` 並為 `track_b_mis_thesis/` 建立論文第四章消融管線。
- **AI 產出品質**:於實作階段先測試本機環境套件清單(即時發現缺乏 `scipy` 與 `PyYAML`),有效避免過度依賴第三方套件造成的環境脆弱性。
---
## 第五部分:單元測試、BDD 驗收標準與資料管線(DB / Airflow / dbt)驗證紀錄
- **單元測試與 BDD 驗收摘要**:
- 執行指令:`python3 /Users/ancel/Desktop/project/eco_analyse/src/test_bdd_scenarios.py -v`
- 總測試數與通過狀態:**`Ran 24 tests ... OK`**(F01–F11 全數正例、L3 Pre-mortem、支線 A/B 集中評價實證與遞迴 AST 檢查皆通過;`phase1..phase8.py` 維持 0 變更)。
- AST 9 欄位 Docstring 遞迴檢查(`src/**/*.py`):涵蓋所有 `phase1..8`、`infra/`、`orchestration/`、`adapters/`、`evaluators/`、`tracks/` 與 `test_bdd_scenarios.py`。
- 新增「已知解析解」與雙軌消融單元測試項目:
- `F10`:5 日手算全樣本 Sortino/Deadband/PT/DM、BOM 投射與混合圖、`120.0.0.1` 斷線降級及快照雜湊防飄移。
- `F11`:`EvaluationProfileCatalog` & `SharpeAndRiskEvaluationSuite` DSR/Memmel 檢定、支線 A 淨夏普/Sortino 勝過無閘門與買進持有、支線 B 五國真實塑化語料爬取(206 篇五國帖文 + 1,875 則台灣 PTT 推噓評論,零 `南亞科`/`東南亞` 誤判)、2×3 消融(Linear/Tree/GBDT 皆見顯著回撤與 CVaR95 降幅)、提案包圖檔魔數與無效輸入防呆。
- `F12`(2026-11-22 擴充):支線 A 集中化機率校準(Brier/BSS/LogLoss/ECE/AUC-ROC/Pinball/CRPS/Omega/Profit Factor/半凱利與微台期 10 元/點期望值)解析解,並整合三層次微結構輸出 `TAIEX_Spot`、`TX_TMF_Futures` 與 `TW_TopWeights_TE_2330` 跨 `1d/5d/15d` 三尺度戰情報告與 `track_a_fig03/04` 圖檔。
- `F13`(2026-11-22 擴充):支線 A 早上 07:00 前美台科技權值關係鏈傳導(`track_a_us_tw_tech_supply_chain_seed.json`)、五大隔夜事件詞庫(訂單/資本/評級/禁令/技術)、貝氏 Log-Odds 盤前融合及標準化對戰介面 `battle_dashboard_latest.json` / `get_battle_dashboard_payload()`。
- 對應 BDD Feature & Scenario IDs:`F01`–`F13`(合計 30 項測試方法)。
- 測試案例存放位置:`src/test_bdd_scenarios.py`、`README_exe_commend/features/F01~F11_*.feature`。
- **五國真實塑化語料爬蟲與 NLP / HITS 實證補充(2026-11-21 晚間補齊)**:
- 新增 `src/tracks/track_b_mis_thesis/petrochemical_corpus_scraper.py`:針對台灣 PTT (`Stock`/`Tech_Job`/`Gossiping`)、中國(東方財富股吧+簡中新聞 RSS)、日本(Yahoo JP 株式掲示板+日文新聞 RSS)、韓國(Naver+韓文新聞 RSS)、美國(Seeking Alpha `DOW`/`LYB`/`WLK` + Reddit +英文新聞 RSS)執行實網採集,存入 `data/corpus/petrochemical_5country/`(含 `petrochemical_5country_all_posts.csv` 206 篇、`tw_ptt_petrochemical_pushes.csv` 1,875 則、`petrochemical_keyword_frequency_table.csv` 與 `petrochemical_corpus_nlp_hits_summary.json`)。
- 整合 `PetrochemicalSupplyChainPanelBuilder.sync_empirical_corpus_summary()`、圖 3 Panel B 與 `00_MIS_DSR_Proposal_Herbert_Simon_Artifact_Report.md` 第四章真實詞頻與原文/推文節錄實證,並以 `thesis_petrochemical_v2_20261120.json` 鎖定 `source_corpus_summary_sha256` 與 1,200 日基準研究面板。
- **資料工程管線與資料庫(PostgreSQL `120.0.0.1` / Airflow / dbt)狀態紀錄**:
- 倉儲連線/降級模式:契約驗證透過離線模式(`offline_fallback`)與注入探測函式完成驗證,無需硬性連線外部 `120.0.0.1` 主機;預設指向 `120.0.0.1:5432`。
- dbt Schema & Data Quality Tests:`schema.yml` 已設定 `trade_date` 之 `unique` / `not_null` 與 `mart_dual_axis_features.sql` `13:30:00` 因果截斷。
- Airflow DAG 冪等性與排程檢查:5 節點有向無環拓樸與 `ON CONFLICT DO UPDATE` 冪等鍵契約通過 `AirflowDbtPipelineValidator` 驗證。
- 論文快照鎖(Manifest Lock)雜湊核對:`data/manifests/thesis_v1_20261120.json` 鎖定 `phase5_daily_features`(`1,251` 列)、`merged_daily_market_features`(`1,251` 列)與 `taiex_spot_full`(`3,886` 列)切片 SHA256。
@@ -0,0 +1,34 @@
# 【軟體與 AI 開發標準工作日誌】2026-11-22
> **本記錄日期**:2026-11-22
> **本記錄時間**:2026-11-22 20:46:00(台北時間 UTC+8)
> **填寫人**:Ancel / AI 量化與架構協作代理人
> **當前專案 / 里程碑**:`track_a_market` 三層次本土微結構、機率校準與期望值引擎(`F12`)、美台權值關係鏈與 07:00 Battle Dashboard 自動更新介面(`F13`)
> **同步位置**:`README_exe_commend/report/work_record/work_record_20261122.md` 及 `report/work_record/work_record_20261122.md`
---
## 第一部分:截至台灣時間 `2026/11/22 20:46` 之調整說明總覽
本日所有變更嚴格鎖定於 **支線 A(`track_a_market`:台灣加權指數、臺指期/微型臺指期 TMF 及台灣大權值股代理 TE/2330)** 與集中化評價層 `src/evaluators/`,完全不更動 `track_b_mis_thesis` 及論文凍結快照:
1. **補齊「單一市場機率、條件點數與微台期期望值」集中公式模組(`F12`)**:
- 新增 [probability_and_ev_suite.py](file:///Users/ancel/Desktop/project/eco_analyse/src/evaluators/probability_and_ev_suite.py),以標準化 Python 公式集中實作 `Brier Score / BSS`、`Log-Loss / ECE`、`AUC-ROC / MCC`、`Pinball / CRPS`、`Omega Ratio / Profit Factor / Payoff Ratio`,以及微型臺指期每點 `10` 元新臺幣之淨期望值與半凱利部位比例。
- 新增 [tw_market_target_adapter.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/tw_market_target_adapter.py)、[daily_prob_point_ev_forecaster.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/daily_prob_point_ev_forecaster.py) 及 [track_a_daily_forecast_runner.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/track_a_daily_forecast_runner.py),整合「跨時區美日半導體、大權值股相對強弱、小台/微台散戶逆向籌碼」三層次微結構,產出 `1d / 5d / 15d` 三尺度預報與圖表 `track_a_fig03/04`。
2. **建置「美台科技權值關係鏈 × 早上 07:00 前隔夜美股融合 × Battle Dashboard」對戰介面(`F13`)**:
- 新增支線 A 專用關係鏈種子檔 [track_a_us_tw_tech_supply_chain_seed.json](file:///Users/ancel/Desktop/project/eco_analyse/data/market_data/tw/track_a_us_tw_tech_supply_chain_seed.json) 與事件引擎 [us_tw_supply_chain_event_engine.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/us_tw_supply_chain_event_engine.py),定義美股客戶/ADR(`TSM`, `NVDA`, `AAPL`, `AMD`, `AVGO`, `QCOM`, `ASML`, `MSFT`, `META`, `GOOGL`, `AMZN`, `MU`, `ASX`)向台積電 2330、AI 伺服器 ODM、聯發科與封測權值群之有向傳導權重及五大企業事件詞庫(訂單產能、資本增減、評級財測、關稅禁令、技術合作)。
- 新增盤前融合引擎 [premarket_0700_overnight_updater.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/premarket_0700_overnight_updater.py) 與對戰介面 [battle_dashboard_interface.py](file:///Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/battle_dashboard_interface.py)。
3. **對戰執行自動更新升級(`2026-11-22 20:46` 最終調整)**:
- 將 `battle_dashboard_interface.py`、`get_battle_dashboard_payload()` 及 `Premarket0700OvernightUpdater` 預設切換為 **`fetch_live_us=True`(自動執行 `--fetch-live`)與 `auto_refresh_base=True`(自動先更新基底預測)**,並在首檔外部報價連線受阻時啟動快速斷路備援,確保外部平台無論執行 `python3 /Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/battle_dashboard_interface.py --fetch-live` 或直接匯入呼叫皆可自動完成完整更新並輸出最新 [battle_dashboard_latest.json](file:///Users/ancel/Desktop/project/eco_analyse/report/track_a_market/battle_dashboard_latest.json)。
---
## 第二部分:測試與驗證紀錄(截至 `2026-11-22 20:46`)
- **執行指令**:
- `python3 /Users/ancel/Desktop/project/eco_analyse/src/tracks/track_a_market/battle_dashboard_interface.py --fetch-live`
- `python3 /Users/ancel/Desktop/project/eco_analyse/src/test_bdd_scenarios.py -v`
- **測試結果**:全專案 `F01–F13` 共 **`30` 項單元測試與 AST 9 欄位 Docstring Linter 100% 通過**(`OK`)。
- **實證消融對比(`1,045` 個樣本外交易日)**:導入早上 `07:00` 前美台科技關係鏈融合後,`TAIEX_Spot` 之方向命中率由 `54.64%` 提升至 `58.09%`、AUC-ROC 由 `0.4881` 提升至 `0.5740`、全樣本 Sortino 由 `0.770` 提升至 `2.010`;`TX_TMF_Futures` 之微台期 Net Sharpe 由 `0.839` 提升至 `1.738`、全樣本 Sortino 由 `1.200` 提升至 `2.836`。