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)




"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"You have an excellent product !!!!!!" - Comment from Arely
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"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
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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: 394
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: 394
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: Wed April 24, 2024 11:54 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003