Elephant Conductor
Live Agent Activity Stream & Morning Alerts
Cross-Repricing Shock Network (Centered on ANT)
Click any node for DossierAnimated shockwaves radiate from ANT into linked AI Silicon, Foundation AI, Hyperscaler backers, and orthogonal Defensive Rotation hedges. Red = repricing down, Green = defensive rotation up.
ANT · Anthropic
Focus Basket Customizer (Honing in on 5–20 Routine Stocks)
Toggle names in/out to keep your desk locked between 5 and 20 deeply understood stocks. Preferences persist in your browser.
| Ticker | Cluster | Last | Gap % | RS vs SPY | 30m Turn | 20d β | Sync % | Lag % | Conv. Score | 5m PM Tape | Repricing State | Policy Gate |
|---|
10 Things That Would Break v1.0 With Real Money — And How GCP Fixes Every One
Red Review Verdict: v1.0 nailed live visual clarity and morning ANT visibility, but would fail in live trading due to 6 P0 and 3 P1 structural flaws. Every invariant below is now codified and unit-tested (6/6 pytest PASS) in our dedicated private agent repository (sme-stock-agents) built natively on Google Cloud Platform.
| ID | Severity | Vulnerability Class | What Breaks in v1.0 | GCP-Flagship v2.0 Fix (sme-stock-agents) |
Status |
|---|---|---|---|---|---|
| RR-01 | P0 · CRIT | GitHub Actions Cron Drift | GH Actions schedule: drifts 5–25 min during 09:00–09:30 ET peaks — useless for an opening-bell ANT flush. |
Cloud Scheduler (±1s SLA) → Pub/Sub → Cloud Run (us-central1) publishing sanitized snapshots to Cloud Storage. |
BLUEPRINTED |
| RR-02 | P0 · CRIT | Zero Premarket Volume | Free yfinance reports 0 extended-hours volume — thin 200-share prints look identical to institutional liquidation. |
Explicit volume_verified hard gate blocks promotion past Shadow until verified SIP/Alpaca/Polygon volume lands in BigQuery. |
UNIT TESTED |
| RR-03 | P0 · CRIT | Magic Multipliers (0.42) |
Static ant_link weights & 0.42 scalar curve-fit today's tape and break when the shock anchor rotates to NVDA or CPI. |
BigQuery + Cloud Run rolling 20d empirical correlation + Bayesian IPO shrinkage + automatic dynamic anchor election. | UNIT TESTED |
| RR-04 | P0 · CRIT | Browser State ≠ State Store | Kill Switch & rules lived in browser RAM / localStorage — page refresh wipes locks and open position accounting. |
Cloud Firestore (Native ACID) transactional state store (kill_switch, orders, daily_pnl) + BigQuery audit log. |
UNIT TESTED |
| RR-05 | P0 · CRIT | IPO Spread Blowup (ANT) |
ANT swung $92.37→$83.47 (10.1% PM range). Naive PM-high stop creates huge 1R & opening-auction gap risk. |
Signal Hound IPO/Vol Collar: auto-collars Day 1–5 IPOs or 1R > 2.5× ATR to WATCH_COLLAR until 09:45 ET range forms. |
UNIT TESTED |
| RR-06 | P0 · CRIT | Cluster Beta Double-Counting | 10 simultaneous AI shorts (ARM, AMD, SMCI, MU, NVDA...) = 10× risk on the exact same ANT factor bet. |
Scale Tortoise + Signal Hound enforce max 1 active slot ($500) per cluster; runner-ups become CAPPED_CLUSTER_DUP. |
UNIT TESTED |
| RR-07 | P1 · HIGH | Stale Feed / Close Mismatch | No hard staleness cutoff; Yahoo fast_info close disagreed with ANT Day-1 RTH close ($92.60 vs $97.17). |
Hard staleness_sec > 120s → REJECT_STALE breaker + official RTH close validation + Cloud Monitoring drift alarm. |
UNIT TESTED |
| RR-08 | P1 · HIGH | News Prompt Injection | Passing raw scraped headlines/filings to an LLM with tool access risks adversarial manipulation of trade direction. | Vertex AI + Model Armor constrained JSON enum output; Radar Owl is strictly read-only with zero execution privileges. | SPECIFIED |
| RR-09 | P1 · HIGH | LLM Latency & Token Burn | Running multi-agent LLM debates on all 18 tickers every 5 min adds 15–40s lag and blows past the $35/mo budget. |
Deterministic Python filters 18 stocks in <200ms ($0); Gemini Enterprise scores only top ≤ 3 candidates (<$4/mo). |
UNIT TESTED |
| RR-10 | P2 · MED | Repo Coupling (Web + Runtime) | Mixing cloud agent backend code inside the static GitHub Pages repo couples public HTML deploys to backend deps. | Decoupled into dedicated private agent repository (sme-stock-agents) publishing only sanitized JSON to /agents/. |
SHIPPED |
100% Google Cloud Native Agentic Stock Trading & Cross-Repricing Platform
Every layer—scheduling, pub/sub event bus, serverless compute, Gemini Enterprise reasoning, ACID transactional state, point-in-time data warehouse, secrets, alerting, and kill-switch SLOs—runs natively on Google Cloud Platform (us-central1) inside a hard $35/month billing cap (projected burn: $4.20–$8.90/mo).
Flagship Google Cloud Service Mapping (All 8 Illustrated Agents + Plumbing)
| Layer | Illustrated Agent | Primary Google Cloud Services | Deterministic / AI Contract |
|---|---|---|---|
| L0 · Orchestration | 🐘 Elephant Conductor | Cloud Run · Google ADK · Cloud Scheduler · Pub/Sub · Secret Manager |
Dispatches ±1s morning DAG (08:00–10:30 ET), manages Context Store, MCP Registry & Cloud Trace audit spans. |
| L1 · Cognitive | 🦉 Radar Owl | Vertex AI / Gemini Enterprise (gemini-4-argon) · Model Armor |
Sandboxed catalyst parsing & Bull/Bear debate on top ≤ 3 deterministic candidates only. Read-only. |
| L1 · Cognitive | 🐙 Repricing Octopus | Cloud Run (Python/NumPy) · BigQuery |
Empirical 20d OLS beta, rolling peer correlation + Bayesian IPO shrinkage, dynamic anchor election & cluster sync. |
| L1 · Cognitive | 🦊 Forge Fox | Cloud Run Jobs · BigQuery (Point-in-Time) |
Containerized walk-forward backtest sandbox, slippage stress tests, CPCV/DSR checks & Graveyard counter. |
| L1 · Cognitive | 🐢 Scale Tortoise | Cloud Run · BigQuery |
1R = |entry − stop| share sizing ($500 max/trade), max 1 slot per correlated cluster, Sharpe/DD frontier. |
| L2 · Plumbing (1)+(2) | 🐕 Signal Hound | Cloud Run (Deterministic Python) · Firestore |
Enforces staleness ≤ 120s, volume_verified gate, IPO vol collar, cluster cap & $1,000 daily loss rail. |
| L2 · Plumbing (3)+(4) | 🦅 Relay Falcon | Cloud Run · Firestore (Native ACID) · Cloud Tasks |
ACID positions/orders/restart ledger, retry/rate-limit queues, locked strictly to SHADOW_PAPER until Gate 4. |
| L2 · Plumbing (5) | 🦏 Sentinel Rhino | Cloud Monitoring · Pub/Sub · Firestore · Cloud Storage |
Atomic Firestore Kill Switch, drawdown/API SLO paging, ANT morning alarms, sanitized GCS snapshot export. |
BigQuery Warehouse (sme_stock_agents) & Firestore ACID
- 6 Partitioned BigQuery Tables:
premarket_bars(point-in-time +volume_verified),convergence_snapshots,agent_proposals,policy_verdicts,shadow_orders_fills, andgraveyard_trials. - Firestore Transactional Collections:
system/kill_switch(atomic breaker impossible for LLMs to unset),config/focus_basket(5–20 tickers + alert thresholds),sessions/{date}/slots(cluster cap enforcement), andorders/{id}. - Zero-Leak & Keyless OIDC: Deployed strictly via GitHub Workload Identity Federation; zero secrets, zero project IDs, and zero raw Cloud Run URLs ever reach public HTML.
GCP Monthly Cost Model (Inside $35/mo Hard Cap)
- Cloud Run + Cloud Run Jobs: Scale-to-zero (
min-instances=0), 512MiB/1vCPU → $0.15–$1.35/mo. - Cloud Scheduler + Pub/Sub: 4–6 weekday pulse jobs + <100k msgs → $0.10–$0.30/mo.
- BigQuery + Cloud Firestore: Partitioned tables & <50k ops/day → $0.00–$0.50/mo (Free Tier).
- Vertex AI / Gemini Enterprise: Deterministic funnel (≤3 tickers × 4 windows × 22d = ~264 calls/mo) → $2.50–$4.50/mo.
- Cloud Storage + Secret Manager + Logging: $0.40–$0.80/mo → Total ~$4.20–$8.90/mo (combined w/ MNQ agent still <$12/mo vs $35 cap).
Phased GCP Rollout & Promotion Gates (Gate 0 → Gate 4)
| Phase | GCP Milestones & Deliverables | Exit Gate / Verification | Status |
|---|---|---|---|
| Phase 0 · Repo, Red Review & Live UI | Dedicated private sme-stock-agents repo, Red-Review-hardened convergence.py + plumbing.py + Cloud Run FastAPI server.py + 6/6 pytest invariants + GCP IaC blueprints + live /agents/ floor |
All Red-Review unit tests PASS; site-guard.yml PASS; $0 new cloud spend until approval |
SHIPPED LIVE |
| Phase 1 · GCP Live Ingestion & Alerts | Deployed scale-to-zero Cloud Run (sme-stock-agents), Cloud Scheduler (*/15 8–10 ET OIDC), Pub/Sub (sme-alerts), Firestore Native (Free Tier), & BigQuery (6 tables + Graveyard seeded). Next: wire verified SIP/Polygon extended-hours volume via Secret Manager. |
Cloud Run / Firestore Kill Switch / BigQuery / Pub/Sub / Scheduler OIDC E2E verified live (2026-11-24); Gate 1 RVOL feed pending | LIVE ON GCP (SHADOW) |
| Phase 2 · Forge Fox Walk-Forward Job | Run pre-registered Cross-Repricing backtest on Cloud Run Jobs against point-in-time BigQuery bars (splits/delisted hygiene & slippage) | Gate 2: OOS Expectancy > +0.15R, Deflated Sharpe PASS, zero lookahead audit | PLANNED |
| Phase 3 · Paper Broker & TradeZella MCP | Wire Relay Falcon to Paper Equity API (09:30–10:15 ET) with Firestore ACID ledger + 16:20 ET TradeZella MCP fill-drift reconciliation | Gate 3: 20 consecutive RTH sessions, zero unhandled errors, fill drift inside tolerance | GATED |
| Phase 4 · Bounded Live Autonomy | Micro-size live risk ($100–$250 1R) with mandatory human morning arming click in Firestore + Cloud Monitoring kill switch | Gate 4: Explicit human sign-off after Phase 3 audit | LOCKED |
Honest Morning Call Scorecard (Hits, Saves & Misses)
| Ticker | 09:25 ET Call | RTH Open | First 35m | Full RTH | Grade | Post-Mortem Note |
|---|
Pre-Registered Walk-Forward Proof: Why 4/4 Naive Rules Went to the Graveyard
Before trusting Friday's tail-event wins, Forge Fox ran 4 pre-registered hypotheses strictly once across 97 real 09:29 ET premarket mornings (IS: Jul 6 – Sep 25 | Blind OOS: Sep 28 – Nov 20, settled 09:35 ET entry, 10 bps slippage, 1R = |entry − stop|, max 1 slot/cluster). Result: Naive gap-chasing loses -0.164R OOS; only H3 Synced Gap Fade was positive in both IS (+0.153R) & OOS (+0.046R, +12.80R combined) — proving RR-02 (verified extended-hours RVOL) is mandatory before Gate 2 promotion.
| Hypothesis | IS Trades / Win% | IS Exp (Sharpe) | Blind OOS Trades / Win% | Blind OOS Exp (PF · Sharpe) | Combined R | Gate 2 Verdict |
|---|
Live 20-Day Empirical Return Correlation Matrix (Core-10 Peers)
2. Bayesian Peer Link (RR-03 Fix): ρ_eff = (n / (n + 20)) · ρ_empirical + (20 / (n + 20)) · ρ_prior
3. Volatility-Scaled Lag: AnchorLag_i = Gap_i − (Gap_Anchor × ρ_eff × clamp(σ_i / σ_Anchor, 0.25, 2.0))
4. Risk Sizing: 1R = |Entry − Stop| (NEVER × opening range) | Max 1 Slot / Cluster ($500) | Time-Stop = 35m