29 lines
723 B
Markdown
29 lines
723 B
Markdown
# 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.
|