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)




"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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'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
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 »Advice for best method of getting OHLCV bars
Author Topic: Advice for best method of getting OHLCV bars (6 messages, Page 1 of 1)

ilanazbel
-Interested User-
Posts: 24
Joined: Jun 19, 2006


Posted: Jun 21, 2006 09:27 AM          Msg. 1 of 6
Hi, the application I am writing is only really concerned with 15min, 30min, 60min bars. I do not really have a need for tick data. In fact, I only need the data to refresh every 15minutes.
I will be working with around 1000 symbols.

From looking at the API it seems to me that I have two options:
1) Start a level 1 stream for each symbols and collate the ticks into 15 minute bars
2) Fetch historical data every 15minutes

The issue with option (2) is that the API does not allow me to request only the latest n 15minute bars for a symbol; this means that by the end of the day I am potentially reloading 32 (8 hours * 4) 15minute bars, most of which I have already downloaded before.

Which of the above two strategies should I follow? Or any other strategy you can recommend?

Ilan

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

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Jun 21, 2006 10:01 AM          Msg. 2 of 6
You will need to use Option 1. IQFeed does not allow users to cycle through pulling historical data on an automated basis. IQfeed is meant to be a streaming feed primarily. While IQFeed has significant historical data, it is there to fill in gaps or do end of day downloading/backfilling. During market hours, you need to set a watch on the symbols for which you need data, then build your bars intraday. If you need to refresh data on the stocks you watch, you can do it afterhours.

Jay Froscheiser
DTN - Trading Markets

ilanazbel
-Interested User-
Posts: 24
Joined: Jun 19, 2006


Posted: Jun 22, 2006 11:25 AM          Msg. 3 of 6
What would be the typical daily bandwidth requirements for getting every tick for 1000 shares?

kdresser
-Interested User-
Posts: 71
Joined: Nov 25, 2004


Posted: Jun 24, 2006 09:46 AM          Msg. 4 of 6
I watch ticks for the most active 980 or so Nasdaq symbols. Lately this has amounted to 3.6 GB daily expanded tick data (what your program has to process). The internet traffic is considerably less, as the data is transmitted compressed. On Monday I'll watch my connection manager to see what the compression factor is and report back.

JKD
Edited by kdresser on Jun 24, 2006 at 10:00 AM

kdresser
-Interested User-
Posts: 71
Joined: Nov 25, 2004


Posted: Jun 29, 2006 01:12 PM          Msg. 5 of 6
The ratio of data out of the connection manager to the data coming in via the net is roughly 8:1 (8.3 today).

ilanazbel
-Interested User-
Posts: 24
Joined: Jun 19, 2006


Posted: Jun 30, 2006 01:04 AM          Msg. 6 of 6
Thank you, this is very very helpful!
 

 

Time: Mon May 20, 2024 3:12 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003