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 1183 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 September 11, 2025 11:33 AM CFBB v1.2.0 18 ms.
© AderSoftware 2002-2003