...runs
DSS Rest API
Domain - https://selectapi.datascope.refinitiv.com/RestApi/v1/
URL - https://selectapi.datascope.refinitiv.com/RestApi/v1/Search/FuturesAndOptionsSearch
Total instruments for 1 day data - 418788
Details of issue -
As more then 400 instruments were giving server busy error, tried querying this above URL in chunks with instruments = 400 and 'respond-async;odata.maxpagesize=1000'.
After running for 5 loops(instrument chunks), it failed and raised error -
Processing instruments bucket No.5 for searchFuturesOptions with len:400 Instrument Range BLSR.TA<-->RKH.L
ERROR Searched for Futures and Options unsuccessfully with status code 502
msg: 'Content of request: b\'{"error":{"message":"An error occurred on the server. If this problem persists, contact Support (referenci' (str)
response: '<Response [502]>' (Response)
Could you please guide what is the good way to query large amount of instruments, as if its fails in between, time and processing both gets wasted.