question

Upvotes
Accepted
50 9 12 20

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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
50 9 12 20

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 5.0 MiB each and 10.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
38.1k 71 35 53

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea