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)




"It’s so nice to be working with real professionals!" - Comment from Len
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"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
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"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
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - 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
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »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 266 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: Sun November 18, 2018 4:06 AM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003