Created
September 3, 2023 14:45
-
-
Save jeffdeville/a68c2dbf17193b0ca2c10f9ba6ba1e16 to your computer and use it in GitHub Desktop.
How to run the alpaca_proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/withbelay/alpaca-proxy | |
cd alpaca-proxy | |
docker build -t alpaca-proxy . | |
docker run -e ALPACA_BASE_URL=https://broker-api.sandbox.alpaca.markets \ | |
-e ALPACA_KEY=YOUR_ALPACA_KEY \ | |
-e ALPACA_SECRET=YOUR_ALPACA_SECRET \ | |
-e BELAY_SECRET=secret \ | |
-e SECRET_KEY_BASE=any_random_string \ | |
-p 4000:4000 \ | |
alpaca-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment