question

Upvotes
Accepted
24 1 0 2

Refinitiv .Net API Intraday Summaries Request TimeZone

Hi, I am requesting 1 minute candles for EUR= with the following:

var DataResponse = Summaries.Definition().Universe("EUR=")
                                         .Interval(Summaries.Interval.PT1M)
                                         .Count(1440)
                                         .GetData();

I see that the timestamps for the returned records are in local time.

How would I request them to be returned in UTC?

thanks

workspace-data-api.networkspace-upgrade
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
Upvotes
Accepted
18.6k 85 39 63

Hi @NJH

I just tried your example now and do not observe local time. Here is my output:

1718378667370.png

The format of the date_time is UTC and I'm presently in EST ~11:23 and the current time UTC is 3:23 (15:23).


1718378667370.png (12.2 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.

Ah my apologies! I found it just as I posted this, I'm getting the DateTime out of each Record with:

Record[1].ToObject<DateTime>();

and it's converting to local

thanks

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.