question

Upvotes
Accepted
24 1 0 2

How to match Workspace TRDPRC_1 on charts with Refinitv .Net API HistoricalPricing Summaries

Hi, I am looking to match up API data to Workspace chart data. Using the .Net sample for historical pricing summaries, I'm finding that TRDPRC_1 sometimes doesn't match that shown in Workspace, wondering if I need to use a different field etc..

This is the sample code:

// Retrieve Interday Summaries with P1D (1-day interval).  
var response = Summaries.Definition("VOD.L")
                        .Interval(Summaries.Interval.P1D)
                        .Fields("DATE", "OPEN_PRC", "HIGH_1", "LOW_1", "TRDPRC_1", "ACVOL_UNS")
                        .GetData();

This image shows workspace compared to the API output:trdprc-1.jpg

thanks

.netrefinitiv-data-platform-librariesworkspace-upgrade
trdprc-1.jpg (382.6 KiB)
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.

1 Answer

· Write an Answer
Upvote
Accepted
18.9k 85 39 63

Hi @NJH

Try adding the field "OFF_CLOSE" to your field list.

1718633698547.png

What I normally do is first eliminate the 'fields' specification from the request. This will return all available fields for the specific asset. This way, I can pick and choose the correct ones of interest.


1718633698547.png (21.4 KiB)
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.