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 have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"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
"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
"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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
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 »SELECT UPDATE FIELD return value question
Author Topic: SELECT UPDATE FIELD return value question (9 messages, Page 1 of 1)

dplneural
-Interested User-
Posts: 11
Joined: Sep 11, 2009


Posted: Jun 30, 2016 10:48 PM          Msg. 1 of 9
when I issue a "S,SELECT UPDATE FIELDS,Symbol,Last,Most Recent Trade Time,Most Recent Trade Date,Ask,Bid,Spread,Tick\r\n" command in a WATCH (forex data) request, the Tick field value is returned as an integer. Subsequently, I have the following question:

1. What integer values are expected to be returned for the Tick field?

Thanks in advance

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 1, 2016 03:00 PM          Msg. 2 of 9
If you look at the description for Tick on this page, it should have the info that you need.

http://www.iqfeed.net/dev/api/docs/Level1UpdateSummaryMessage.cfm

Tim

dplneural
-Interested User-
Posts: 11
Joined: Sep 11, 2009


Posted: Jul 5, 2016 02:14 AM          Msg. 3 of 9
Hi Tim,

thanks for your reply. As per the following description:

Field Name = Tick
Field Type = integer
Field Description = Direction of change from last Trade
Origin of Data = Calculated by IQConnect.exe based upon previous trade

Depending on the I consistently get 3 integer values of:

173,
175,
183

After examining a log file of the output it appears the values have the following meaning:

173 = price was higher than the previous price;
175 = price was lower than the previous price;
183 = price was the same as the previous price;

Is this correct?

Thanks

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 5, 2016 05:31 AM          Msg. 4 of 9
Correct.

Tim

dplneural
-Interested User-
Posts: 11
Joined: Sep 11, 2009


Posted: Jul 5, 2016 06:23 AM          Msg. 5 of 9
Thanks Tim,

maybe such info could be added to the documentation,

thanks again

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 5, 2016 07:12 AM          Msg. 6 of 9
I do show it, so I am unsure why you are not. Below is what I show when I go to the page that I linked. I do not even have the word Direction when I do a search of the page.

Tick
integer
"173"=Up, "175"=Down, "183"=No Change. Only valid for Last qualified trades.
Calculated by IQConnect.exe based upon previous trade.

dplneural
-Interested User-
Posts: 11
Joined: Sep 11, 2009


Posted: Jul 5, 2016 07:47 AM          Msg. 7 of 9
Hi Tim,

this is what I see when I click on the link...see attached image

I didn't see any reference to the values you mention



File Attached: Tick_Field_Description.png (downloaded 1169 times)

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jul 5, 2016 07:51 AM          Msg. 8 of 9
Your not logged in, that is why you are seeing that. If you log into the site you will get the data you are looking for.

Tim

dplneural
-Interested User-
Posts: 11
Joined: Sep 11, 2009


Posted: Jul 5, 2016 08:12 AM          Msg. 9 of 9
well I learnt something today...but not sure why there needs to be 2 different views...thanks for your help
 

 

Time: Thu May 9, 2024 11:16 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003