question

Upvotes
Accepted
1 0 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 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.5k 16 7 10

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

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

Upvotes
11.5k 16 7 10

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

Click below to post an Idea Post Idea