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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted

Is PackageId fixed for a exchange (venue)?

Hi ,

Is PackageId fixed for the exchanges?

Can we use packageID instead of subscription ID. directly for downloading the data?

Do we have any date rage to use along with packageId instead of subscription ID?

dss-rest-apidssdatascope-selecttick-history-rest-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
Accepted
29k 33 11 15

Hello @satish.shioshankar.gaidhane,

The reason the procedure is to check, is that there is no guarantee. We do not expect this to change often, but when creating an app that implements automatic retrieval, I would avoid relying on this. Hope this explanation makes sense.

No date range is available or can be specified for VBD. Only previous day's data is available via this request. To request date range, please review other requests, for example Tick HistoryTimeAndSales, depending on your requirements.

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.

Hi @satish.shioshankar.gaidhane ,

I would like to provide some additional into on this,

Additional info on how to filter retrieved VBD files can be found in this tutorial Retrieving VBDs

Upvotes
29k 33 11 15

Hello @satish.shioshankar.gaidhane,

To request and process VBD (Venue By Date):

1. Retrieve the list of files associated with packageId with their corresponding PackageDeliveryIds

I.e.

"/StandardExtractions/UserPackageDeliveryGetUserPackageDeliveriesByPackageId(PackageId='"+UserPackageId+"')";

2. Download the corresponding file(s) by PackageDeliveryId

"/StandardExtractions/UserPackageDeliveries('"+PackageDeliveryId+"')/$value";

The VBDs contain the totality of data per venue, for the previous day, so there is no date range.

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

Thanks. But my question was: is pkgID fixed (will not change in future) for a venue???

And another question was :

Do we have any date rage to use along with packageId instead of subscription ID?

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.