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)




"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"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 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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
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 »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 406 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: Mon July 15, 2019 3:10 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003