Coinbase Advanced Trade APIs (convert from Coinbase Pro API) -- 2

Job ID: 35776064

Budget: $30 – $75 USD

Job Description:

I want to convert a simple python script (attached api_coinbase_vshare) from Coinbase Pro API to Coinbase Advanced Trade API.

Important to note: the older Coinbase Pro API is being shut down and will be replaced with Coinbase Advanced Trade API

The resulting script should be a simple and single-file with identical functions and return structures so that it can be plugged back in easily.

The current script does 5 things:

1-Authenticate credentials (this will need me to put in my own API key and API secret. You just write the code and I will enter my keys to test that it works). You will use your *own* Coinbase keys to test the code. I will not be giving you mine.

2- Gets list of all available accounts as well as products. Filters and re-structures data as needed.

3- Gets historic data for given crypto and date range with variable granularity. Datetime and timezone formats need to be preserved.

4- Gets all my accounts’ data

5- Gets most recent price data for a given crypto

You will write the code and add comments as needed. You should preserve the function inputs and outputs in the same structure and data format. No improvements or changes beyond the API conversion are needed.
That is all. Its not a complex job but I don't have time to check the new API docs right now.
I want the work completed by the weekend.
Related categories: Python API