Initial working version, positions show.
This commit is contained in:
28
README.md
Normal file
28
README.md
Normal 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.
|
||||
Reference in New Issue
Block a user