Commit Graph

71 Commits

Author SHA1 Message Date
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
eb9cc8e46b Update .env.example 2026-03-15 12:23:05 -07:00
62f9f780fd Update readme 2026-03-14 21:36:34 -07:00
99d0f1ed46 Update .env.example 2026-03-14 20:43:19 -07:00
1a76668eae Feat: Add Kalshi API key ID and RSA private key 2026-03-14 20:42:28 -07:00
73854a6b48 Feat: Apply Kalshi brand green accent to login 2026-03-14 18:52:19 -07:00
4d93add4df Fix: Upgrade runtime to Node 22 Alpine LTS 2026-03-14 18:32:33 -07:00
9b5044c054 Fix: Update dependencies to Next 15 & React 19 2026-03-14 18:32:29 -07:00
4b443e1d89 Fix: Use Node for runtime to fix binary buffer bug 2026-03-14 18:24:10 -07:00
d1c3a65fa0 Sec: Hide Dokploy webhook behind GitHub Secret 2026-03-14 18:11:54 -07:00
22cbb2db7d Feat: Add Dokploy deployment webhook trigger 2026-03-14 18:08:47 -07:00
da131e4549 Refactor: Update login page to light mode theme 2026-03-14 18:05:06 -07:00
74d49935be Refactor: Switch Docker base image to Bun 2026-03-14 18:00:30 -07:00
bc02328acd Update .env.example 2026-03-14 17:51:44 -07:00
446ec4410b Fix: Add public folder to satisfy Docker COPY 2026-03-14 00:33:33 -07:00
a57099b60a Refactor: Implement trek-captcha generation 2026-03-14 00:29:47 -07:00
7a4b7464df Refactor: Remove webpack hacks for captcha 2026-03-14 00:29:38 -07:00
b2f83a2d0b Refactor: Switch to trek-captcha for compatibility 2026-03-14 00:29:31 -07:00
2a4e7bbffe Fix: Force svg-captcha external via webpack config 2026-03-14 00:21:35 -07:00
49632b9ae6 Fix: Force dynamic rendering for Captcha API 2026-03-14 00:18:47 -07:00