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)




"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"You have an excellent product !!!!!!" - Comment from Arely
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"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 would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
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 »NEW IQFEED FORUMS »Miscellaneous Messages »Machine learning and tick-by-tick data
Author Topic: Machine learning and tick-by-tick data (2 messages, Page 1 of 1)

keohir808
-Interested User-
Posts: 6
Joined: Sep 16, 2019


Posted: Jan 30, 2022 08:45 PM          Msg. 1 of 2
There seems to be a lack of research regarding the use of tick-by-tick data as input to machine learning models. Has anyone experimented with machine learning and tick-by-tick data? I’ve trained an LSTM with about 2 years worth using tick-by-tick data with DTN which fit a certain criteria such as float, volume, price. The result is a model with around 69.9% accuracy. A naïve model which predicts that the bid price will be the same price as the last tick has an accuracy of around 65%. I’m wondering if I can increase my model’s accuracy through feature engineering. Could anyone share research papers regarding machine learning and tick-by-tick data? Does anyone have any insight regarding data transformations that can be applied to financial data which may result in increased accuracy if used as a feature in machine learning models?


Interests & Tools: Machine Learning, Neural Networks, Deep Learning, Python, Java, Trading, Small Caps, Interactive Brokers.
Edited by keohir808 on Jan 30, 2022 at 08:50 PM

taa_dtn
-DTN Evangelist-
Posts: 154
Joined: May 7, 2004


Posted: Jan 31, 2022 11:10 AM          Msg. 2 of 2
Yes, I experimented with this a few years ago. Your questions are relevant and insightful, but I don't have much useful information to offer in reply.

I haven't seen many published papers on the subject in recent years. Take that with a grain of salt, though, because I'm not looking actively enough. Possibly if the technique has been applied successfully, it hasn't been discussed in public for the obvious reasons. Hopefully someone else will reply with better information.

In general, I hit the same roadblocks you did. It's hard to choose the right network architecture (financial data isn't statistically stationary, so I wasn't able to design either recurrent or convolutional networks that were consistently successful). Raw tick-by-tick data has so much variability along so many dimensions that I suspect feature engineering is necessary, but that's a major research project in its own right. Techniques currently being used for natural language processing are probably where I'd start if I were to look at this again today.

Possibly the most fundamental problem I ran into is that it doesn't seem workable to use a scalar value to measure outcomes, so anything based on simple gradient descent is problematic. I think a practical outcome measurement must be at least three-dimensional -- it needs to include return, risk, and capital management. Arguably more, but the need for those three is easy to understand.
 

 

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