For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 0 3

Best Practices to handle number of instruments greater than its limit

Hello team,

We need your guidance with the handling the number of instruments greater than its limit.

For example - instrument count is 385909 and as per our understanding limit for EOD pricing data is 75000.

And going forward, through the underlying RIC, instrument will get expanded and will increase.

So If you can help me with, if there are any best practices to handle more number of instruments than its limit.

Need your help to handle the limit in both the cases.

Thanks,

Trisha Gehlot


#technologydss-rest-api#product
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
23.1k 60 15 21

Hi @trisha.gehlot,

This document describes the limits of various endpoints and report templates. The EOD pricing does indeed have a limit of 75000 records limit. The document recommends to break up the list into multiple requests and send the next request after the previous one finishes.

1714581488616.png


1714581488616.png (47.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 0 0 3

Thank you @Gurpreet for your response and confirming the limit!!

Looking for the best way to to break up the list into multiple requests and send the next request after the previous one finishes. Could you guide on the same??

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
23.1k 60 15 21

Hi @trisha.gehlot,

There is no specific way to break up the list. The code will depend on the programming language that you use. Your application code will also have to wait for first request to finish by checking the returned status code. If you are new to DSS API, then I recommend that you should start from the Quickstart and step by step tutorials about this API.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
5 0 0 3

Thank you @Gurpreet !!

Will look into documents and try to work on this requirement.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.