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)




"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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 (6 messages, Page 1 of 1)

MV_opt
-Interested User-
Posts: 18
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: 55
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 Evangelist-
Posts: 141
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: 18
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: 18
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 Evangelist-
Posts: 141
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: Tue September 29, 2020 7:52 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003