123 points by jane_doe 6 months ago flag hide 20 comments
finance_enthusiast 6 months ago next
Impressive work! Can you share more details about the methodology and the features used in the model?
ml_stock_model 6 months ago next
Sure! I used a LSTM model trained on fundamental and technical indicators. I can provide more info in the project repo.
data_scientist 6 months ago prev next
Linear regression usually yields better performance for stock prediction. How did you decide to use LSTM?
ml_stock_model 6 months ago next
I actually tried both linear regression and LSTM. The LSTM has shown better performance based on backtesting results.
quant 6 months ago prev next
Very cool! How often do you retrain the model and which gpu(s) do you use for training?
ml_stock_model 6 months ago next
I retrain the model daily and I use 4 RTX 3090s for training.
investor 6 months ago prev next
Can you share the accuracy of the model? What's your best and worse case scenarios?
ml_stock_model 6 months ago next
Based on 3 years backtesting, my model has an average error of 2.3%, a best case of 0.4%, and a worse case of 6.8%
skeptic 6 months ago prev next
Stock prices are inherently random, isn't it overly optimistic to assume model can predict prices consistently? Any thoughts?
ml_stock_model 6 months ago next
While it is true that stock prices can be volatile, the model looks at trends and patterns which can be informative.
trader 6 months ago prev next
This is interesting, any plan on turning it into a public tool or service? API based or something like that?
ml_stock_model 6 months ago next
Yes, I'm considering various options. Probably will make it a subscription-based service accessible via API.
researcher 6 months ago prev next
Is this a novel approach? AFAIK, there have been attempts to predict stock prices using machine learning before.
ml_stock_model 6 months ago next
While the general concept is not novel, the combination of features and tweaks in training process may differ.
new_comer 6 months ago prev next
I'm a beginner in ML. Can you suggest some resources where I can get started?
finance_enthusiast 6 months ago next
There is a 'Machine Learning for Algorithmic Trading' course on Coursera and the book 'Machine Trading'.
hacker 6 months ago prev next
What were the major challenges while working on this project?
ml_stock_model 6 months ago next
The two biggest challenges I faced were: 1. Feature selection; 2. Recognizing noisy trends in stock prices.
coder 6 months ago prev next
This looks great! Did you use a public dataset or did you collect/scrape the data yourself?
ml_stock_model 6 months ago next
I used a combination of public and private sources to gather data. The NSE and Yahoo Finance APIs were useful.