I want a simple python script that links to the new Coinbase Advanced Trading API.
Important to note: not the older Coinbase Pro API, since that is being shut down.
It needs to do 5 things:
-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. No, I will not be giving you mine.
Then I want methods I can call for these purposes:
-Check account balance and print this to terminal
-Check existing orders in place and print all of these to terminal
-Put in a limit buy order (for example, put in a limit buy order of 1 ETH for £20)
-Put in a limit sell order (for example, put in a limit sell order of 1 ETH for £9000)
You will write the code and add comments.
That is all. Its not a complex job but I don't have time to check the API docs right now.
I want the work completed by the weekend.