swing-trading-dashboard/README.md

40 lines
940 B
Markdown

# 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 modules hosted here:
* [OHLC](https://moshferatu.dev/moshferatu/ohlc)
* [Plotting](https://moshferatu.dev/moshferatu/plotting)
* [Strategies](https://moshferatu.dev/moshferatu/strategies)
## 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``` with the following contents:
```shell
IQFEED_HOST=localhost
IQFEED_PORT=9100
```
Then, run the following command to launch the dashboard:
```shell
python ./dashboard.py
```
---