Initial working version, positions show.

This commit is contained in:
2026-04-01 19:17:09 -05:00
commit 28afa137cb
7 changed files with 398 additions and 0 deletions

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
# IB Dashboard
Simple Interactive Brokers dashboard using vanilla JavaScript frontend and a small Python backend.
Requirements
- Python 3.8+
- IB Gateway or TWS running locally on port 7496
Install
```bash
python -m pip install -r requirements.txt
```
Run
```bash
python backend/app.py
# then open http://127.0.0.1:8000 in your browser
```
Usage
- Enter symbols (comma-separated) and click Subscribe.
- The page polls for quotes and positions every second.
Notes and limitations
- This is a minimal example. It uses polling rather than websockets or SSE.
- The backend relies on `ibapi` to talk to the local IB Gateway/TWS. Make sure the gateway is configured to accept API connections.