Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Time Zones included in Listed Markets(SLM) call
Author Topic: Time Zones included in Listed Markets(SLM) call (6 messages, Page 1 of 1)

MV_opt
-Interested User-
Posts: 19
Joined: Jun 3, 2020


Posted: Jun 3, 2020 08:14 PM          Msg. 1 of 6
Are Market time zones listed anywhere?

If not, it would be really helpful if you were able to store the Time Zone location for each of the markets that come back in the SLM call.

So for each listed market you also return the time zone location using the standard names as defined by https://en.wikipedia.org/wiki/Tz_database

NOTE: I would not bother with Daylight or standard time, just the location. That way it only needs to be set by you once when making a change/addition to the markets list.

There are plenty of libraries which can do all the time calculations we need (including daylight savings) but they are all predicated on knowing the actual timezone of the exchange. See http://web.cs.ucla.edu/~eggert/tz/tz-link.htm

We can write a table with maps from Market ID to time zone but as soon as you make a change to the IDs, we have lost the mapping.

Of course the ultimate would be that in stream and lookup calls we were ablet to specify that we want the results in local market time rather than EST.

MV

DTN Todd
-Interested User-
Posts: 74
Joined: Mar 24, 2010


Posted: Jun 3, 2020 08:48 PM          Msg. 2 of 6
Hello MV_opt

I will have our developer support team look into your inquiry, they should have an answer for you within 24 hours

Thanks
Todd

DTN_Gary_Stephen
-DTN Guru-
Posts: 403
Joined: Jul 3, 2019


Posted: Jun 4, 2020 07:54 AM          Msg. 3 of 6
The time zone for all IQFeed API data is US/Eastern. Even for exchanges that are not themselves located within US/Eastern time.

ETA: I'm sorry, I didn't fully understand your question. You want there to be an API data point that tells you the actual time zone for each exchange. I can put in a formal customer request from that.


Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Edited by DTN_Gary_Stephen on Jun 4, 2020 at 08:21 AM

MV_opt
-Interested User-
Posts: 19
Joined: Jun 3, 2020


Posted: Jun 4, 2020 08:35 AM          Msg. 4 of 6
Hi Gary,

Yes, I think this would be helpful.

Another column for each entry returned in the SLM (Listed Markets) call in the Lookup Port.

This is 4 lines I pulled from the call. I manually added the TZ name at the end of the rows as an example of what it could look like

79, NYDME, NYMEX-DME (InterCommodity Spreads), 79, NYDME, America/New_York
80, PSX, Philadelphia Stock Exchange, 80, PSX, America/New_York
81, TGE, Tokyo Grain Exchange, 81, TGE, Asia/Tokyo
82, TOCOM, Tokyo Commodities Exchange, 82, TOCOM, Asia/Tokyo
Edited by MV_opt on Jun 4, 2020 at 08:36 AM
Edited by MV_opt on Jun 4, 2020 at 08:36 AM

MV_opt
-Interested User-
Posts: 19
Joined: Jun 3, 2020


Posted: Jun 10, 2020 02:32 AM          Msg. 5 of 6
Gary I have just spotted this page. http://pxweb.dtn.com/PXWebDoc/pages/Markets.aspx

If you could return the Time Zone from here in the SLM call, that would be awesome!

DTN_Gary_Stephen
-DTN Guru-
Posts: 403
Joined: Jul 3, 2019


Posted: Jun 10, 2020 11:44 AM          Msg. 6 of 6
Adding the time zone to the SLM call is a good implementation of this idea. I'll add it to the request.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Mon November 11, 2024 2:50 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003