mirror of
https://github.com/cjudice-commits/prediction-market-arb.git
synced 2026-07-27 13:37:46 +00:00
b1f18ca9f1
- arb/ibkr.py: Client Portal Gateway client (localhost:5000 over self- signed SSL; auth_status, tickle, snapshot, secdef/search). Distinct NotConnected vs NotAuthed exceptions for graceful UI fallbacks. - arb/daily.py: pairs each user-configured IBKR ForecastEx daily-BTC contract against the Kalshi KXBTCD market closing at the same UTC instant with nearest strike. Reuses arb.calc.evaluate for the worst- case arb math; IBKR slots into the 'pq' position. NO KALSHI status when no matching Kalshi market exists. - data/ibkr_contracts.example.json: template (real file gitignored). - /api/scan/daily route + 'IBKR × Kalshi' tab in the local UI. Tab shows a setup banner explaining what to do when Gateway/contracts aren't configured (vs crashing). - Public Pages dashboard unchanged (positions + IBKR are local-only). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
7 lines
134 B
JSON
7 lines
134 B
JSON
{
|
|
"kalshi_fee_rate": 0.07,
|
|
"poly_fee_rate": 0.072,
|
|
"min_net_return": 0.001,
|
|
"min_poly_volume": 100.0,
|
|
"min_contracts": 1.0
|
|
} |