Quick and easy program to test GDAX API endpoints in Python
For those who are totally brand new to Python (like me).
$ sudo easy_install pip
$ pip install requests
or $ easy_install requests
6. In either the clone with HTTP or SSH section, click the copy icon to copy the clone URL for the repository.
7. In terminal, type git clone, and then paste the URL you copied in Step 2. It will look like this, with your GitHub username instead of YOUR-USERNAME:
$ git clone https://github.com/YOUR-USERNAME/gdax-api-tester-python
$ touch config.py
9. Go to https://www.gdax.com/settings/api, select all the necessary permissions, and create an API Key.
10. Open the config.py in your text editor, and include your API Key, API Secret, and Passphase like this:
api_secret = "[your secret here]"
passphrase = "[your passphrase here]"
Now let's get started.
python gdax-test.py
These are the following options:
1) balance -> see your gdax wallet balances
2) id -> see your wallet account ids
3) order -> place an order
Enter balance
in the terminal to see all of your GDAX wallet balances
Enter id
to see the wallet account ids of all your GDAX wallets
Enter order
to place a GDAX order