Market decision system
Context, risk and execution — one operating view.
Read the market regime first, then leadership, candidates and paper execution in a single decision path.
Market regime
Loading...
Waiting for the latest market-stage scan.
Long gate--
Lead context--
Context score--
High-score leaders--
Active contexts--
Scan rows--
Leadership by context
Latest completed scanner view| Rank | Context | Status | Score | Stage 2 | Leaders | Strength |
|---|---|---|---|---|---|---|
| Loading leadership... | ||||||
Top stock signals
Loading the latest completed leadership scan.| Ticker | Name | Context | Signal | Price | Change | 20D trend | RS | Score | Stage |
|---|---|---|---|---|---|---|---|---|---|
| Loading signals... | |||||||||
Regime-Aware Leadership Layer
Context leadership map
Loading current context leadership from the scanner cache...
Waiting for data
Active contexts--
Context types--
High-score leaders--
Risk layer--
Lead Context
--
Context Score
--
Active Leaders
--
Scan Rows
--
Portfolio Regime
--Market stage
S1S2S3S4
Loading...
Waiting for market-stage and context leadership data.
Long Gate
Context Rotation
Bear Defense
Context Regime Map
Updates after scanner refreshNo context data loaded.
Context Leaders & Interactive Chart
Grouped by context and risk tier. Click a ticker chip to load chart. Double-click to open modal.🎯 Paper Strategy Targets & Decisions
Execution queue
Holding / 持股中
Swing Watch / 波段觀察
Day Watch / 日內觀察
Waiting for a completed Paper Trade execution cycle.
Execution queue / submitted entries
0
No submitted entries in the latest completed Paper Trade cycle.
💼 Active Holdings / 持股中
0
No active holdings.
⏳ Swing Trade Watch / 波段交易觀察
Checking route...
0
No swing decisions in the latest completed Paper Trade cycle.
⚡ Day Trade Watch / 日內交易觀察
Checking route...
0
No day-trade decisions in the latest completed Paper Trade cycle.
Paper Decision Queue
Latest completed execution-cycle decisions with classification context.
Waiting for watch candidates...
No leaders loaded.
Select a Ticker
🔍 Click a ticker chip to load chart
Market Regime
REG
Loading...
Waiting for current market-stage scan.
Long Gate
Rotation
Defense
Tape Leader
--
No sector or industry leadership loaded.
Source: scanner cache
Updated: --
Strongest Sector--
Strongest Industry--
Weakest Group--
Leader Quality--
Context Market Breadth
Participation across the current leadership universe, not exchange advance/decline data.Stage 2 participation--
Near 52W high--
High relative strength--
Active leadership--
Context Regime Map
Relative strength, stage participation, and leader quality by context.Loading context map...
Leadership Rotation Compass
Waiting for sector and industry leadership evidence.
Method: relative leadership strength + momentum change
Source: scanner cache
Loading leadership rotation...
Sector / Industry Heatmap
Ranked by leadership strength, breadth, and price action.Loading market map...
Strength Ranking
Top and weak groups from the latest scan.Loading ranking...
Industry Strength Score
Top ranked industries after breadth and momentum scoring.Stage 2 Breadth
Where qualified Stage 2 names are clustering.Industry Detail
Stage 2 count, average move, and candidate tickers.| # | Industry | Strength | Stage 2 | Move / Extension | Status | Tickers |
|---|---|---|---|---|---|---|
| Loading industry detail... | ||||||
Stage 2 research workspace
Watch List
Full leadership pool with separate research readiness. Research checks do not authorize paper entries.
Leadership Research
Paper strategy targets, decisions, and active holdings beside the focused chart workspace.GitHub Market Intel
Latest issue review
Selected Issue
--
Rows
--
Scoring Rows
--
Excluded Rows
--
Selected issue
Loading latest issue...
Open this tab to load the latest GitHub intel.
| Status | Ticker | Theme | Source | Score | Executive Summary | Theme Leadership Fit | Title | Reason |
|---|---|---|---|---|---|---|---|---|
| Open this tab to load archived GitHub intel. | ||||||||
OFR Aggregated NAV / 避險基金申報總資產
長線 / Quarterly Lag
Asset Allocation Consensus | 避險基金資產配置共識
Institutional Exposure Trend | 主動經理人曝光度與槓桿趨勢
No sector allocations loaded.
ℹ️ Data Horizon & Provenance Classification / 數據來源與長中短線分析方法
🟢 中短線 (Tactical / 1-7 Days)
反應極快 / Fast
🟡 中長線 (Strategic / 45-Day Lag)
大鱷基石 / Core
GURU ETF & 13F Holdings (每日代理 / 45天發布滯後)
Source:
Global X Guru ETF 追踪對沖基金巨頭申報的 13F VIP 核心持倉。雖然 SEC 規定的 13F 季度申報存在 45 天的監管發布滯後,但它代表了機構對個股基本面的中長線配置基石,有助於篩選出具備長線大資金托底的 Stage 2 領頭羊股。
Global X Guru ETF 追踪對沖基金巨頭申報的 13F VIP 核心持倉。雖然 SEC 規定的 13F 季度申報存在 45 天的監管發布滯後,但它代表了機構對個股基本面的中長線配置基石,有助於篩選出具備長線大資金托底的 Stage 2 領頭羊股。
🛡️ Tactical Reference & Flowcharts / 避險資金實戰對照指南
70% - 90%
牛市常態持倉
↓
50% - 60%
🟡 中度恐慌線 / 牛市回調極限
↓
30% - 40%
🟠 深度恐慌線 / 系統性危機/中底
↓
< 20%
🔴 終極恐慌線 / 世紀大底/超級熊市
📊 NAAIM Exposure 實戰解讀與操作指引
70% - 90% (正常持倉):
代表主動型基金持股比例維持在健康水準,市場情緒樂觀。此時適合執行常規的 Stage 2 突破策略,尋找具備成交量放大、價格站上均線的優質個股進行做多。
代表主動型基金持股比例維持在健康水準,市場情緒樂觀。此時適合執行常規的 Stage 2 突破策略,尋找具備成交量放大、價格站上均線的優質個股進行做多。
50% - 60% (中度恐慌):
通常出現在牛市正常的中期回調中。主動基金已進行了部分戰術去槓桿。此時應高度關注 EMA21 / SMA50 均線的回踩確認,以及領頭羊股的 Pullback Reclaim (拉回重新站上均線) 的加碼/入場機會。
通常出現在牛市正常的中期回調中。主動基金已進行了部分戰術去槓桿。此時應高度關注 EMA21 / SMA50 均線的回踩確認,以及領頭羊股的 Pullback Reclaim (拉回重新站上均線) 的加碼/入場機會。
30% - 40% (深度恐慌):
伴隨著系統性風險、流動性危機或嚴重的大市中期調整。基金大舉拋售股票。在回測歷史中,此區間往往代表中線底部的醞釀,不宜盲目砍倉,而應開始尋找左側建倉或等待右側突破訊號。
伴隨著系統性風險、流動性危機或嚴重的大市中期調整。基金大舉拋售股票。在回測歷史中,此區間往往代表中線底部的醞釀,不宜盲目砍倉,而應開始尋找左側建倉或等待右側突破訊號。
< 20% (終極恐慌):
世紀大底或超級熊市的最悲觀時刻。機構持股已降至冰點。這代表大盤出現了嚴重的超賣與流動性枯竭,是極具吸引力的長線買入點。一旦 NAAIM 指數在 20% 以下企穩並開始向上翻轉,將提供極高勝率的世紀抄底機會。
世紀大底或超級熊市的最悲觀時刻。機構持股已降至冰點。這代表大盤出現了嚴重的超賣與流動性枯竭,是極具吸引力的長線買入點。一旦 NAAIM 指數在 20% 以下企穩並開始向上翻轉,將提供極高勝率的世紀抄底機會。
Loading strategy details...
🤖 Paper Trading Engine
Stage 2 + RSI + ML GBT + 3-Stage Adaptive Stop Stopped No cycle yet
BT
Stage2 broad-universe validation command
Use FULL_MARKET_TRADABLE for Stage2 research; SP500 is a narrow safety baseline and will under-sample leaders.
python run_backtest.py --universe FULL_MARKET_TRADABLE --years 6 --no-bear-hedge --ignore-legacy-ml-model --stage2-ranker-vintage-dir models/stage2_ranker_walkforward_v6_leader_outperform --stage2-entry-timing-vintage-dir models/stage2_ranker_walkforward_v6_leader_outperform
Total Value
$100,000
Cash
$100,000
Total P&L
$0.00
0.00%
Win Rate
—
0 trades
Open Positions
0
RESEARCH OBSERVER
Stage 2 Day-Trade Shadow Mode
Watches live setups with the locked research model. It never submits orders or changes your production strategy.
NO ORDERS
Waiting for statusLoading the latest VPS shadow cycle...
Latest cycle--
Shadow candidates--
Evaluated--
Timing threshold--
Ledger open--
Ledger closed--
Realized PnL--
Passed this cycle
No completed cycle yet.
Top rejection reasons
No rejection data yet.
Forward gate outcomes
No closed observations yet.
FORWARD SWING TEST
Stage 2 Swing Shadow Mode
Tests the D8 challenger with hypothetical multi-day positions, production exit rules, and 50 bps round-trip cost.
NO ORDERS
Waiting for statusLoading the latest swing shadow cycle...
Open positions--
Closed trades--
Realized P&L--
Unrealized P&L--
Hypothetical positions
No open shadow positions yet.
Recent closed trades
Forward evidence starts after the first exit.
Your portfolio
$--
--
Waiting for Alpaca history...
Loading Alpaca portfolio history...
Stocks Strategy
Open0
Value$0
Unrealized$0
Realized$0
Closed0
Win Rate0%
Crypto Strategy
Open0
Value$0
Unrealized$0
Realized$0
Closed0
Win Rate0%
Current Live Strategy
This is what Paper Trade is actually using now.
Stocks
Entry
Bull: Stage 2 + Leader Stock (RS_Line_12M ≥ 15%) + RSI + ML GBT. Bull Guard: short pullback detected — pause new entries, hold existing. Neutral: stricter filters, 50% allocation. Stage 4 Bear: no longs, bear hedge (PSQ/SH) mode.
Exit
Climax top, hard stop, then 3-Stage Adaptive ATR trail: wide trail, breakeven +1%, then tight ATR trail. Bear hedge default: PSQ, Immediate, 20% size, stop -6%, TP +12%.
Now
Loading stock settings...
Active Multi-Strategy
Portfolio
Loading active config...
Live Approval
Loading
Checking active config...
Sleeves
Loading sleeves...
Crypto
Entry
Simplified momentum model: strongest 30d movers, top 150 by market cap only, live-price sanity check, cooldown after exit, no stock-style ML ranking.
Exit
Simplified risk control: stop loss and take profit only. No ATR trail and not the full stock model.
Now
Loading crypto settings...
Current Day Trade Settings
Settings currently loaded from the active paper portfolio.
Loading current day trade settings...
📂 Open Positions
| Ticker | Type | Qty | Entry | Current | Value | P&L | % | Score | Term | Reason | Entry Strategy | Exit Strategy |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No open positions | ||||||||||||
⚙️ Trading Rules
⚙️ Trading Rules (交易策略設定)
Paper Trade Daily Log
Dedicated Paper Trade event log. One file per New York trading day.
Loading log status...
Strategy approval source
Approved Strategy Source
Optional backtest provenance for the active Paper Trade settings.
No backtest profile approved yet.
Recent logs/report_*.md entries
💰 資金與市場分配管理 (Portfolio & Risk Allocation)
系統會根據大市 Regime 自動調整多頭總配額(Stock Allocation),並對各策略槽位(Playbook Slots)設定上限,防止非核心策略擠佔資金。
Paper Portfolio 起始總資金
同時持有最多股票數量,防止風險集中
Uses each strategy's validated expectancy and existing risk rules; it never relaxes entry gates.
牛市 Regime 下多頭持股資金佔比上限
震盪/不明朗市況下減半多頭上限以防守
弱牛市下多頭持股佔比(回測最佳:55%)
Minervini 突破策略可佔用的最大槽位比率
早期 Stage 2 回踩策略槽位上限(防止過早重倉)
弱牛市中 Stage 2 槽位上限
Stage 1 底部 Mean-reversion 策略槽位上限
Stage 3 逆向 Swing 策略槽位上限
🚀 股票選股與買入規則 (Stock Entry Filters)
設定 Stage 2 核心突破與 pullback 的進場門檻。成交量與價格底部的關係是成功突破的關鍵。
掃描與下單執行的時間間隔
開關股票交易引擎
Stage 1 intraday rebound playbook
15min timing-ML candidate; separate from Stage 2 overnight/daily swing
Stage 3 intraday combo/pullback playbook
Bear-market day-trade overlay; also requires Bear Hedge ON
掃描器對個股 Breakout 綜合評分 >= 此值才買入
突破時的單日成交量必須大於平均量的 N 倍 (回測最佳: 0.8)
股價距離盤整底部的最大百分比,防追高 (Chase)
強制篩選符合 Volatility Contraction Pattern 特徵的個股
強制要求大市處於牛市/早牛市才允許做多
Early Stage 2 (早期吸納設定)
早期吸納時最小成交量比率
要求個股 12 個月相對強度 (RS Score) 門檻
偏離 EMA21 的最大百分比(防偏離過遠)
偏離 SMA50 的最大百分比
選擇交易執行渠道:模擬、實盤同步等
個股掃描與價格監控數據來源
Paper/Live Strategy Config
Only approved or legacy portfolio configs should be selected for broker-synced paper/live trading.
Checking active config...
🛡️ 股票出場與自適應風控 (Stock Exit & Risk Controls)
結合3階段自適應止損保護:包含 Hard Stop (硬性止損)、Fail-Fast (快速保護 - 3日不創高即走)、移動均線追蹤止損 (ATR Trail / Support Trail)、以及 Climax Top (高位噴發鎖利)。
個股 Breakout 評分低於此值即觸發出場
買入後的初始硬性止損 (回測最佳: -7.0%)
硬性設定獲利百分比(設為 0 以停用硬止盈,改由移動均線止損與高位噴發保護鎖利,讓利潤最大化)
🐻 熊市防禦避險 (Bear Hedge - Stage 4)
當大市轉入 Stage 4 Bear (熊市) 狀態時,自動買入反向 ETF (如 PSQ) 或避險黃金 (GLD) 來進行持倉避險。
大市熊市時自動買入避險資產
選擇要買入的反向/避險標的
Immediate (一進熊市即買) | Failed Rally (反彈失敗時買)
避險資產佔總帳戶百分比 (預設 12%)
Failed Rally 時與 SMA50 觸發的間距緩衝
避險資產的最大止損幅度 (預設 -4.0%)
避險資產硬性止盈幅度 (預設 15%)
🔔 階段轉變提示 (Stage Transition Alerts)
當每日掃描發現個股突破 Stage 1 進入 Stage 2 時,自動發送 Discord 提示。
開關 Discord Webhook 提示功能
突破個股評分大於此值才發送提示
每次 Paper/Alpaca BUY 或 SELL 執行後發送 Discord 提示
Discord 伺服器頻道 Webhook 連接
Save settings before running a Discord test.
🔍 Stage 2 篩選器 (Stage 2 Finviz Screener Filter)
用於 Stage 2 突破、選股、以及行業分析嘅共有 Finviz 篩選器規則。
🪙 加密貨幣選股與交易 (Crypto Momentum Strategy)
加密貨幣採用簡化版相對強度動量模型:交易前 150 名市值、近 30 日漲幅最大嘅標的,並配合硬性止損。
加密貨幣策略定時執行頻率
開關加密貨幣自動交易引擎
只在 CoinGecko 前 N 名大市值幣種中做動量篩選
加密貨幣最大初始硬性止損幅度
加密貨幣硬性止盈幅度
加密貨幣實時價格來源
💡 系統提示:所有策略參數、資金分配及避險設定均儲存在 SQLite 中。修改後點擊「儲存設定」即可實時應用於下一次自動交易輪詢或手動執行 (Run Once)。
📡 Live Trading Log
Loading recent logs...Strategy: Regime-Switching Stage 2 Overnight/Daily Swing + Stage 4 Bear Hedge + ML GBT + 3-Stage Adaptive Stop
Press ⚡ Run Once to execute a trading cycle with live logs.
📜 Trade History
| Time | Action | Ticker | Type | Price | Qty | Score | P&L | Strategy / Exit Rule | Reason |
|---|---|---|---|---|---|---|---|---|---|
| No trades yet. Start auto-trading or run once. | |||||||||
🏦 Broker Integration Sync
This tab configures broker connections. Select Alpaca Paper Sync to trade stocks in real-time on your Alpaca paper trading account directly from this dashboard. Define credentials (
ALPACA_API_KEY and ALPACA_SECRET) in your local .env file. For IBKR, paper trading runs via Trader Workstation (TWS) or IB Gateway.
Loading IBKR status...
Loading Alpaca status...
Pending IBKR Order Proposals
| Time | Status | Side | Ticker | Qty | Price | Reason | Action |
|---|---|---|---|---|---|---|---|
| No IBKR order proposals yet. | |||||||
If you want, I can next turn this tab into an IBKR workflow page with login reminders, checklist items, and quick links you use every day.
Database Bounds / 數據庫區間
Loading...
-- MB size
Total Bars Stored / 15分K線總數
--
-- tickers
Daily Context Rows / 日綫候選數
--
Loaded & Ready
Intraday Status / 日內策略狀態
Ready
15m Execution Template
Execution Parameters / 策略參數
Simulation Log Console / 日內執行終端
[System] Ready. Customize parameters and hit 'Run Intraday Backtest' above.
[Note] For multi-year runs, please execute via CLI: 'python run_intraday_backtest.py' to avoid browser memory overhead.