question

Upvotes
Accepted
50 11 20 28

AWS URL not getting generated while downloading NFE Ref data

Hi,

AWS URL is not getting generated while trying to download Reference data for NFE. We get 200 OK response from the server but not the actual link to download data. Below is the curl command used to request data

curl -vk -X POST -H 'Content-Type: application/json' -H 'Prefer: respond-async' -H 'Authorization: Token <XXXX> https://10.192.6.221/RestApi/v1/Extractions/ExtractRaw -d @test.txt

refdatareq.txt

and the command used to get the response is as below:-

curl -Ikv -H 'Authorization: Token <XXXX> -H X-Direct-Download:true -H 'Content-Type: Accept-Encoding: gzip, deflate' -X GET https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults%28%270x05e11d1e729b2f76%27%29%2F%24value

The response for the above command is: refdata-requesttracking.txt

Please note that we are able to pull data from DSS for the same Ric Chains.

Kindly let know how to get the download link.

Thanks

tick-history-rest-apiDownloadaws
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
50 11 20 28

Ok noted. Would you please advise the way to download reference data, if its not available via AWS? We get the Extraction ID and X-Request-Execution-Correlation-Id as a part of response.

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.

You can download data from DSS server instead by:

  • Removing X-Direct-Download
  • Removing -I option
  • Adding -H "Accept-Encoding: gzip, deflate"
  • Adding -o option to save the output to a file
curl -kv  -X GET -H "Prefer: respond-async" -H "Authorization:Token <token>" -H "Accept-Encoding: gzip, deflate" https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults%28%270x05e11d1e729b2f76%27%29%2F%24value -o output.gz

Hi jirapongse.phuriphanvichai,

Can you confirm if Terms & Conditions data download is available in AWS ( X-Direct-Download) or we will have to use the mentioned curl command?

Thanks

Upvotes
78.1k 246 52 72

Currently, you can do X-Direct-Download with Tick History Time and Sales, Tick History Market Depth, Tick History Intraday Summaries, and Tick History Raw reports.

It doesn't support HistoricalReferenceExtractionRequest.

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.