This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * IBKR → Supabase Position Sync | |
| * ───────────────────────────── | |
| * Connects to TWS via socket (port 7496, live account U7424106). | |
| * Reads all open positions + live market data every 60 seconds. | |
| * Upserts into Supabase `ibkr_positions` and `ibkr_account_summary`. | |
| * | |
| * Run: node sync.js | |
| * Stop: Ctrl+C | |
| * |