SlideShare a Scribd company logo
1 of 23
FINANCIAL MARKET PREDICTION AND
PORTFOLIO OPTIMIZATION USING FUZZY
DECISION TREES
ABHRA BASAK
KRISHNA KARNANI
Security Screening and Selection

SECURITY SCREENING AND SELECTION
Stock
Classification

Stock
Selection
Stock
Ranking
STOCK CLASSIFICATION
β€’

Security Evaluation using Technical Indicators
β€’ Moving Average Convergence Divergence (MACD)
β€’ Relative Strength Indicator (RSI)
β€’ Commodity Channel Index (CCI)
β€’ Bollinger Bands
β€’ Momentum Oscillators
STOCK RANKING
β€’

Corporate Evaluation using Fundamental Indicators
β€’ Profitability – Returns on Assets and Equity
β€’ Management Performance – Assets and Inventories Turnover
β€’ Capital Structure – Assets to Liabilities, Liabilities to Equity
β€’ Sales, Profit, Transaction Volume, Marginal Account
STOCK SELECTION
β€’

Select 3 different stocks – one each showing uptrend, downtrend, and steady
state

β€’

Attempt to display different profit making strategies in stock trading

β€’

All subsequent processes are applied on these 3 stocks
Training Phase

TRAINING PHASE
TRAINING PHASE
β€’

Gather Historical Stock data

β€’

Obtain financial time series and price charts from data

β€’

Determine technical indicators and momentum oscillators from charts
Historical
Data

Financial
Time Series

Price Charts
Training Phase

PIECEWISE LINEAR REPRESENTATION
METHOD
PIECEWISE LINEAR REPRESENTATION
METHOD
β€’

Mining of trading points
β€’ Points of begin (P) and end (Q) on a term of closing prices in the
ascending order of dates
β€’ Point K having longest straight line distance between P and Q
β€’ K is the turning point resulting in 2 segments.
β€’ Apply recursively in the resulting segments till minimum distance
threshold
PIECEWISE LINEAR REPRESENTATION
METHOD
β€’

Trading signals transformation
β€’ Convert PLR segments into trading signals
β€’ Uptrend segment
β€’ I <= L/2 : 0.5 – (I – 1) / L
β€’ I <= L/2 : I / L – 0.5
β€’ Downtrend segment
β€’ I <= L/2 : 0.5 + (I – 1) / L
β€’ I <= L/2 : 1.5 – I / L
β€’ Ranges from 0 to 1
β€’ Can also act as a potential technical indicator
Training Phase

STEPWISE REGRESSION ANALYSIS
METHOD
STEPWISE REGRESSION ANALYSIS METHOD
β€’

Data Preprocessing for Feature Selection
β€’ Used to select important factors which affect forecasting results
β€’ Sort out affecting variables to leave more influential ones in the model
β€’ Adding or removing factors to find the fittest combination, decided by Ftest statistical value (takes into account the PLR)
Training Phase

FUZZY RULES AND DECISION TREES
FUZZY RULES AND DECISION TREES
β€’

Fuzzification
β€’ Set of indicators selected by SRA fed into data fuzzification module
β€’ This module transforms technical indicators to fuzzy values
β€’ Adopt triangular and trapezoidal membership functions for the module
β€’ Output decision is obtained as a Gaussian membership function
I1

I2
I3

Fuzzy Inference
FUZZY RULES AND DECISION TREES
β€’

Defuzzification
β€’ Output from fuzzy inference scheme is transformed into a meaningful
decision
β€’ Implemented using the popular Center of Area (COA) methods in the
Fuzzy Control Module’s algorithm
FUZZY RULES AND DECISION TREES
β€’

Examples of Fuzzy decision rules
β€’ If MACD above signal line, then BUY
β€’ If RSI increases above 70, then market is BULLISH
β€’ If Price increases above BB upper then market is BULLISH
β€’ If MACD is LOW and RSI upper goes HIGH to LOW, then SELL
β€’ If MACD is HIGH and CCI upper goes LOW to HIGH, then BUY
Training Phase

GENETIC ALGORITHMS AND
REFINEMENT
GENETIC ALGORITHMS AND REFINEMENT
β€’

Evolving the decision tree using GA

β€’

Fitness function set as forecasting accuracy of the model

Selection
Crossover
Mutation
Replace

Termination
RESULT
β€’

Decision of Stock price and transaction will be determined by the decision
tree on the basis of trends and indicators

β€’

Uptrend if hike in price is greater than 0.5%

β€’

Downtrend if fall in price is less than -0.5%

β€’

Steady state / hold if y is between -0.5% and 0.5%
CREDITS
β€’

A Collaborative Trading Model by Support Vector Regression and TS Fuzzy
Rule for Daily Stock Turning Points Detection – Wu, Chang, Chang, Zhang

β€’

Evolving and Clustering Fuzzy Decision Trees for Financial Time Series Data
Forecasting – Lai, Fan, Huang, Chang

β€’

A Fuzzy Logic Based Trading System – Chueng, Keymak

β€’

Nigerian Stock Market Investment using a Fuzzy Strategy –
Neenwi, Kabari, Asagba

β€’

Common Stock Portfolio Selection: A multiple criteria Decision making
Methodology and an application to the Athens Stock Exchange –
Xidonas, Askounis, Psarras

More Related Content

Similar to FINANCIAL MARKET PREDICTION AND PORTFOLIO OPTIMIZATION USING FUZZY DECISION TREES

SABSA Implementation(Part VI)_ver1-0
SABSA Implementation(Part VI)_ver1-0SABSA Implementation(Part VI)_ver1-0
SABSA Implementation(Part VI)_ver1-0
Maganathin Veeraragaloo
Β 
Operations strategy and startaegic sourcing 0113
Operations strategy and  startaegic sourcing 0113Operations strategy and  startaegic sourcing 0113
Operations strategy and startaegic sourcing 0113
ashish1afmi
Β 
Smarter merchandise planning with spss and tm1
Smarter merchandise planning with spss and tm1Smarter merchandise planning with spss and tm1
Smarter merchandise planning with spss and tm1
Ben Post
Β 
The Art & Science of Valuation
The Art & Science of ValuationThe Art & Science of Valuation
The Art & Science of Valuation
bwatsonctn
Β 

Similar to FINANCIAL MARKET PREDICTION AND PORTFOLIO OPTIMIZATION USING FUZZY DECISION TREES (20)

Stuart mcphee
Stuart mcpheeStuart mcphee
Stuart mcphee
Β 
Trends in-om-scm-27-july-2012-2
Trends in-om-scm-27-july-2012-2Trends in-om-scm-27-july-2012-2
Trends in-om-scm-27-july-2012-2
Β 
Fundamental analysis
Fundamental analysisFundamental analysis
Fundamental analysis
Β 
SABSA Implementation(Part VI)_ver1-0
SABSA Implementation(Part VI)_ver1-0SABSA Implementation(Part VI)_ver1-0
SABSA Implementation(Part VI)_ver1-0
Β 
NumeroUno Solution Presentation-Ver 1.0.pptx
NumeroUno Solution Presentation-Ver 1.0.pptxNumeroUno Solution Presentation-Ver 1.0.pptx
NumeroUno Solution Presentation-Ver 1.0.pptx
Β 
MetaStock Webcast May 2018
MetaStock Webcast May 2018MetaStock Webcast May 2018
MetaStock Webcast May 2018
Β 
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & EvaluationSECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
Β 
The Art & Science of Valuation - CleanTech North
The Art & Science of Valuation - CleanTech NorthThe Art & Science of Valuation - CleanTech North
The Art & Science of Valuation - CleanTech North
Β 
Business Intelligence and OLAP Practice
Business Intelligence and OLAP PracticeBusiness Intelligence and OLAP Practice
Business Intelligence and OLAP Practice
Β 
Artificial intelligence bsc - iso 27001 information security
Artificial intelligence   bsc - iso 27001 information securityArtificial intelligence   bsc - iso 27001 information security
Artificial intelligence bsc - iso 27001 information security
Β 
Operations strategy and startaegic sourcing 0113
Operations strategy and  startaegic sourcing 0113Operations strategy and  startaegic sourcing 0113
Operations strategy and startaegic sourcing 0113
Β 
Smarter merchandise planning with spss and tm1
Smarter merchandise planning with spss and tm1Smarter merchandise planning with spss and tm1
Smarter merchandise planning with spss and tm1
Β 
Quant Trader Chart
Quant Trader ChartQuant Trader Chart
Quant Trader Chart
Β 
technical analysis
technical analysistechnical analysis
technical analysis
Β 
The Art & Science of Valuation
The Art & Science of ValuationThe Art & Science of Valuation
The Art & Science of Valuation
Β 
Forecasting.pptx
Forecasting.pptxForecasting.pptx
Forecasting.pptx
Β 
Competing on pricing analytics by Privaledge - pricing strategies solutions
Competing on pricing analytics by Privaledge - pricing strategies solutionsCompeting on pricing analytics by Privaledge - pricing strategies solutions
Competing on pricing analytics by Privaledge - pricing strategies solutions
Β 
Industry internship project report presentation (IIFL)
Industry internship project report presentation (IIFL)Industry internship project report presentation (IIFL)
Industry internship project report presentation (IIFL)
Β 
Measuring Short-Run Organizational Performance
Measuring Short-Run  Organizational PerformanceMeasuring Short-Run  Organizational Performance
Measuring Short-Run Organizational Performance
Β 
8 -scheduling_and_executing_operations
8  -scheduling_and_executing_operations8  -scheduling_and_executing_operations
8 -scheduling_and_executing_operations
Β 

More from Abhra Basak (8)

Concurrency in java
Concurrency in javaConcurrency in java
Concurrency in java
Β 
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Β 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
Β 
Spanner - Google distributed database
Spanner - Google distributed databaseSpanner - Google distributed database
Spanner - Google distributed database
Β 
DADAGIRI - The Fire Within
DADAGIRI - The Fire WithinDADAGIRI - The Fire Within
DADAGIRI - The Fire Within
Β 
Usability evaluation of the IIT Mandi Website
Usability evaluation of the IIT Mandi WebsiteUsability evaluation of the IIT Mandi Website
Usability evaluation of the IIT Mandi Website
Β 
Course Recommender
Course RecommenderCourse Recommender
Course Recommender
Β 
National Stock Exchange and Nasdaq 100
National Stock Exchange and Nasdaq 100National Stock Exchange and Nasdaq 100
National Stock Exchange and Nasdaq 100
Β 

Recently uploaded

VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 
Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432
motiram463
Β 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
priyasharma62062
Β 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
dipikadinghjn ( Why You Choose Us? ) Escorts
Β 

Recently uploaded (20)

VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
VIP Independent Call Girls in Mira Bhayandar 🌹 9920725232 ( Call Me ) Mumbai ...
Β 
Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432Best VIP Call Girls Morni Hills Just Click Me 6367492432
Best VIP Call Girls Morni Hills Just Click Me 6367492432
Β 
Q1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdfQ1 2024 Conference Call Presentation vF.pdf
Q1 2024 Conference Call Presentation vF.pdf
Β 
(Sexy Sheela) Call Girl Mumbai Call Now πŸ‘‰9920725232πŸ‘ˆ Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now πŸ‘‰9920725232πŸ‘ˆ Mumbai Escorts 24x7(Sexy Sheela) Call Girl Mumbai Call Now πŸ‘‰9920725232πŸ‘ˆ Mumbai Escorts 24x7
(Sexy Sheela) Call Girl Mumbai Call Now πŸ‘‰9920725232πŸ‘ˆ Mumbai Escorts 24x7
Β 
Airport Road Best Experience Call Girls Number-πŸ“žπŸ“ž9833754194 Santacruz MOst Es...
Airport Road Best Experience Call Girls Number-πŸ“žπŸ“ž9833754194 Santacruz MOst Es...Airport Road Best Experience Call Girls Number-πŸ“žπŸ“ž9833754194 Santacruz MOst Es...
Airport Road Best Experience Call Girls Number-πŸ“žπŸ“ž9833754194 Santacruz MOst Es...
Β 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
Β 
Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024Lion One Corporate Presentation May 2024
Lion One Corporate Presentation May 2024
Β 
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚑ 9920725232 What It Takes To Be The Best ...
Β 
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
Mira Road Memorable Call Grls Number-9833754194-Bhayandar Speciallty Call Gir...
Β 
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
VIP Call Girl in Mira Road πŸ’§ 9920725232 ( Call Me ) Get A New Crush Everyday ...
Β 
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
20240419-SMC-submission-Annual-Superannuation-Performance-Test-–-design-optio...
Β 
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
8377087607, Door Step Call Girls In Kalkaji (Locanto) 24/7 Available
Β 
Webinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech BelgiumWebinar on E-Invoicing for Fintech Belgium
Webinar on E-Invoicing for Fintech Belgium
Β 
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
CBD Belapur Expensive Housewife Call Girls Number-πŸ“žπŸ“ž9833754194 No 1 Vipp HIgh...
Β 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
Β 
Pension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdfPension dashboards forum 1 May 2024 (1).pdf
Pension dashboards forum 1 May 2024 (1).pdf
Β 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
Β 
Kharghar Blowjob Housewife Call Girls NUmber-9833754194-CBD Belapur Internati...
Kharghar Blowjob Housewife Call Girls NUmber-9833754194-CBD Belapur Internati...Kharghar Blowjob Housewife Call Girls NUmber-9833754194-CBD Belapur Internati...
Kharghar Blowjob Housewife Call Girls NUmber-9833754194-CBD Belapur Internati...
Β 
W.D. Gann Theory Complete Information.pdf
W.D. Gann Theory Complete Information.pdfW.D. Gann Theory Complete Information.pdf
W.D. Gann Theory Complete Information.pdf
Β 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
Β 

FINANCIAL MARKET PREDICTION AND PORTFOLIO OPTIMIZATION USING FUZZY DECISION TREES

  • 1. FINANCIAL MARKET PREDICTION AND PORTFOLIO OPTIMIZATION USING FUZZY DECISION TREES ABHRA BASAK KRISHNA KARNANI
  • 2. Security Screening and Selection SECURITY SCREENING AND SELECTION
  • 4. STOCK CLASSIFICATION β€’ Security Evaluation using Technical Indicators β€’ Moving Average Convergence Divergence (MACD) β€’ Relative Strength Indicator (RSI) β€’ Commodity Channel Index (CCI) β€’ Bollinger Bands β€’ Momentum Oscillators
  • 5. STOCK RANKING β€’ Corporate Evaluation using Fundamental Indicators β€’ Profitability – Returns on Assets and Equity β€’ Management Performance – Assets and Inventories Turnover β€’ Capital Structure – Assets to Liabilities, Liabilities to Equity β€’ Sales, Profit, Transaction Volume, Marginal Account
  • 6. STOCK SELECTION β€’ Select 3 different stocks – one each showing uptrend, downtrend, and steady state β€’ Attempt to display different profit making strategies in stock trading β€’ All subsequent processes are applied on these 3 stocks
  • 8. TRAINING PHASE β€’ Gather Historical Stock data β€’ Obtain financial time series and price charts from data β€’ Determine technical indicators and momentum oscillators from charts
  • 10. Training Phase PIECEWISE LINEAR REPRESENTATION METHOD
  • 11. PIECEWISE LINEAR REPRESENTATION METHOD β€’ Mining of trading points β€’ Points of begin (P) and end (Q) on a term of closing prices in the ascending order of dates β€’ Point K having longest straight line distance between P and Q β€’ K is the turning point resulting in 2 segments. β€’ Apply recursively in the resulting segments till minimum distance threshold
  • 12. PIECEWISE LINEAR REPRESENTATION METHOD β€’ Trading signals transformation β€’ Convert PLR segments into trading signals β€’ Uptrend segment β€’ I <= L/2 : 0.5 – (I – 1) / L β€’ I <= L/2 : I / L – 0.5 β€’ Downtrend segment β€’ I <= L/2 : 0.5 + (I – 1) / L β€’ I <= L/2 : 1.5 – I / L β€’ Ranges from 0 to 1 β€’ Can also act as a potential technical indicator
  • 14. STEPWISE REGRESSION ANALYSIS METHOD β€’ Data Preprocessing for Feature Selection β€’ Used to select important factors which affect forecasting results β€’ Sort out affecting variables to leave more influential ones in the model β€’ Adding or removing factors to find the fittest combination, decided by Ftest statistical value (takes into account the PLR)
  • 15. Training Phase FUZZY RULES AND DECISION TREES
  • 16. FUZZY RULES AND DECISION TREES β€’ Fuzzification β€’ Set of indicators selected by SRA fed into data fuzzification module β€’ This module transforms technical indicators to fuzzy values β€’ Adopt triangular and trapezoidal membership functions for the module β€’ Output decision is obtained as a Gaussian membership function
  • 18. FUZZY RULES AND DECISION TREES β€’ Defuzzification β€’ Output from fuzzy inference scheme is transformed into a meaningful decision β€’ Implemented using the popular Center of Area (COA) methods in the Fuzzy Control Module’s algorithm
  • 19. FUZZY RULES AND DECISION TREES β€’ Examples of Fuzzy decision rules β€’ If MACD above signal line, then BUY β€’ If RSI increases above 70, then market is BULLISH β€’ If Price increases above BB upper then market is BULLISH β€’ If MACD is LOW and RSI upper goes HIGH to LOW, then SELL β€’ If MACD is HIGH and CCI upper goes LOW to HIGH, then BUY
  • 21. GENETIC ALGORITHMS AND REFINEMENT β€’ Evolving the decision tree using GA β€’ Fitness function set as forecasting accuracy of the model Selection Crossover Mutation Replace Termination
  • 22. RESULT β€’ Decision of Stock price and transaction will be determined by the decision tree on the basis of trends and indicators β€’ Uptrend if hike in price is greater than 0.5% β€’ Downtrend if fall in price is less than -0.5% β€’ Steady state / hold if y is between -0.5% and 0.5%
  • 23. CREDITS β€’ A Collaborative Trading Model by Support Vector Regression and TS Fuzzy Rule for Daily Stock Turning Points Detection – Wu, Chang, Chang, Zhang β€’ Evolving and Clustering Fuzzy Decision Trees for Financial Time Series Data Forecasting – Lai, Fan, Huang, Chang β€’ A Fuzzy Logic Based Trading System – Chueng, Keymak β€’ Nigerian Stock Market Investment using a Fuzzy Strategy – Neenwi, Kabari, Asagba β€’ Common Stock Portfolio Selection: A multiple criteria Decision making Methodology and an application to the Athens Stock Exchange – Xidonas, Askounis, Psarras