Skip to content

Instantly share code, notes, and snippets.

@jeffdeville
Created September 3, 2023 14:45
Show Gist options
  • Save jeffdeville/a68c2dbf17193b0ca2c10f9ba6ba1e16 to your computer and use it in GitHub Desktop.
Save jeffdeville/a68c2dbf17193b0ca2c10f9ba6ba1e16 to your computer and use it in GitHub Desktop.
How to run the alpaca_proxy
#!/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