TRADINGVIEW CLOUD BOT ALPACA IBKR
Account Balance
$
Editable · Paper or Live
Trade Size %
% of account per trade
Trade Size
$10,000
Auto-calculated
R:R Target
SurgeU canonical: 3:1
Daily R
+0.0R
$0 today
CURRENT SETUP ⏺ ARMED
SURGE SCORE
/ 10 · HIGH
ZONE STRUCTURE
/ 5
CONTEXT
/ 3
REWARD : RISK
/ 2
ENTRY
$
Trigger
STOP LOSS
$
−7.6%
TAKE PROFIT
$
+11.5%
RISK
$760
POTENTIAL REWARD
$1,150
R : R
1.51
EXECUTION PIPELINE → END TO END
1
TradingView Alert Fires
SETS Trade indicator triggers webhook
WAITING
2
Cloud Bot Validates
Risk check, position sizing, subscriber permissions
WAITING
3
Bot Calls Broker API
Bracket order — Alpaca REST or IBKR Gateway
WAITING
4
Broker Places Bracket
Live at broker — entry pending, stop+TP armed
WAITING
5
Entry Filled
Position open · broker manages exit legs
WAITING
6
Position Closes
Target hit OR stop hit · P&L settled
WAITING
TRADE LOG · LIVE EVENT FEED 0 events
--:--:-- System ready — press Play to start demo
TECHNOLOGY STACK · BEHIND THE SCENES PRODUCTION-GRADE
1
SIGNAL SOURCE
TradingViewPine Script v6
5 published indicators · server-side alert engine · invite-only distribution
2
TRANSPORT
HTTPS WebhookJSON Payload
Server-side POST · sub-second latency · TLS encrypted
3
VALIDATION + ROUTING
Python 3.11FastAPIRailway
api.kingdomedgealgo.com · 99.9% uptime · per-subscriber webhook URLs
4
BROKERAGE EXECUTION
Interactive Brokersib_async
Bracket orders · entry + stop + 3 take-profit · live or paper
5
SUBSCRIBER PORTAL
Next.js 14VercelSupabaseStripeResend
Magic-link auth · live dashboard · broker OAuth · billing · email notifications
6
COMMUNITY + MARKETING
WordPressDiscordYouTubeClaude RAG Chatbot
kingdomedgealgo.com · #signals-and-education · 5-video demo series · AI Q&A widget
LIVE Currently deployed in production PENDING Implementation in progress (Q2-Q3 2026)
TRADING MODES · YOU CHOOSE THE LEVEL OF AUTOMATION PICK YOUR COMFORT
★ RECOMMENDED FOR SURGEU STUDENTS
👍
Approval Required
Push → confirm → execute
Signal fires → push notification (email/Discord/SMS) → you have 60 seconds to approve or reject → executes or expires. Perfect for learning to trust the system or training new traders.
SIGNALNOTIFYYOUBROKER
★ RECOMMENDED FOR RISK-CONSCIOUS
Hybrid
Risk-tiered approval
Auto-fire if trade risk < $X threshold · require approval for larger size. You set the threshold per account. Best of both worlds — automation on routine trades, human oversight on bigger ones.
SIGNALRISK CHECKAUTO or YOUBROKER
Switch between modes anytime in your subscriber portal · Settings apply per-account · Per-symbol overrides supported
SCHEDULED ROUTINES · AUTOMATED MONITORING SET ONCE · RUN DAILY
06:00 AM PT MON–FRI
Pre-Market Briefing
System health check · today's economic releases · pre-market scoring on watchlist · overnight news scan · yesterday's recap one-liner.
Output → email + saved markdown report
01:30 PM PT MON–FRI
End-of-Day Recap
Today's trades closed · net P&L · net R-multiple · signal accuracy vs. backtest · overnight positions · tomorrow's pre-market setup preview.
Output → email + saved markdown report
FRIDAY 05:00 PM PT WEEKLY
Weekly Performance Review
Week's total R-multiple · win rate vs. backtest expectation · slippage stats · highest/lowest score that fired · insights for next week.
Planned for Q3 2026
EVERY 30 MIN MARKET HRS
Health Watchdog
Pings Cloud Bot for liveness · checks IBKR token validity · alerts immediately on any degradation · auto-posts to Discord #ops channel.
Planned for Q3 2026
TWO PATHS TO FIRST TRADE · BY TIER → FRICTION-AWARE ONBOARDING
~10 MIN TO PAPER RECOMMENDED · CORE / PRO

Alpaca

Beginner-friendly · cloud-native API · same-day to paper trading
  1. 1
    Sign up online 5 min · alpaca.markets · instant Plaid funding
  2. 2
    Generate API key 1 min · paper-only at first · zero risk
  3. 3
    Paste into KingdomEdge portal 1 min · one form field, two values
  4. 4
    Configure SETS Trade alert 3 min · TradingView webhook · auto-populated
  5. 5
    Paper trading active ✓ Watch signals fire end-to-end · methodology-driven
1–3 DAYS TO PAPER ULTIMATE · ADVANCED

Interactive Brokers

Full multi-asset · margin · international · for serious automation
  1. 1
    Apply for IBKR account 15 min form · 1–3 days verification
  2. 2
    Fund the account ACH ~3 business days · $0 minimum
  3. 3
    Install IB Gateway 15 min · local install or KingdomEdge-managed droplet
  4. 4
    OAuth via KingdomEdge portal 5 min · token-based connection
  5. 5
    Configure SETS Trade alert 3 min · TradingView webhook · auto-populated
  6. 6
    Paper trading active ✓ Multi-asset · margin · ready for full automation
PEDAGOGICAL LADDER · BUILD COMPETENCE BEFORE AUTOMATION
CORE · $49
LEARN
All 4 indicators on TradingView · no broker connection · master the methodology first
PRO · $99
PRACTICE
+ Daily Filter screener · Alpaca paper trading recommended · prove the framework
ULTIMATE · $199
MASTER
+ Full automation · Alpaca live OR IBKR multi-asset · graduated trust