Please let me know how can I screen the stocks data lying in csv or excel files or mysql through machine learing and technical analysis
Hi Bhaumik,
The question is not very clear. Do you want to use technical analysis and machine learning techniques to come with the stocks for trading?
Could you please elaborate a bit more?
I need to run the technical analysis code for all the stocks so that I can find the best stock and then trade on it through machine learning
Thanks
You can check out this article on Predicting Stock Trends Using Technical Analysis And Random Forests. I hope that helps.
Hi Bhaumik,
You can start by filtering the stocks. They should be filtered in a way to best suit your strategy. This can be done based on price, trend, volatility, etc using indicators. Define the filtering criteria and filter the stocks. Once you have the filtered stocks, you can identify the appropriate machine learning algorithm to train the model.
Since you already have the data available, you can break it into three parts - one to train the machine learning model, second to validate the model and the third to backtest the strategy. Make sure you train the ML model only on the first part of the data. Then test the model performance on the second part of the data and backtest your strategy on the third part. Carefully analyse the backtest performance. After you are satisfied with the backtest result, you can trade using the algorithm. An example is explained in the blog already shared above.
Hope this gives you some clarity.
Thanks!