Commit Graph

168 Commits

Author SHA1 Message Date
fc8565e562 Feat: Auto-load strategies dynamically from folder 2026-03-16 00:33:56 -07:00
29fd889acb Fix: Add mutex lock to prevent trade evaluation race condition during settlement 2026-03-16 00:29:06 -07:00
7ba11ecdcb Refactor: Set paper trade notifications to priority 1 2026-03-15 21:19:56 -07:00
2948312619 Refactor: Register new strategies in worker 2026-03-15 20:44:34 -07:00
caca6d29b6 Feat: Add Don't Doubt Bull strategy 2026-03-15 20:44:13 -07:00
cffb156231 Feat: Add Momentum Rider strategy 2026-03-15 20:44:07 -07:00
f3910603fb Feat: Add Sniper Reversal strategy 2026-03-15 20:44:02 -07:00
4feed18ce0 Feat: Add Bull Dip Buyer strategy 2026-03-15 20:43:40 -07:00
1999377682 Fix: SurrealDB v2 compatible record IDs for trade history 2026-03-15 20:14:08 -07:00
04bd2fada6 Fix: Auto-reconnect to SurrealDB on token expiration 2026-03-15 20:11:56 -07:00
11339a0900 Fix: Explicitly set Surreal record IDs to save history 2026-03-15 20:11:28 -07:00
9f0ff58118 Fix: Prevent bot from placing 100¢ trades with zero profit potential 2026-03-15 18:49:43 -07:00
cf35715302 Fix: Prevent bot from placing 100¢ trades with zero profit potential 2026-03-15 18:49:39 -07:00
bd0811e113 Fix: UI incorrectly marking break-even wins as losses 2026-03-15 18:49:31 -07:00
02651535e6 Fix: Block new trades if strategy has unresolved positions 2026-03-15 18:42:09 -07:00
83ab2830b6 Feat: Add orphan polling task for delayed Kalshi results 2026-03-15 18:39:58 -07:00
b8f2406622 Fix: SurrealDB update syntax and add orphan checking 2026-03-15 18:39:51 -07:00
aa96eac863 Fix: Setup background task to poll delayed results 2026-03-15 18:35:54 -07:00
684ba9173c Fix: Add open ticker polling for delayed Kalshi results 2026-03-15 18:35:46 -07:00
a1c81c8c46 Fix: Block trades/settlements during reset, sync state 2026-03-15 17:58:24 -07:00
c4fc90094e Fix: Reset preserves open positions, fixes balance race 2026-03-15 17:58:14 -07:00
8363c85f38 Refactor: Convert to light mode 2026-03-15 17:36:17 -07:00
23d8df2116 Fix: Light mode, reset btn, history=settled only 2026-03-15 17:36:09 -07:00
3b1c594636 Feat: Protect /api/reset behind auth 2026-03-15 17:36:04 -07:00
eb36190254 Feat: Add paper trading reset endpoint 2026-03-15 17:36:01 -07:00
0bcb9666b0 Fix: Only return settled trades in history 2026-03-15 17:35:57 -07:00
1e04e0c558 Fix: Settle orphans on startup, reset flag, norm result 2026-03-15 17:35:51 -07:00
0acc63c512 Fix: Normalize result case, settle orphans, add reset 2026-03-15 17:35:43 -07:00
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