I'm trying to perform an "FuturesAndOptionsSearch" for all options on the exchange "OPQ", using the REST HTTP API (e.g. I'm not using C#).
Ideally I would like to make an asynchronous request, but that doesn't seem to be possible for search? Now I'm using pagination, and am running into the following issue:
- If I set the "maxpagesize" to 200k, I get "HttpResponseException: Service Unavailable" (HTTP status: 503)
- If I set the "maxpagesize" to 50k, I get 5 pages, but the 6th fails with "HttpResponseException: Service Unavailable" (after approximatel 4 minutes)
I'm looking for any reccomendation on how I can get this to work reliably.
@erik.gomersbach Hi Erik, sorry for the delay but after looking at the code I can confirm pagination for those calls are not implemented fully as indicated by Troy. May I know what your use cases are so I can bring this up to product management team to see if we can put in an enhanecment request?
@erik.gomersbach As Troy mentioned in another post search pagination is not fully implemented and that maybe part of problem. Can you provide more details such as user id, json payload for request etc? I can route the details to our developers to have them take a look at it. Thanks.