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)




"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
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"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
"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
"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
"Excellent datafeed !!!" - Comment from Arely
"You have an excellent product !!!!!!" - Comment from Arely
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"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
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 »Tick data : trades or quotes ?
Author Topic: Tick data : trades or quotes ? (7 messages, Page 1 of 1)

amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009


Posted: Jul 13, 2010 04:59 AM          Msg. 1 of 7
m_historyLookup.ReqHistoryTickTimeframe("MSFT", "20100614 113000", "20100614 113015", (uint)10000, "", "", (byte)0, "MSFT", 500);

Return the trade or the quote ?

I want the ticks quotes.

amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009


Posted: Aug 10, 2010 11:55 AM          Msg. 2 of 7
The tick data use the trades and not the quotes, I can't get the price of the options if it's not traded.

If I want get the Minute-bar of the options symbol on the quotes, it's possible ?

DTN_LorenF
-DTN Technical Support-
Posts: 228
Joined: May 11, 2004


Posted: Aug 10, 2010 03:58 PM          Msg. 3 of 7
Amethyste

You have several questions.
If a option has not traded, you will not see any data.
The data, in tick, will be tick by tick as the trades come in.
If you want the data in minute bars, they will be the accumulation of the ticks in that minute period.
The developer package for the API will be able to assist you in your programming.

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Aug 10, 2010 04:04 PM          Msg. 4 of 7
Because options are sparsely traded, ticks (trades) don't arrive very often, and therefore it is difficult to build bars. The only alternative is to collect quotes and use them for your own bar building. Using the mid-point between bid and ask is common. This is meant for collecting data during live sessions.

If you are trying to build bars from history, the bars you get are typically sparse, and of zero height, basically due to the fact that trade data is sparse. If you want continuous range bars, you are pretty much SOL when using the history files, as the files only provide quotes during a trade.
Edited by stargrazer on Aug 10, 2010 at 04:07 PM

amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009


Posted: Aug 11, 2010 05:26 AM          Msg. 5 of 7
Yes but options are a derivate, so the option price can move fast without trade.
If I want create and backtest strategies, how do if I receive no data ?

I search bar datas with the quotes and not with the trade.

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Aug 11, 2010 05:42 AM          Msg. 6 of 7
From an IQFeed perspective, the only way to backtest option based strategies, or, for that matter, any equity based strategy using primarily quotes, is to design your program to collect and save live data during trading hours. Then use the data you've saved to run through your backtesting application.

I use IQFeed's historical daily data to look for interesting trading candidates, then use the above mechanism to capture intraday details for testing.

amethyste
-Interested User-
Posts: 15
Joined: Nov 4, 2009


Posted: Aug 11, 2010 07:37 AM          Msg. 7 of 7
Thanks StarGrazer
 

 

Time: Thu April 25, 2024 2:58 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003