Posts

Showing posts from September, 2017

Coinbase Interaction with Python

Get Coinbase balances using code? Lets do it.  Let's build on the experience from my previous  post  on connecting to GDAX with Python. If I can connect to both my Coinbase Wallets and my GDAX accounts... I will be well on my way to understanding my cryptocurrency portfolio in ways that are not provided in the web UI. The good news is that there is a official python Coinbase module. A WORD OF CAUTION :  Coinbase handles financial assets. Always use the sandbox when testing code and ideas. Its never a good idea to put secrets in your code. Use appropriate security measures when using API credentials. I recommend using a tool such as bcrypt to protect your secrets. Goals Securely authenticate to Coinbase REST service using official Coinbase module Get a list of accounts/wallets for the authenticated user Get a list of all transactions for all accounts Display the results Display the execution duration in seconds Prep Login to Coinbase and gener...

GDAX Interaction with Python

Get GDAX balances using code? Lets do it.  I was checking out the Coinbase  GDAX  REST API the other day and I immediately had some ideas of how I could use it. I am not a software developer by trade, but even for a scripter like myself, a quick review of the GDAX  documentation  proved to be understandable. It was time well spent and I recommend you have a gander prior to executing the code in this post. We are going to use Python in this example. Why Python? Because I make the decisions here. A WORD OF CAUTION :  GDAX handles financial assets. Always use the sandbox when testing code and ideas. Use appropriate security measures when using API credentials.  Goals Securely authenticate to the GDAX REST API Get a list of accounts for the authenticated user Display the accounts details in prettified format Display the execution duration in seconds Prep Login to GDAX and generate an API key. I specifically set my API ke...