SlideShare a Scribd company logo
1 of 21
Forecasting equity using Machine Learning
Nikola Milošević
Goal
© Copyright 2016 MUTIS. All rights reserved 2016.
• Predict long term equity price movement
• One year period
• Classify which equities will grow by 10%
• Past data are known
• Focus on technical analysis
Traditional approach
© Copyright 2016 MUTIS. All rights reserved 2016.
• Graham criteria
Stock Selection for the Defensive Investor:
1. Not less than $100 million of annual sales.
[Note: This works out to $500 million today based on the difference in
CPI/Inflation from 1971]
2-A. Current assets should be at least twice current liabilities.
2-B. Long-term debt should not exceed the net current assets.
3. Some earnings for the common stock in each of the past 10 years.
4. Uninterrupted [dividend] payments for at least the past 20 years.
5. A minimum increase of at least one-third in per-share earnings in the past 10
years.
6. Current price should not be more than 15 times average earnings.
7. Current price should not be more than 1-1⁄2 times the book value.
• Graham number = sqrt(22.5*EPS*BV)
Other approaches
© Copyright 2016 MUTIS. All rights reserved 2016.
• Models inspired by Graham’s
• Following news and trends
Problems with Graham model
© Copyright 2016 MUTIS. All rights reserved 2016.
• It was developed in 1940s
• It is hard to find a stock that satisfies criteria
• Too strict
• Too defensive
Help from technology
© Copyright 2016 MUTIS. All rights reserved 2016.
• In past decade were developed approaches
based on technology
• Algorithms based on statistics, heuristics,
probability and machine learning
• They mainly focused in the past on short
term trading
Machine learning intro
© Copyright 2016 MUTIS. All rights reserved 2016.
• Field of study that gives computers the ability
to learn without being explicitly programmed
Experiment (1)
© Copyright 2016 MUTIS. All rights reserved 2016.
• Use machine learning on past 2-3 year data
• Data obtained using Bloomberg terminal
• Data include 28 indicators
• Book value, Market capitalization, Change of stock Net price over the one
month period, Percentage change of Net price over the one month period,
Dividend yield, Earnings per share, Earnings per share growth, Sales revenue
turnover, Net revenue, Net revenue growth, Sales growth, Price to earnings
ratio, Price to earnings ratio -five years average, Price to book ratio, Price to
sales ratio, Dividend per share, Current ratio, Quick ratio, Total debt to equity,
margins, asset turnover…
Experiment (2)
© Copyright 2016 MUTIS. All rights reserved 2016.
• Selected 1739 stocks from different indexes (S&P
1000, FTSE 100 and S&P Europe 350…)
• Calculated which ones price grew more than 10%
• Used different Machine learning algorithms and
10 fold cross validation for evaluation
• Used Python for scripting and Weka toolkit for
machine learning
Results (1)
© Copyright 2016 MUTIS. All rights reserved 2016.
• Trial with all financial indicators as a features
Results (2)
© Copyright 2016 MUTIS. All rights reserved 2016.
• We performed feature selection among the
indicators
• Experiment with only 11 indicators
11 indicators that were good
© Copyright 2016 MUTIS. All rights reserved 2016.
• The performance turned out not to be significantly
different, but it showed that only 11 indicators are
enough
Best performer
© Copyright 2016 MUTIS. All rights reserved 2016.
Decision trees (1)
© Copyright 2016 MUTIS. All rights reserved 2016.
• Tries to understand the data and build a decision
tree based on data
Decision trees (2)
© Copyright 2016 MUTIS. All rights reserved 2016.
Outlook
Sunny Overcast Rain
Decision trees (3)
Outlook
Sunny Overcast Rain
Humidity
High Normal
Don’t play Play
Wind
Weak Strong
Play Don’t play
Play
Random forests
© Copyright 2016 MUTIS. All rights reserved 2016.
• Algorithm that creates a forest of decision trees
• Designed to improve the stability and accuracy of
machine learning algorithms
• Reduces variance and helps to avoid overfitting
• Uses technique called bagging
Bagging
© Copyright 2016 MUTIS. All rights reserved 2016.
• From a set of elements, creates n sets of
elements (in our case randomly)
• Builds n models using subsets for each model
• In order to get final class uses voting strategy
• Class with majority of votes wins
Example
© Copyright 2016 MUTIS. All rights reserved 2016.
Reference
© Copyright 2016 MUTIS. All rights reserved 2016.
• Milosevic, Nikola. "Equity forecast: Predicting long
term stock price movement using machine
learning." arXiv preprint arXiv:1603.00751 (2016).
• https://arxiv.org/ftp/arxiv/papers/1603/1603.00751.pdf
Thank you and questions
© Copyright 2016 MUTIS. All rights reserved 2016.
nikola.milosevic@mutis.com

More Related Content

Similar to Equity forecast using Machine Learning - MUTIS

Introduction to Quantitative Factor Investing
Introduction to Quantitative Factor InvestingIntroduction to Quantitative Factor Investing
Introduction to Quantitative Factor InvestingQuantInsti
 
Machine learning prediction of stock markets
Machine learning prediction of stock marketsMachine learning prediction of stock markets
Machine learning prediction of stock marketsNikola Milosevic
 
Ad science bid simulator (public ver)
Ad science bid simulator (public ver)Ad science bid simulator (public ver)
Ad science bid simulator (public ver)Marsan Ma
 
ICIC 2016: Patent Information - Looking beyond China
ICIC 2016: Patent Information - Looking beyond ChinaICIC 2016: Patent Information - Looking beyond China
ICIC 2016: Patent Information - Looking beyond ChinaDr. Haxel Consult
 
Optimal management presentation for investors about supply chains optimization
Optimal management presentation for investors about supply chains optimizationOptimal management presentation for investors about supply chains optimization
Optimal management presentation for investors about supply chains optimizationAndrey Sukhobokov
 
Chapter 3 slides
Chapter 3 slidesChapter 3 slides
Chapter 3 slidesteg007
 
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar..."Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...Quantopian
 
Evaluation tool for Wider Economic Effects of Railway Investments
Evaluation tool for Wider Economic Effects of Railway InvestmentsEvaluation tool for Wider Economic Effects of Railway Investments
Evaluation tool for Wider Economic Effects of Railway InvestmentsDr. Jouko Kinnunen
 
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB Event
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB EventVerantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB Event
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB EventGRESB
 
Energy Central Webinar on June 14, 2016
Energy Central Webinar on June 14, 2016Energy Central Webinar on June 14, 2016
Energy Central Webinar on June 14, 2016OMNETRIC
 
Lunch and Learn - Strategy Beyond the Hockey Stick
Lunch and Learn - Strategy Beyond the Hockey StickLunch and Learn - Strategy Beyond the Hockey Stick
Lunch and Learn - Strategy Beyond the Hockey StickThe PNR
 
Theory of the Firm Lecture Notes (Economics)
Theory of the Firm Lecture Notes (Economics)Theory of the Firm Lecture Notes (Economics)
Theory of the Firm Lecture Notes (Economics)FellowBuddy.com
 
RecsysFR: Criteo presentation
RecsysFR: Criteo presentationRecsysFR: Criteo presentation
RecsysFR: Criteo presentationrecsysfr
 

Similar to Equity forecast using Machine Learning - MUTIS (20)

Introduction to Quantitative Factor Investing
Introduction to Quantitative Factor InvestingIntroduction to Quantitative Factor Investing
Introduction to Quantitative Factor Investing
 
Machine learning prediction of stock markets
Machine learning prediction of stock marketsMachine learning prediction of stock markets
Machine learning prediction of stock markets
 
Ad science bid simulator (public ver)
Ad science bid simulator (public ver)Ad science bid simulator (public ver)
Ad science bid simulator (public ver)
 
1615 track1 hornbuckle
1615 track1 hornbuckle1615 track1 hornbuckle
1615 track1 hornbuckle
 
ICIC 2016: Patent Information - Looking beyond China
ICIC 2016: Patent Information - Looking beyond ChinaICIC 2016: Patent Information - Looking beyond China
ICIC 2016: Patent Information - Looking beyond China
 
Optimal management presentation for investors about supply chains optimization
Optimal management presentation for investors about supply chains optimizationOptimal management presentation for investors about supply chains optimization
Optimal management presentation for investors about supply chains optimization
 
Chapter 3 slides
Chapter 3 slidesChapter 3 slides
Chapter 3 slides
 
Itg investor ppt 20 march17 final
Itg investor ppt 20 march17 finalItg investor ppt 20 march17 final
Itg investor ppt 20 march17 final
 
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar..."Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...
"Applying Deep Learning Techniques to Financial Time Series" by Scott Treloar...
 
Evaluation tool for Wider Economic Effects of Railway Investments
Evaluation tool for Wider Economic Effects of Railway InvestmentsEvaluation tool for Wider Economic Effects of Railway Investments
Evaluation tool for Wider Economic Effects of Railway Investments
 
資産運用とビッグデータ解析_2
資産運用とビッグデータ解析_2資産運用とビッグデータ解析_2
資産運用とビッグデータ解析_2
 
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB Event
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB EventVerantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB Event
Verantwoord Beleggen Nederlandse Pensioenfondsen: 2017 Dutch GRESB Event
 
Energy Central Webinar on June 14, 2016
Energy Central Webinar on June 14, 2016Energy Central Webinar on June 14, 2016
Energy Central Webinar on June 14, 2016
 
Itg investor ppt 09 nov17 final
Itg investor ppt 09 nov17 finalItg investor ppt 09 nov17 final
Itg investor ppt 09 nov17 final
 
Lunch and Learn - Strategy Beyond the Hockey Stick
Lunch and Learn - Strategy Beyond the Hockey StickLunch and Learn - Strategy Beyond the Hockey Stick
Lunch and Learn - Strategy Beyond the Hockey Stick
 
Itg investor presentation_02sept16
Itg investor presentation_02sept16Itg investor presentation_02sept16
Itg investor presentation_02sept16
 
Itg investor presentation_02aug16
Itg investor presentation_02aug16Itg investor presentation_02aug16
Itg investor presentation_02aug16
 
Theory of the Firm Lecture Notes (Economics)
Theory of the Firm Lecture Notes (Economics)Theory of the Firm Lecture Notes (Economics)
Theory of the Firm Lecture Notes (Economics)
 
RecsysFR: Criteo presentation
RecsysFR: Criteo presentationRecsysFR: Criteo presentation
RecsysFR: Criteo presentation
 
EBU (Geneva, April 2016)
EBU (Geneva, April 2016)EBU (Geneva, April 2016)
EBU (Geneva, April 2016)
 

Recently uploaded

OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxhiddenlevers
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyTyöeläkeyhtiö Elo
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
Quarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingQuarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingMaristelaRamos12
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...shivangimorya083
 
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawlmakika9823
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdfAdnet Communications
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...ssifa0344
 
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure service
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure serviceCall US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure service
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure servicePooja Nehwal
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfGale Pooley
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Commonwealth
 
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Pooja Nehwal
 
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Roomdivyansh0kumar0
 
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...ssifa0344
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...Suhani Kapoor
 
00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptxFinTech Belgium
 

Recently uploaded (20)

OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
Quarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of MarketingQuarter 4- Module 3 Principles of Marketing
Quarter 4- Module 3 Principles of Marketing
 
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
Russian Call Girls In Gtb Nagar (Delhi) 9711199012 💋✔💕😘 Naughty Call Girls Se...
 
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Shivane  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Shivane 6297143586 Call Hot Indian Gi...
 
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service AizawlVip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
Vip B Aizawl Call Girls #9907093804 Contact Number Escorts Service Aizawl
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Maya Call 7001035870 Meet With Nagpur Escorts
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
 
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure service
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure serviceCall US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure service
Call US 📞 9892124323 ✅ Kurla Call Girls In Kurla ( Mumbai ) secure service
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdf
 
Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]Monthly Market Risk Update: April 2024 [SlideShare]
Monthly Market Risk Update: April 2024 [SlideShare]
 
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
Independent Call Girl Number in Kurla Mumbai📲 Pooja Nehwal 9892124323 💞 Full ...
 
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With RoomVIP Kolkata Call Girl Jodhpur Park 👉 8250192130  Available With Room
VIP Kolkata Call Girl Jodhpur Park 👉 8250192130 Available With Room
 
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
VIP Call Girls LB Nagar ( Hyderabad ) Phone 8250192130 | ₹5k To 25k With Room...
 
00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx
 

Equity forecast using Machine Learning - MUTIS

  • 1. Forecasting equity using Machine Learning Nikola Milošević
  • 2. Goal © Copyright 2016 MUTIS. All rights reserved 2016. • Predict long term equity price movement • One year period • Classify which equities will grow by 10% • Past data are known • Focus on technical analysis
  • 3. Traditional approach © Copyright 2016 MUTIS. All rights reserved 2016. • Graham criteria Stock Selection for the Defensive Investor: 1. Not less than $100 million of annual sales. [Note: This works out to $500 million today based on the difference in CPI/Inflation from 1971] 2-A. Current assets should be at least twice current liabilities. 2-B. Long-term debt should not exceed the net current assets. 3. Some earnings for the common stock in each of the past 10 years. 4. Uninterrupted [dividend] payments for at least the past 20 years. 5. A minimum increase of at least one-third in per-share earnings in the past 10 years. 6. Current price should not be more than 15 times average earnings. 7. Current price should not be more than 1-1⁄2 times the book value. • Graham number = sqrt(22.5*EPS*BV)
  • 4. Other approaches © Copyright 2016 MUTIS. All rights reserved 2016. • Models inspired by Graham’s • Following news and trends
  • 5. Problems with Graham model © Copyright 2016 MUTIS. All rights reserved 2016. • It was developed in 1940s • It is hard to find a stock that satisfies criteria • Too strict • Too defensive
  • 6. Help from technology © Copyright 2016 MUTIS. All rights reserved 2016. • In past decade were developed approaches based on technology • Algorithms based on statistics, heuristics, probability and machine learning • They mainly focused in the past on short term trading
  • 7. Machine learning intro © Copyright 2016 MUTIS. All rights reserved 2016. • Field of study that gives computers the ability to learn without being explicitly programmed
  • 8. Experiment (1) © Copyright 2016 MUTIS. All rights reserved 2016. • Use machine learning on past 2-3 year data • Data obtained using Bloomberg terminal • Data include 28 indicators • Book value, Market capitalization, Change of stock Net price over the one month period, Percentage change of Net price over the one month period, Dividend yield, Earnings per share, Earnings per share growth, Sales revenue turnover, Net revenue, Net revenue growth, Sales growth, Price to earnings ratio, Price to earnings ratio -five years average, Price to book ratio, Price to sales ratio, Dividend per share, Current ratio, Quick ratio, Total debt to equity, margins, asset turnover…
  • 9. Experiment (2) © Copyright 2016 MUTIS. All rights reserved 2016. • Selected 1739 stocks from different indexes (S&P 1000, FTSE 100 and S&P Europe 350…) • Calculated which ones price grew more than 10% • Used different Machine learning algorithms and 10 fold cross validation for evaluation • Used Python for scripting and Weka toolkit for machine learning
  • 10. Results (1) © Copyright 2016 MUTIS. All rights reserved 2016. • Trial with all financial indicators as a features
  • 11. Results (2) © Copyright 2016 MUTIS. All rights reserved 2016. • We performed feature selection among the indicators • Experiment with only 11 indicators
  • 12. 11 indicators that were good © Copyright 2016 MUTIS. All rights reserved 2016. • The performance turned out not to be significantly different, but it showed that only 11 indicators are enough
  • 13. Best performer © Copyright 2016 MUTIS. All rights reserved 2016.
  • 14. Decision trees (1) © Copyright 2016 MUTIS. All rights reserved 2016. • Tries to understand the data and build a decision tree based on data
  • 15. Decision trees (2) © Copyright 2016 MUTIS. All rights reserved 2016. Outlook Sunny Overcast Rain
  • 16. Decision trees (3) Outlook Sunny Overcast Rain Humidity High Normal Don’t play Play Wind Weak Strong Play Don’t play Play
  • 17. Random forests © Copyright 2016 MUTIS. All rights reserved 2016. • Algorithm that creates a forest of decision trees • Designed to improve the stability and accuracy of machine learning algorithms • Reduces variance and helps to avoid overfitting • Uses technique called bagging
  • 18. Bagging © Copyright 2016 MUTIS. All rights reserved 2016. • From a set of elements, creates n sets of elements (in our case randomly) • Builds n models using subsets for each model • In order to get final class uses voting strategy • Class with majority of votes wins
  • 19. Example © Copyright 2016 MUTIS. All rights reserved 2016.
  • 20. Reference © Copyright 2016 MUTIS. All rights reserved 2016. • Milosevic, Nikola. "Equity forecast: Predicting long term stock price movement using machine learning." arXiv preprint arXiv:1603.00751 (2016). • https://arxiv.org/ftp/arxiv/papers/1603/1603.00751.pdf
  • 21. Thank you and questions © Copyright 2016 MUTIS. All rights reserved 2016. nikola.milosevic@mutis.com