Follow me on Medium for updates! https://whittle.medium.com
-
Python 3.x installed -- https://installpython3.com
% python3 --version
Python 3.9.1
-
Python 3 PIP installed -- https://pip.pypa.io/en/stable/installing
% python3 -m pip --version
pip 21.0.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
-
The app should work with Python 3.x, but to avoid issues try run Python 3.8 or higher
git clone https://github.com/whittlem/coinbaseprotracker
cd coinbaseprotracker
python3 -m pip install -r requirements.txt
Create a config.json file with your read-only Coinbase Pro portfolio API keys:
{
"Bot - XLM-EUR" : {
"api_key" : "YOUR_PORTFOLIO_COINBASE_PRO_API_KEY",
"api_secret" : "YOUR_PORTFOLIO_COINBASE_PRO_API_SECRET",
"api_pass" : "YOUR_PORTFOLIO_COINBASE_PRO_API_PASSPHRASE",
"config" : {
"base_currency" : "XLM",
"quote_currency" : "EUR"
}
},
"Bot - ETH-GBP" : {
"api_key" : "YOUR_PORTFOLIO_COINBASE_PRO_API_KEY",
"api_secret" : "YOUR_PORTFOLIO_COINBASE_PRO_API_SECRET",
"api_pass" : "YOUR_PORTFOLIO_COINBASE_PRO_API_PASSPHRASE",
"config" : {
"base_currency" : "ETH",
"quote_currency" : "GBP"
}
},
"Bot - BTC-GBP" : {
"api_key" : "YOUR_PORTFOLIO_COINBASE_PRO_API_KEY",
"api_secret" : "YOUR_PORTFOLIO_COINBASE_PRO_API_SECRET",
"api_pass" : "YOUR_PORTFOLIO_COINBASE_PRO_API_PASSPHRASE",
"config" : {
"base_currency" : "BTC",
"quote_currency" : "GBP"
}
},
"Bot - BCH-GBP" : {
"api_key" : "YOUR_PORTFOLIO_COINBASE_PRO_API_KEY",
"api_secret" : "YOUR_PORTFOLIO_COINBASE_PRO_API_SECRET",
"api_pass" : "YOUR_PORTFOLIO_COINBASE_PRO_API_PASSPHRASE",
"config" : {
"base_currency" : "BCH",
"quote_currency" : "GBP"
}
},
"Bot - LTC-GBP" : {
"api_key" : "YOUR_PORTFOLIO_COINBASE_PRO_API_KEY",
"api_secret" : "YOUR_PORTFOLIO_COINBASE_PRO_API_SECRET",
"api_pass" : "YOUR_PORTFOLIO_COINBASE_PRO_API_PASSPHRASE",
"config" : {
"base_currency" : "LTC",
"quote_currency" : "GBP"
}
}
}
% python3 coinbaseprotracker.py