machine learning in stock price trend forecasting by pradeep kumar reddy musku

10
Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Upload: pierce-hart

Post on 03-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Machine Learning in Stock Price Trend Forecasting

BY

PRADEEP KUMAR REDDY MUSKU

Page 2: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

• Stock prices are dynamic and depends on known and unknown factors

• Stock Prediction Methodologies• Fundamental

• Technical

• Efficient Market Hypothesis(EMH)• Strong

• Semi Strong

• Weak

Page 3: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Implementation

• Data Collection

• Model Selection• Next-Day model

• Long-Term model

• Feature Selection

Page 4: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Data Collection

• Training data is collected from Bloomberg database

• 3M stock was picked and it contains 1471 data points (1/9/2008 to 11/8/2013)

• There are 16 features that can be used for this learning theory. Some of them are

• PE ratio

• 50-day moving average

• Current Enterprise value

Page 5: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Model Selection

• Learning Theories used:• Logistic Regression

• Gaussian Discriminant analysis

• Quadratic Discriminant analysis

• Support Vector Machine(SVM)

Page 6: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

• Accuracy = The number of days that the model correctly classified the testing data total no of training days

• Next – Day Model

Model Logistic Regression

GDA QDA SVM

Accuracy 44.5% 46.4% 58.2% 55.2%

Page 7: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

• Long – Term Model

Predicting a stock sign of difference between tomorrow’s stock price and that of certain days ego

Page 8: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Feature Selection

Page 9: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Trading Strategy

• Used 990 of the 1470 data points to fit the model.

• Made the investment decision based on the model.

Page 10: Machine Learning in Stock Price Trend Forecasting BY PRADEEP KUMAR REDDY MUSKU

Comparison

• This model has outrun the performance of the stock, with an annualized return of 19.3% vs 12.5%