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)




"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"It’s so nice to be working with real professionals!" - Comment from Len
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Everything is working great with the API. I love it." - Comment from Calvin
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
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 »Last Trade Time format like 00:37:17a, 00:37:17b, 00:37:17t
Author Topic: Last Trade Time format like 00:37:17a, 00:37:17b, 00:37:17t (2 messages, Page 1 of 1)

andrewm
-Interested User-
Posts: 52
Joined: Feb 23, 2015


Posted: Jul 24, 2019 11:53 PM          Msg. 1 of 2
What do values in the Last Trade Time field like this represent?
00:37:17a
00:37:17b
00:37:17t

Is that bid/ask/trade time?

Where is this documented?

Thanks

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


Posted: Aug 16, 2019 02:20 PM          Msg. 2 of 2
Andrew,

First, that is from Protocol 4.9, which is the oldest active (but still default) protocol. In all later protocols, this is handled differently.

For protocol 4.9, there is an explanation here: http://www.iqfeed.net/dev/api/docs/docs51/Level1UpdateSummaryMessage.cfm

Quote: The character indicates one of the following:
t - A trade update occurred
T - Extended Trade = Any trade that is counted in volume (field 7) but does not set a new open, high, low, or last.
b - A bid update occurred (an ask update may also have occurred)
a - An ask update occurred
o - Some other type of update occurred


For later protocols, the Message Contents field contains the type of trade(s) this message reflects. As of 6.0, the explanation of the codes is:

Quote: Possible single character values include:
C - Last Qualified Trade.
E - Extended Trade = Form T trade.
O - Other Trade = Any trade not accounted for by C or E.
b - A bid update occurred.
a - An ask update occurred.
o - An Open occurred.
h - A High occurred.
l - A Low occurred.
c - A Close occurred.
s - A Settlement occurred.
v - A volume update occurred.


You can get multiple codes in a single message but you will only get one trade identifier per message. It is also possible to receive no codes in a message if the fields that updated were not trade or quote related.

Sincerely,
Gary Stephen
 

 

Time: Fri April 26, 2024 9:34 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003