rbtc_arbitrage icon indicating copy to clipboard operation
rbtc_arbitrage copied to clipboard

Environment Variables

Open eCurrency opened this issue 11 years ago • 1 comments

Some of us would like to know where to put in the environmental variables where it says:


whether you want to actually execute trades. You must have configured your API keys and bitcoin addresses through the following environment variables:

  • MTGOX_KEY
  • MTGOX_SECRET
  • MTGOX_ADDRESS
  • BITSTAMP_KEY
  • BITSTAMP_SECRET
  • BITSTAMP_ADDRESS

Thanks

eCurrency avatar Jul 20 '13 00:07 eCurrency

This uses the dotenv gem to store environment variables.

The .gitignore file for this project includes the .env file, so it is never checked into Git (which could make it so your API keys easily make it public online), and this is proper.

You just need a .env file in the root of the project, and then set BITSTAMP_KEY=foobar in that file, with one record per line.

tibbon avatar Mar 28 '15 18:03 tibbon