hstove / rbtc_arbitrage

A gem for automating arbitrage between Bitcoin exchanges.
MIT License
274 stars 94 forks source link

Environment Variables #1

Open eCurrency opened 11 years ago

eCurrency commented 11 years ago

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:


Thanks

tibbon commented 9 years ago

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.