End-to-end pipeline for the crypto paper account: 24/7 detection every 15 minutes → 5-condition signal match → automated entry/exit → trade log → email alert → Trade Crypto & Crypto Account pages. Built and validated 2026-10-03, live since the same day.
journalctl -u dip-swing-crypto).| Method | Path | Used by | Returns |
|---|---|---|---|
| GET | /api/admin/crypto_signals | Trade Crypto | All 55 pairs' current condition state (25 live + 30 signal-only), trade log, account snapshot |
| GET | /api/crypto/account | Crypto Account | Equity, cash, buying power, day P&L, open positions, max slots |
| GET | /api/crypto/equity_history | Crypto Account | Daily equity snapshots for the chart |
| GET | /api/crypto/real_return | Crypto Account | Today/Yesterday/Week/Month real % return vs. $10K starting capital |
| GET | /api/crypto/refresh | Crypto Account "Sync" button | Drift-check: broker positions vs. local trade log, fixes mismatches |
| POST | /api/crypto/close | Crypto Account "Close" button | Manual market sell of one open position |
| POST | /api/crypto/overrule | Crypto Account "Overrule" toggle | Holds a position back from the automated RSI exit |