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)




"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.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - 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 »Charting Price
Author Topic: Charting Price (2 messages, Page 1 of 1)

shortorlong
-Interested User-
Posts: 16
Joined: Jan 31, 2008


Posted: Jan 31, 2008 01:44 AM          Msg. 1 of 2
Hi all,

I want to chart a standard price chart, similar to what we see at finance.google.com or biz.yahoo.com etc.

I am wondering the following:

1) Is it recommended to get minute-frequency OHLC data for each data point or is it better to get every tick and find unique ticks per second and use each second as data points?

2) When looking at either of these datasets, I sometimes see large spikes, what techniques do you guys have to drop these spikes (or are they natural, valid data?)

3) Sometimes when getting the minute-based OHLC data I see price flat for 10 or 15 minutes at a time, for graphs like YHOO and ETFC - during regular-trading hours. What might cause this to occur?

4) Does anyone have algorithms, psuedo-code, or code samples of how they are drawing a price chart. The rendering/visuals aren't as important as: a) what data are you pulling from IQFeed and b) what portion of this data is going into the graph itself?


Thanks a lot for discussion around any of these questions..
Edited by shortorlong on Jan 31, 2008 at 01:44 AM

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Jan 31, 2008 08:41 AM          Msg. 2 of 2
Most people are looking at interval charts - (x)Minute. You need to decide what interval you want, then request that from the IQ servers. You don't want to request tick data and build your own minute bars due to the time it will take to retrieve the data. Minute data is much faster assuming that is the interval you want. Most web based charts allow you to choose the interval. The higher the inverval, the less "choppy" the chart will be. I would suggest starting with 1 minute data, then increasing to 5, 10,30,60 and see which fits your trading style and indicators.

Flat trading in a stock is common for any of several reasons, so there really is no way to explain it in general terms. You will often see flatlines on stocks before major announcements as the market prepares to trade the release. Spikes in the data is what we receive from the exchange. It is valid in the sense that the exchange sent the data. Some traders prefer to see this noise, while others build their own algorithms to filter the spikes (by taking a average over the last (x)bars to determine if something is out of range).

Jay Froscheiser
DTN - Trading Markets
 

 

Time: Thu May 2, 2024 11:53 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003