Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wont take keys #138

Closed
slayer8197 opened this issue Dec 2, 2020 · 4 comments
Closed

Wont take keys #138

slayer8197 opened this issue Dec 2, 2020 · 4 comments

Comments

@slayer8197
Copy link

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.

@amor71
Copy link
Owner

amor71 commented Dec 2, 2020 via email

@slayer8197
Copy link
Author

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.

@amor71
Copy link
Owner

amor71 commented Dec 2, 2020

@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.

@amor71
Copy link
Owner

amor71 commented Dec 9, 2020

LMK if still relevant.

@amor71 amor71 closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants