Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 807 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 807 Bytes

gdax-trade

  1. Set up the environmental variables

    • GDAX API keys for production endpoints:
      • GDAX_KEY
      • GDAX_SECRET
      • GDAX_PASSPHRASE
    • GDAX API keys for sandboxed endpoints:
      • GDAX_SANDBOX_KEY
      • GDAX_SANDBOX_SECRET
      • GDAX_SANDBOX_PASSPHRASE
    • Basic auth username and password / server port for the webapp:
      • GDAX_SERVER_USER
      • GDAX_SERVER_PASS
      • GDAX_SERVER_PORT (optional, defaults to PORT then 8080)
      • GDAX_SERVER_HEROKU_KEY
  2. stack install

  3. To run the algorithmic trading program:

    • stack exec gdax-trade-exe

    To run the webapp:

    • stack exec gdax-trade-server

Heroku deployment

  1. heroku buildpacks:set https://github.com/negativetwelve/heroku-buildpack-subdir