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)




"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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.
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"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 have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Wish List »Multi-Threaded Decompression / Get Number of Ticks
Author Topic: Multi-Threaded Decompression / Get Number of Ticks (5 messages, Page 1 of 1)

gamozo
-Interested User-
Posts: 4
Joined: Apr 2, 2013


Posted: Sep 19, 2013 05:17 PM          Msg. 1 of 5
Is there any chance we could get multi-threaded decompression in IQConnect? I'm bottlenecking on CPU rather than download bandwidth.

Currently I just pull all my symbols at once, which means I bottleneck on bandwidth which makes me happy. However I would like to pull a single symbol at full network bandwidth.

Another thing that could allow me to implement this on my end is if you add a 'get number of ticks', so I could query how many ticks of history there is for a symbol. Once I get that number I could start at trades/threads offsets and do a multi-threaded pull.

Any chance this could happen soon?

-Brandon
Edited by gamozo on Sep 19, 2013 at 05:22 PM

DTN_Steve_S
-DTN Guru-
Posts: 2040
Joined: Nov 21, 2005


Posted: Sep 19, 2013 05:22 PM          Msg. 2 of 5
Assuming you are talking about historical data downloads, each socket connection to the lookup port is handled in it's own thread. Therefore, you can simply create multiple socket connections to the feed and balance your requests across the sockets to do a multithreaded pull.

gamozo
-Interested User-
Posts: 4
Joined: Apr 2, 2013


Posted: Sep 19, 2013 05:24 PM          Msg. 3 of 5
Yep. That's what I currently do. However that only works with multiple symbols. It would be nice to have one symbol at full speed. And the only way I could think of doing this is if I knew how many ticks there were historically, with that I could start multiple queries at different starting points. I guess I could do it in chunks of 100k trades or so and just guess for now, but it'd be nice to know how many trades to expect.

DTN_Steve_S
-DTN Guru-
Posts: 2040
Joined: Nov 21, 2005


Posted: Sep 20, 2013 09:12 AM          Msg. 4 of 5
How large of requests are you making? Have you looked into requesting data by timeframe instead of by X number of datapoints?

gamozo
-Interested User-
Posts: 4
Joined: Apr 2, 2013


Posted: Sep 20, 2013 10:09 AM          Msg. 5 of 5
Just tick-level on pretty much all the top 20 most traded futures. I think @ES# has about 55 million datapoints at tick level.

I pull at ticklevel as I postprocess all the data and frequently use tick data for simulated fills rather than n-length bars.

It's not a huge issue, I usually just pull once and then have the files around forever. I'm just requesting the feature if it's easy to add as it would be nice here and there.

-Brandon
 

 

Time: Mon October 22, 2018 1:06 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003