swing-trading-dashboard/README.md

39 lines
885 B
Markdown
Raw Normal View History

# Swing Trading Dashboard
## Dependencies
The dashboard depends on the following Python packages which can be installed via ```pip install```:
```shell
dash
dash-ag-grid
dash-bootstrap-components
dash-bootstrap-templates
pandas
plotly
python-dotenv
```
It also depends on the following libraries hosted here:
* [OHLC](https://moshferatu.dev/moshferatu/ohlc)
* [Plotting](https://moshferatu.dev/moshferatu/plotting)
## Running the Dashboard
The OHLC data used by the dashboard comes from IQFeed.
Assuming a connection has been established to IQFeed (via [IQLink.exe](https://moshferatu.dev/moshferatu/windows-automation/src/branch/main/iqfeed.bat), for example), create a file named ```.env``` and with the following contents:
```shell
IQFEED_HOST=localhost
IQFEED_PORT=9100
```
Then, run the following command to launch the dashboard:
```shell
python ./dashboard.py
```
---