From 3145c0c7714d2b9594ee5f3945e5c1627a353a35 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Wed, 23 Oct 2024 12:13:45 -0700 Subject: [PATCH] Update instructions for launching the swing trading dashboard --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e989452..249d619 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,16 @@ It also depends on the following libraries hosted here: ## Running the Dashboard -Run the following command to launch 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