Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
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 »IQFeed Developer »IQFeed Developer Support »Time Zones included in Listed Markets(SLM) call
Author Topic: Time Zones included in Listed Markets(SLM) call (4 messages, Page 1 of 1)

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


Posted: Jun 3, 2020 08:14 PM          Msg. 1 of 4
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: 52
Joined: Mar 24, 2010


Posted: Jun 3, 2020 08:48 PM          Msg. 2 of 4
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
-Interested User-
Posts: 75
Joined: Jul 3, 2019


Posted: Yesterday @ 07:54 AM          Msg. 3 of 4
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: 4
Joined: Jun 3, 2020


Posted: Yesterday @ 08:35 AM          Msg. 4 of 4
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
 

 

Time: Fri June 5, 2020 5:33 AM CFBB v1.2.0 0 ms.
© AderSoftware 2002-2003