rbtc_arbitrage
rbtc_arbitrage copied to clipboard
Environment Variables
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
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.