coinbasepro-python icon indicating copy to clipboard operation
coinbasepro-python copied to clipboard

Unable to get full set of open orders per request

Open FlyingWalkersInTheGarage opened this issue 5 years ago • 1 comments

I have code to convert the string to a csv file. However, the following command:

str(list(auth_client.get_orders(status='open')))

Intermittently returns the following at the end of the string:

}, 'message']

Which consistently corresponds with the resulting file being NOT the full set of open orders. Is it my own python naivete or just how I'm using this? How can I obtain a full open order set?

Do you have a lot of open orders? The 'message' value makes me think you may be getting rate limited. There's some work on making the library play nicely within Coinbase Pros rate limits in #389 and work to handle errors a bit better in #260

mcardillo55 avatar Nov 22 '20 09:11 mcardillo55