amor71 / LiuAlgoTrader

Framework for algorithmic trading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wont take keys

slayer8197 opened this issue · comments

Hello I made an .env file with the following filled out with my keys but it keeps giving me this error after running liu quickstart

The Framework expects two environment variables to be set:
APCA_API_KEY_ID and APCA_API_SECRET_KEY reflecting the funded
account's API key and secret respectively.
Please set the two environment and re-run the wizard.

Hello I finally got it working and went through the quickstart but now getting this when running

streamlit run https://raw.github.com/amor71/LiuAlgoTrader/master/analysis/backtester_ui.py

Compute Engine Metadata server unavailable onattempt 3 of 3. Reason: [Errno 64] Host is down
Authentication failed using Compute Engine authentication due to unavailable metadata server.

@slayer8197 are you running this w/ a local-docker-based PostgreSQL setup by the quickinstall? Did you specify a different username/password than what was originally provided?

NOTE the default DSN in the sample shows up as DSN=postgresql://liu:liu@localhost:5400/liu -> if you change the defaults, you need to change the DSN as well.

LMK if still relevant.