Architecture
Live Market Terminal
Official Connections
Public market data
- Binance — candles and prices through the official public API
- Bybit — V5 public market API
- OKX — V5 public market API
- Kraken — public OHLC API
No private exchange key is required for chart data.
Accounts & prop platforms
- MetaTrader 5 — import broker history with CSV now; local read-only bridge can be added later
- cTrader — official Open API supports OAuth accounts scope for view-only access
- FTMO / The5ers / iTrade / FundedNext — sync through the actual trading platform when API access exists, otherwise use statement import
Private keys should never be pasted into GitHub Pages. Account connections must use OAuth or backend-only read-only credentials.
Trade Calculator
Position Size & R:R
How to use it
- Define invalidation before position size.
- Risk $ = balance × risk %.
- Position size = risk $ / stop distance.
- For a prop challenge, working risk should be well below the firm limit.
- R:R does not replace setup quality.
Prop Account Dashboard & Risk Guard
Live Risk State
Supabase Cloud & Knowledge Base
Login and sync
After sign-in, trades and screenshots sync to Supabase. Screenshots live in a private Storage bucket accessible only to the authenticated user.
Stored data
- trades + screenshot paths
- prop_accounts
- knowledge_documents
- ai_reviews
- alerts
- telegram_events
RLS is enabled on trading tables.
Add to Knowledge Base
Alerts
Price Alert
Risk Alerts
- 50% of personal daily stop — warning
- 80% — critical
- 100% — STOP DAY
- 2 consecutive losses — pause
- approaching Max Loss — Telegram warning
Telegram Trading Bot
Commands
- /status — prop account + drawdown
- /today — today's trades and PNL
- /risk — personal / firm risk room
- /open — open trades
- /review — last-trade review
- /weekly — weekly report
Security & activation
The webhook accepts only the configured Telegram chat. The bot token is never stored in GitHub or browser storage.
AI Analyst
Free now
The Local Risk Analyst requires no API key. It checks PNL, missing entry/exit reasoning, emotional risk and process discipline. It does not generate trading signals.
External models
Groq/OpenAI/Anthropic can be added through backend secrets. ChatGPT and Claude subscriptions are not the same as website API credits.