⬅ Admin Dashboard System Data Flow Diagram 🔑 Admin Only
Signal / Data
Market Data
PC Automation
Web / GitHub
Auth / Payments
Brokerage / Trade
External
Sources
🎼 Composer.trade
Investment Model API
6 models tracked daily
Pro: Calm Growth · Ultimate: High Interest
3:50 PM ET daily
📈 yfinance
QQQ / SPY / DIA
daily OHLCV
free API
📰 News RSS
WSJ · Yahoo Finance · Barron's
market headlines
free feeds
My PC
Automation
⏰ Windows Task Scheduler
composer_pull
_allocation.py
Pulls Composer API (6 models)
Writes index2.html + all index_*.html
Writes stable JSON files
Rebuilds CurrentWatchSymphony.html
3:51 PM
archive_pages.py
Archives 6 pages daily
→ BackLog/ folder
Rebuilds BackLog/index.html
3:51 PM
update_accuracy.py
Injects PRICE_DATA
→ Algorithm185History.html
3:51 PM
update_performance.py
Injects PERFORMANCE_DATA
→ Algorithm185History.html
3:51 PM
rsi_tracker.py
Fetches SPY RSI-14
Appends rsi_history.csv
Triggers RSI override if >76
3:51 PM
schwab_rebalance.py
Reads rebalance_config.json
Loads stable JSON allocation
Auto-executes Schwab trades
3:54 PM
ibkr_trader.py
Reads index2.html
Auto-trades Calm Growth Model
Account U25734106 via TWS
3:55 PM
morning_preview.py
Pre-market RSI + signal preview
→ Algorithm185History.html
10:00 AM
🤖 Claude / Cowork Scheduled Tasks
market_report.py
Market Weather score + top news
WSJ / Yahoo / Barron's RSS
Writes marketDailySummary.html + git push
3:55 PM
ibkr-daily-rebalance
Disabled 2026-06-01
Duplicate of Windows IBKR task
(Windows is sole owner)
disabled
GitHub
Pages
🌐 bleeanalytics.com (GitHub Pages)
index.html
Home / Landing · Public
user_bar.js (shows tier badge)
⭐ index2.html
Daily Signal · Calm Growth Model
Portfolio chart · Holdings table
Basic+
Algorithm185
History.html
3-yr Backtest
Accuracy Stats
Public
marketDaily
Summary.html
Market Weather Forecast
Daily Digest
Free+
performance1.html
Portfolio Returns
Chart View
account_pro.html
account_ultimate.html
account_starter.html
Subscriber account pages
Per-tier: models, BLEETrader, guides
Pro / Ultimate
client/index.html
BLEETrader download page
Windows + macOS
SETUP_WINDOWS.html guide
Pro+
BackLog/index.html
Archive index · Daily history
Signal + Forecast + Model pages
Basic+
CurrentWatchSymphony.html
All 6 models: value, return%
Holdings · Donut charts
Admin
login.html
subscribe.html
admin.html
Auth · Stripe billing · Admin panel
Auth &
Payments
🔥 Firebase Auth
Email/Password + Google OAuth
Firestore: user tier tracking
free / basic / pro / ultimate / admin
💳 Stripe
Pro · Ultimate tiers
Hosted billing portal
Local Trading Apps — PC / Mac
Local
Trading
🖥️ IBKR Auto-Trade (Windows)
TWS Desktop App
Port 7496
Account U25734106
run_ibkr.bat
3:55 PM ET
💻 Schwab Trader Web App — Admin (trader_ui.py :5050)
trader_ui.py
Flask app :5050 · trader_ui.bat
Buy/Sell + Compute Rebalance
Fetches live alloc from bleeanalytics.com
Dropdown from CurrentWatchSymphony.html
Schwab API
OAuth · Account + Holdings
Buy/Sell · Auto-rebalance
schwab_rebalance.py 3:54 PM ET
📦 BLEETrader — Subscriber Desktop App
trader_client.py
Flask app :5060
Pro/Ultimate subscriber install
Windows + macOS · run.bat
Pro+
Schwab API
OAuth per subscriber
Reads allocation from
bleeanalytics.com (live)
Brokerages
🏦 Interactive Brokers
Account U25734106
Auto-executed at 3:55 PM
auto
🏦 Charles Schwab
Auto-rebalance 3:54 PM ET
+ Manual via BLEETrader (subscriber)
+ Admin via trader_ui.py
auto + manual
Users
👤 Free Visitors
Public pages
Home · Backtest · Market Summary
⭐ Basic Members
Daily Signal · BackLog archive
Market Forecast
Basic
🚀 Pro Subscribers
Calm Growth Model
BLEETrader app download
Account page
Pro
💎 Ultimate Subscribers
Both investment models
Calm Growth + High Interest
BLEETrader + full access
Ultimate
🔑 Admin — Kei
admin.html · all pages
Manage users, tiers, symphonies
Admin
Auto-updates 3:51 PM ET daily (Windows) · Market Weather 3:55 PM ET (Cowork) · bleeanalytics.com · All times Eastern

📋 Changelog — Update as features are added

DateVerDescription
2026-05-17 v1.0 Initial diagram. Composer API → PC automation (4 scripts) → GitHub Pages (6 pages) → Firebase/Stripe → IBKR auto-trade → Schwab Trader → brokerages → users.
2026-05-17 v1.1 Rebuilt with Mermaid.js for arrow alignment (result was too cramped).
2026-05-17 v1.2 Restored v1 row layout. Replaced manual arrow divs with JS-computed SVG arrows that draw precisely from box edge to box edge.
2026-05-17 v1.3 Added to website (bleeanalytics.com/data_flow_diagram.html). Protected with Firebase admin-only auth guard. Linked from admin.html. Added to daily git push via run_signal.bat.
2026-05-23 v2.0 Major update: added schwab_rebalance.py (3:54 PM auto-trade), archive_pages.py (daily BackLog archiving), rsi_tracker.py (RSI-14 history + override). New pages: account_pro, account_ultimate, account_starter, client/index.html (BLEETrader download), BackLog/index.html, CurrentWatchSymphony.html (admin). BLEETrader subscriber desktop app (trader_client.py :5060). Removed planned "Import from Composer" node (replaced by live bleeanalytics.com fetch). Tiers updated: free/basic/pro/ultimate/admin. Symphony renamed Investment Model on all public pages. Schwab Trader dropdown now fetches live from CurrentWatchSymphony.html.
2026-06-01 v2.1 Added Claude / Cowork Scheduled Tasks group: market_report.py (3:55 PM — Market Weather score + WSJ/Yahoo/Barron's news → marketDailySummary.html). Disabled the duplicate Cowork "ibkr-daily-rebalance" task (was 3:58 PM) — Windows Task Scheduler is now sole owner of IBKR auto-trading on U25734106. Added News RSS source node + morning_preview.py (10:00 AM). Removed the dead "Import from Composer" (n-import) arrow left over from v2.0. Synced rebalance_config.json reference (budget $32,500 · composer_allocations_185.json).