Commit Graph

90 Commits

Author SHA1 Message Date
9c82b49ed9 Feat: Redirect login to /paper instead of /dashboard 2026-03-15 16:51:47 -07:00
b6b0d990d4 Feat: Placeholder live trading dashboard 2026-03-15 16:51:40 -07:00
32341e76b0 Refactor: Redirect dashboard to /paper for now 2026-03-15 16:51:30 -07:00
5ce2fa6924 Feat: Per-strategy paper dashboard for strat hunting 2026-03-15 16:51:19 -07:00
8d90c92d3f Feat: Protect /paper and /dash routes 2026-03-15 16:51:03 -07:00
c16ef77beb Feat: Filter trades by strategy query param 2026-03-15 16:50:58 -07:00
b35fcfe13f Feat: Include paperByStrategy in state response 2026-03-15 16:50:52 -07:00
2cd79d45d1 Feat: Add martingale-alpha, per-strategy state output 2026-03-15 16:50:45 -07:00
c377c56975 Refactor: Per-strategy isolated balance and PnL 2026-03-15 16:50:34 -07:00
0adcc947ce Feat: Add martingale-alpha coin-flip 3-round strat 2026-03-15 16:50:25 -07:00
647b46d1b8 Fix: Handle dollar-string WS fields, fix orderbook 2026-03-15 15:47:51 -07:00
c2f878b23d Fix: Parse new Kalshi WS dollar-string format 2026-03-15 15:47:45 -07:00
aedb6aeda5 Fix: reduce Kalshi 400/429 spam 2026-03-15 15:34:14 -07:00
e93381c9f1 Fix: parse Surreal query results safely 2026-03-15 15:06:42 -07:00
eda38cb58e Fix: normalize Surreal query response 2026-03-15 15:06:35 -07:00
d7dabea20f Fix: robust quote/orderbook parsing 2026-03-15 15:06:23 -07:00
3c48e2bd50 Fix: unwrap WS payloads + safer reconnect 2026-03-15 15:06:16 -07:00
1c57c60770 Fix: Harden RSA key env parsing 2026-03-15 14:55:02 -07:00
96f1f9359e Fix: Rank BTC events and expose candidates 2026-03-15 14:54:58 -07:00
d57c0402d1 Fix: Skip empty events and pick tradable market 2026-03-15 14:54:51 -07:00
51177b5b8a Refactor: hardcode series ticker, keep dynamic 2026-03-15 14:42:51 -07:00
b95430e863 Refactor: remove series ticker env var 2026-03-15 14:42:48 -07:00
0a5f2af3ae Fix: heartbeat state + startup write 2026-03-15 14:40:32 -07:00
6921fb1cdd Fix: empty markets fallback + rotation fix 2026-03-15 14:40:21 -07:00
677050a224 Fix: robust active event discovery 2026-03-15 14:40:15 -07:00
8c76087b6a Fix: make Kalshi API base configurable 2026-03-15 14:40:09 -07:00
c3b9bf1475 Fix: add configurable Kalshi series/base 2026-03-15 14:40:06 -07:00
b92c8fab4b Feat: Add middleware to protect dashboard and API routes 2026-03-15 14:22:24 -07:00
e5565327ec Feat: Implement signed HttpOnly session cookie 2026-03-15 14:22:20 -07:00
d2d742df3b Feat: Add Web Crypto session signing and verification 2026-03-15 14:22:16 -07:00
688e40edd3 Fix: Add dashboard redirect on successful login 2026-03-15 14:21:18 -07:00
de38920499 Feat: Externalize ws and surrealdb from Next.js bundle 2026-03-15 13:09:47 -07:00
ae8761ada2 Feat: Add ws + surrealdb dependencies 2026-03-15 13:09:42 -07:00
b44bd4b9d1 Feat: Add worker process + ws dependency to Docker 2026-03-15 13:09:37 -07:00
7e1b133344 Feat: Entrypoint runs both Next.js and worker process 2026-03-15 13:09:33 -07:00
79d465eb88 Feat: Mobile-first dashboard for market + paper trading 2026-03-15 13:09:26 -07:00
a957793be3 Feat: API route for paper trade history 2026-03-15 13:09:22 -07:00
1ccba9eef1 Feat: API route to expose worker state to frontend 2026-03-15 13:09:17 -07:00
2924ff6098 Feat: Background worker — market tracking + paper trading 2026-03-15 13:09:12 -07:00
13904dc641 Feat: ntfy notification helper 2026-03-15 13:09:08 -07:00
95fb54dd5a Feat: SurrealDB client singleton 2026-03-15 13:09:03 -07:00
8c0b750085 Feat: Paper trading engine with virtual balance 2026-03-15 13:08:56 -07:00
0019f088c4 Feat: Threshold strategy — contrarian bet at extremes 2026-03-15 13:08:51 -07:00
491465dbde Feat: Martingale strategy — bets against 70%+ side 2026-03-15 13:08:46 -07:00
72d313f286 Feat: Base strategy interface for all strategies 2026-03-15 13:08:42 -07:00
d1683eaa11 Feat: Market tracker auto-rotates BTC 15m markets 2026-03-15 13:08:36 -07:00
807e065436 Feat: Kalshi WebSocket client for live orderbook 2026-03-15 13:08:30 -07:00
0599b05ffe Feat: Kalshi REST client for markets and orderbook 2026-03-15 13:08:25 -07:00
d8c6bfe24f Feat: Kalshi RSA auth signing for API requests 2026-03-15 13:08:21 -07:00
6c395b7c30 Update readme 2026-03-15 12:28:50 -07:00