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 you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"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
"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'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
"Everything is working great with the API. I love it." - Comment from Calvin
"IQ feed is brilliant. The support is mind-bending. What service!" - 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 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
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - 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 »How should I back-fill time&sales or "trades only" data?
Author Topic: How should I back-fill time&sales or "trades only" data? (3 messages, Page 1 of 1)

andrewm
-Interested User-
Posts: 52
Joined: Feb 23, 2015


Posted: Feb 23, 2015 01:59 PM          Msg. 1 of 3
I see that I can get time&sales using this command on the level1 port:

t[SYMBOL]<CR><LF>
Begins a trades only watch on a symbol for Level 1 updates.
[SYMBOL] - The symbol that you wish to receive updates on

It does not look like there is a convenient way to back-fill that data. Even if I pull in historical tick data using the HTD command on the Lookup Socket (port 9100 by default) I would need to figure out the point at which the realtime data has caught up with the historical. Am I missing some easier way to accomplish this?

Thanks

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 25, 2015 05:54 AM          Msg. 2 of 3
Sorry Andrew,

I lost sight of your post. The best way to do this would be to start watching the datafeed and make a note of the very first tick ID you receive. We'll say that tick ID was 107, once you have that, start building your chart with the live data. Then request historical data and you will get the tick ids from say 1 to 130, just append the 1 -106 on the front of the chart and toss the rest away. This should give you a complete chart like what I think you are looking for.

Tim

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Feb 25, 2015 08:14 AM          Msg. 3 of 3
In addition, while I am thinking on it, in cases where tick numbers are either not sequential or the data does not have a tick ID available, (like with Forex data), you can use the current total volume as an indicator as well.

Tim
 

 

Time: Fri April 26, 2024 10:59 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003