Sort:  

Glad it can help someone! The API was up yesterday and I was able to make trades during the outage most people saw using this exact script =D