TREND TROOPER
Live system diagram · Signal → Execution → Optimization → Business, End to End · click any node
live chart embed
SIGNAL
SIGNAL GENERATION
TradingView
IRONCLAD V4, QVP, SR Breakout, MACD — alerts POST a webhook.
Open TradingView.lnk — 3 monitors
Dev access — tt-ironclad-2026
DATA & BACKTESTING
local
HISTORICAL DATA
Data Sources
yfinance (5m) · IBKR CSVs · raw TradingView WS feed.
admin
OPTIMIZATION
Optimizer Engine
ironclad_profit_hunter.py (was misnamed ironclad_optimizer.py), plus SR & MACD suites — click opens an elevated admin shell.
local
OUTPUT · NOW JSON-DRIVEN
Approved / Watch / Avoid
ironclad_strategy_config.json — bot reads it fresh per signal. No more manual TradingView edits.
CODE
SOURCE CONTROL
GitHub
trendtrooper-site — Astro repo. Push to main triggers Cloudflare Pages deploy.
SHARED INFRASTRUCTURE
Cloudflare
Tunnel exposes the bot at bot.trendtrooper.com. DNS + Pages serve the site. Also the domain registrar — auto-renews $10.46/yr, expires Jan 27, 2027.
EXECUTION
LOCAL EXECUTION
IroncladBot
cyberpunk_bot.py · NSSM service, port 5001. Secret is still hardcoded (rotation deferred by choice) — leak bug patched. Talks to IBKR, logs every signal, notifies Telegram.
Telegram alerts · ironclad_trades_bot
BROKER · PAPER
Interactive Brokers
TWS / IB Gateway · DU8240161 · 127.0.0.1:7497
WEBSITE & SUBSCRIBERS
PUBLIC SITE · CANONICAL
trendtrooper.com
Astro on Cloudflare Pages with a live TradingView chart embed.
BILLING · TEST MODE
Stripe
TrendTrooper Pro $49/mo — test keys only, no real charges yet.
MONTHLY SUBSCRIPTIONS
TradingView active
TSX Real-Time Data (IBKR) active
Claude active
Cloudflare (domain) $10.46/yr
Massive planned
Local execution
Canonical / live
Shared infra
Optimization / billing
Broker
Latest fixes (Aug 29, 2026)
Confirmed the truly-live bot via nssm dump IroncladBot; archived the misleading stale duplicate as _OLD_ironclad-bot
Found ironclad_optimizer.py was two different scripts sharing one filename — split apart, home-root variant renamed to ironclad_profit_hunter.py
Found 3 files named tt_optimizer.py were actually old bot snapshots, not optimizers — renamed to old_bot_snapshot_*
Found & patched a live bug: /webhook leaked the plaintext secret via a malformed-alert error response, no auth required to trigger
Confirmed secret never appeared in the public GitHub repo — clean across all 124 commits
Added Telegram notifications for every trade execution and for order/connection errors
Added ironclad_strategy_config.json — Approved/Watch/Avoid + position sizing now hot-reloaded per signal, no Pine edits or redeploys needed
Earlier fixes (Aug 15, 2026)
Full backup taken before any edits — Desktop\COWORK_BACKUP_2026-08-15\
Status notes added to every duplicate bot/site folder explaining which is canonical
.env secrets backup moved out of continuous OneDrive sync
Domain registrar + auto-renew confirmed: Cloudflare, Inc., $10.46/yr, expires Jan 27, 2027
IBKR Desktop install path confirmed: C:\ntws\ntws.exe
Still open: webhook secret ("crazycooter") is still hardcoded in the live bot — the Aug 15 note above claiming it moved to an env var didn't reflect the actual live file; rotation deferred at Chris's request, do it whenever ready · the client-side-only paywall on trendtrooper.com still needs a server-side fix before real subscribers · TOKEN_SECRET (Stripe token signing) has a hardcoded fallback value in source if its env var is ever unset — worth removing the fallback.
TrendTrooper internal system map — generated by Cowork from a live crawl of cyclone. Not for public distribution (contains internal-only labels).