question

Upvotes
Accepted
1 3 1 0

Is there a direct way to set up the Tick History REST API for R programming environment?

tick-history-rest-apirest-apirconnected-risk
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.

Hello @Pro1997

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


Upvotes
Accepted
24.6k 54 17 14

Hello @Pro1997

Do you mean the Tick History REST API? If so, there is a series of how to setup Tick History REST API with R Language articles as following:

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
1 3 1 0

in Part - 2

url <- "https://hosted.datascopeapi.reuters.com/RestApi/v1/StandardExtractions/UserPackages"

r <- GET(url,add_headers(prefer = "respond-async",Authorization = token))

stop_for_status(r)

a<-content(r, "parsed", "application/json", encoding="UTF-8")

List of 2

$ @odata.context: chr "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#UserPackages"

$ value : list()


The list is empty for me. Could you help me a solve for the same/any particular reason this is happening ?

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
24.6k 54 17 14

Hello @Pro1997

Sorry for late reply, could you please test the same query and parameters in the Postman application? You can download TRTH Postman collection in TRTH download page.


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.