-
Notifications
You must be signed in to change notification settings - Fork 162
Description
The GET //data/orders endpoint was giving me a long hanging period (~60 seconds), then finally returning an "invalid API key" error. I noticed that this was only occurring when I had >500 active orders. As soon as I went below 500, the issue disappears. As far as I can tell, there is no ability to manually handle pagination - the OpenOrderParams does not take "limit" or "offset" as a parameter like some of the other endpoints. It looks like pagination is handled internally from looking at the code, but something isn't working properly. Obviously I can iterate over each market and retrieve orders individually, but this is lot slower than one batch request with no market filtering. Any ideas/tips how to fix this? Anyone else able to reproduce? I'm using py_clob_client==0.28.0. Thanks!