Shall I get some tips about useing Machine Learning on trading?

Here is a survey of some recent work in this space. This should keep you busy for a while, as there are so many terms and techniques to know:

https://www.linkedin.com/pulse/survey-deep-learning-techniques-applied-trading-james-melenkevitz-phd

Binatix is one interesting company mentioned in the links:

http://www.recode.net/2014/9/10/116...ix-a-deep-learning-trading-firm-thats-already

Q

Results – Their overall accuracy is around 53%. When they consider the difference between the top decile and the bottom decile predictions, they get 3.35% per month, or 45.93% annualized return.

UQ

???
 
@ET180, you don't know my background, you are making many assumptions, your statements continue to re-enforce the very point I'm making. I'm not going to waste my time explaining something I made perfectly clear in the first place.

I don't know your background and neither does anyone else on this forum. That's why when you make baseless anecdotal conjectures based on your alleged experience and personal biases, they count for absolutely nothing. Maybe if you were Mark Zuckerberg or Bill Gates, both college dropouts who managed to figure out how to write software, your opinions would have a little more credibility. But you fail because your opinions will never be able to overcome the facts and logic that I submitted above. Anyone here can test or dispute the validity of my claims. I challenged you to do so, but you could not come up with even one logical error or false premise in my reasoning. Given your difficulty with logic, I think I now understand why you so strongly discourage others from attempting to learn something new on their own. But just because you can't do something doesn't mean that others cannot as well.
 
Results – Their overall accuracy is around 53%. When they consider the difference between the top decile and the bottom decile predictions, they get 3.35% per month, or 45.93% annualized return.
____________________________________________________________________________

In back testing he gets 3.35% - that means nothing at all since anyone playing with back testing + optimizing can easily come up with something like that. Everyone is a hero with the benefit of hindsight. Any system to brag about needs at least 5 years real world - real money to really even worthy of mentioning.
 
Last edited:
I haven't used neural networks, which is considered deep learning but I have built price algorithm using machine learning, specifically, supervised regression. Setting up an algorithm is not hard, the hard part would be making sure you have clean and normalized data and making sure your algorithm doesn't overfit your training data (can predict data it has seen very accurately but does not do a good job on data it hasn't seen).

All the tools I use are open source. Mainly python and numerical packages developed for use with python.

A. Gather Tools

1) Python
2) Numpy - numerical package for python
3) Pandas - dataframe
4) Sklearn - machine learning package http://scikit-learn.org/stable/documentation.html
5) Ta-Lib - * for techincal indicators if you are using them

B. Gather Data

If you're just looking for historical prices, you can use the datareader function in pandas to pull stock data from yahoo.

Ex.

from pandas_datareader import data

data = data.DataReader('AMZN','yahoo', '2009-01-01')

If you're looking for futures data, you can use quandl.

C. Clean Data

The most important part is cleaning the data. This means transforming, normalizing, and dropping bad data. Your model is only as good as the data it is being fed.


D. Train Your Data

This is where the machine learning parts come in. You will feed your algorithm features(data points that is used to predict your target) and it will try to find the best combination that represent the target. You want to use cross validation to split then train your data. This is just taking a random sample of your data, usually a 80/20 split, and splitting it into training data and testing data. Your algorithm will learn from the training data and then you will use the testing data to evaluate the performance of your model.

Thank you very much and I am a little farmiliar with the tools which you show and I will spend more time on them in the future and now I mainly use Matlab to do trading algo;
Now I have use 'neural newtworks' to classify two situations: common situation and target situation; I get samples(about 50% belongs to common situation and other 50% belongs to target situation); after training, I get "Training Set Accuracy: 66.327313%"; because this is my first training data by ML and I don't know the result is meaningful or not? or how do you think about it?
 
Quantum Computing is the Future: Q&A with Andrew Fursman of 1QBit
http://openmarkets.cmegroup.com/105...is-the-future-qa-with-andrew-fursman-of-1qbit

https://en.wikipedia.org/wiki/Quantum_computing
https://en.wikipedia.org/wiki/List_of_emerging_technologies

People started using NN more than 20 years ago!

Deep Learning Is The Future: Q&A With Naveen Rao of Nervana Systems
http://openmarkets.cmegroup.com/102...-future-qa-with-naveen-rao-of-nervana-systems
thank you for your information.
 
To OP,
If you are looking for 'big swings,' it is fairly well known that swings or volatility are easier to forecast than direction. The hard part is getting both. You could start to look into GARCH time series modeling to further explore that.

People still seem to be stuck on thinking that a fancier implementation, like 'deep learning,' will improve forecasting of trading models. I think they are great at identifying and classifying stable and repeatable objects over time, but with financial ML, it is a different objective altogether.
 
Last edited:
To OP,
If you are looking for 'big swings,' it is fairly well known that swings or volatility are easier to forecast than direction. The hard part is getting both. You could start to look into GARCH time series modeling to further explore that.

People still seem to be stuck on thinking that a fancier implementation, like 'deep learning,' will improve forecasting of trading models. I think they are great at identifying and classifying stable and repeatable objects over time, but with financial ML, it is a different objective altogether.
Thank you for your information;
Do you mean that ML would not get big win in finance like in other fields?
I am just do this and know a little about ML in finance, so do you have tried it and confirm something?
 
What I mean is that if your objective is to forecast big price swings, you might be better off studying finance, statistics, and or time series modeling first. It might give you a better foundation to start with.
 
Back
Top