For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 1 0 3

Requesting 5000 records of 10 year Yield only returning 59 records

Hi,

I'm trying to get the 10 year yield going back for decades. When I use the following call using the API, I only get 59 records even though I am requesting 5000 records.

How do I get more data with the following code? Thanks! Robby


request = timeSeries.SetupDataRequest("91282CAE1=")

.WithView("CLEAN_PRC")

.WithAllFields()

.WithInterval(CommonInterval.Daily)

.WithNumberOfPoints(5000)

.OnDataReceived(DataReceivedCallback)

.OnStatusUpdated(OnStatusUpdated)

.CreateAndSend();

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapic#yield
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.

1 Answer

Upvotes
Accepted
23 1 0 3

I switched to the ticker .TRXVUSGOV10U and was able to get all the data I wanted. I was also able to use the view "YIELD"

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