SlideShare a Scribd company logo
1 of 23
Integrating a Piecewise Linear Representation
   Method and a Neural Network Model for
       Stock Trading Points Prediction


      Pei-Chann Chang, Chin-Yuan Fan, and Chen-Hao Liu
                         TSMCC.2008

                   Presenter: Yu Hsiang Huang
                        Date: 2011-12-30
Outline
• Introduction
• IPLR Model
  – Piecewise Linear Representation
  – Stepwise Regression Algorithm
  – Genetic Algorithm
  – Back-propagation Network
• Experimental results
• Conclusion
Introduction
• Stock market
  – Highly nonlinear dynamic system
      • Interest rates, inflation rate, economic environments, political issues…

• Most resent research
  – Derive accurate models
  – Predict the future price of stock movement

• In this paper
  – Trading decision
      • Buy/Sell points
  – Critical role to make a profit
IPLR Model
                                    Candidate Stocks Screening
                                                       Selected stock
                                                 GA

                     Technical indexes          SRA                  Related input variable

no                        PLR             Turning point                    Trading signal

             Reach                                                   Expect output                input
           number of
          generation ?                     Calculate
                                            profit
                                                              Test             BP(train)
                 yes

              End                                              Trading decision

                                         Related input variables          BP               Buy/sell
     Related input variables
Genetic Algorithm

Initialization                                Randomly generate initial population

                                                                                                    50
                                          1    0    … 0       1                                     10
                                                                                                    0.8
                                                                                                    0.1


 Selection                       Fitness function                   roulette-wheel selection

                                                                     Tournament selection



Reproduction                     Crossover              Two-point                        Mutation



             genetic diversity




Termination                         # of generation , reach the best fitness value , …
IPLR Model
      Candidate Stocks Screening
                      Selected stock
                 GA



PLR         Turning point              Trading signal
Piecewise Linear Representation



Stock                          Turning
price                           point




              Turning
               point


         t1             t2               t3   t4   t5
                                                        date
                    segment1
Piecewise Linear Representation
Piecewise Linear Representation
                      Get trend of time series data




  Calculate trend Only in turning point
Piecewise Linear Representation
                       Derive the trading signal


      Tradition

Up  Down : 1 [sell]
Down  UP : 0 [buy]

                                              Not quite related to the
                                                  price variation
Piecewise Linear Representation
                          Derive the trading signal


Redefine the trading signals
IPLR Model
               Candidate Stocks Screening
                               Selected stock
                          GA

Technical indexes         SRA               Related input variable

   PLR               Turning point               Trading signal
Stepwise Regression Algorithm
Stepwise Regression Algorithm

                                           Apply by SPSS (Statistic Package for Social Science)




                          Calculate the significant value S

                    yes                                       no
X1
X2              Y
X3
 X4                                                       no
                                      Last X ?
      X5
           Xp                        yes
                                      Output
IPLR Model
               Candidate Stocks Screening
                               Selected stock
                          GA

Technical indexes         SRA               Related input variable

   PLR               Turning point                Trading signal

                                            Expect output            input


                                                    BP(train)
Back-propagation Network
IPLR Model
               Candidate Stocks Screening
                                Selected stock
                           GA

Technical indexes         SRA                 Related input variable

   PLR               Turning point                  Trading signal

                                              Expect output                input


                                       Test             BP(train)


                                        Trading decision

                    Related input variables        BP               Buy/sell
Back-propagation Network
                                              Trading decision

            Test data input to BP
Change of the trading signal pass through the boundary value:
Change is upward  sell
Change is downward  buy




                                                                 Boundary value : 0.508
IPLR Model
                                    Candidate Stocks Screening
                                                       Selected stock
                                                 GA

                     Technical indexes          SRA                  Related input variable

no                        PLR             Turning point                    Trading signal

             Reach                                                   Expect output                input
           number of
          generation ?                     Calculate
                                            profit
                                                              Test             BP(train)
                 yes

              End                                              Trading decision

                                         Related input variables          BP               Buy/sell
     Related input variables
Experimental results
Historic data : from 2004/01/02 to 2006/04/12
Training data : 2004/01/02 to 2005/09/30
Testing data : 2005/10/1 to 2006/04/12

Up-trend : 30-day moving average cross over 90-day moving average
Down-trend : 30-day moving average cross down 90-day moving average
Steady : no major tendency of 30-day moving average with 90-day moving average
Experimental results


 Up




Steady



Down
Experimental results
S&P500 : four years data [2000-2003]
Conclusion
• Trading decision > determine stock price itself
• IPLR
  – PLR : find turning point
  – GA : improve the threshold value for PLR
  – BPN : train the connection of the model
  – Significant amount of profit
• Clustering of financial time series data
• A different forecasting model
  – SVM , FNN,…
• A similar training pattern

More Related Content

What's hot

Learn A Simple Range Trading Strategy
Learn A Simple Range Trading StrategyLearn A Simple Range Trading Strategy
Learn A Simple Range Trading StrategyNetpicksTrading
 
Rsi pro forex trading system cash back forex rebaitess ( pdf drive ) (2)
Rsi pro forex trading system   cash back forex rebaitess ( pdf drive ) (2)Rsi pro forex trading system   cash back forex rebaitess ( pdf drive ) (2)
Rsi pro forex trading system cash back forex rebaitess ( pdf drive ) (2)hitesh836039
 
The power to predict basics and advanced forex analysis
The power to predict   basics and advanced forex analysisThe power to predict   basics and advanced forex analysis
The power to predict basics and advanced forex analysisPower Point
 
Follow the Money and short names.pdf
Follow the Money and short names.pdfFollow the Money and short names.pdf
Follow the Money and short names.pdfHungLe593957
 
Simple scalping secret strategy
Simple scalping secret strategySimple scalping secret strategy
Simple scalping secret strategyHeri Valiant
 
How to Identify and Draw Support and Resistance Levels on Any Chart
How to Identify and Draw Support and Resistance Levels on Any ChartHow to Identify and Draw Support and Resistance Levels on Any Chart
How to Identify and Draw Support and Resistance Levels on Any Chart My Trading Skills
 
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...ForexTraining
 
Technical Analysis Preview
Technical Analysis PreviewTechnical Analysis Preview
Technical Analysis Previewhaven4981
 
LC's Forex Trading System
LC's Forex Trading SystemLC's Forex Trading System
LC's Forex Trading Systemlcchong76
 
How To Swing Trade Stocks For Consistent Profits
How To Swing Trade Stocks For Consistent ProfitsHow To Swing Trade Stocks For Consistent Profits
How To Swing Trade Stocks For Consistent ProfitsMorpheus Trading Group
 
All you need to know.pdf
All you need to know.pdfAll you need to know.pdf
All you need to know.pdfHungLe593957
 
What are Key Chart Levels and How to Trade Them
What are Key Chart Levels and How to Trade ThemWhat are Key Chart Levels and How to Trade Them
What are Key Chart Levels and How to Trade Them My Trading Skills
 
Bollinger Bands - Here is how to trade them
Bollinger Bands - Here is how to trade themBollinger Bands - Here is how to trade them
Bollinger Bands - Here is how to trade themNetpicksTrading
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setupsbtrader
 
4 hour macd forex strategy
4 hour macd forex strategy4 hour macd forex strategy
4 hour macd forex strategyErnani Dias
 
Magic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBookMagic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBookeforexcourse web
 

What's hot (20)

Learn A Simple Range Trading Strategy
Learn A Simple Range Trading StrategyLearn A Simple Range Trading Strategy
Learn A Simple Range Trading Strategy
 
Rsi pro forex trading system cash back forex rebaitess ( pdf drive ) (2)
Rsi pro forex trading system   cash back forex rebaitess ( pdf drive ) (2)Rsi pro forex trading system   cash back forex rebaitess ( pdf drive ) (2)
Rsi pro forex trading system cash back forex rebaitess ( pdf drive ) (2)
 
The power to predict basics and advanced forex analysis
The power to predict   basics and advanced forex analysisThe power to predict   basics and advanced forex analysis
The power to predict basics and advanced forex analysis
 
Cmt learning objective 5 trend system part ii
Cmt learning objective 5    trend system part iiCmt learning objective 5    trend system part ii
Cmt learning objective 5 trend system part ii
 
Follow the Money and short names.pdf
Follow the Money and short names.pdfFollow the Money and short names.pdf
Follow the Money and short names.pdf
 
Trading Strategies
Trading StrategiesTrading Strategies
Trading Strategies
 
Simple scalping secret strategy
Simple scalping secret strategySimple scalping secret strategy
Simple scalping secret strategy
 
Cmt learning objective 3 time based trend calculation
Cmt learning objective 3   time based trend calculationCmt learning objective 3   time based trend calculation
Cmt learning objective 3 time based trend calculation
 
How to Identify and Draw Support and Resistance Levels on Any Chart
How to Identify and Draw Support and Resistance Levels on Any ChartHow to Identify and Draw Support and Resistance Levels on Any Chart
How to Identify and Draw Support and Resistance Levels on Any Chart
 
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...
Trade Forex From Home - 10 Biggest Mistakes New Forex Traders Make (And How T...
 
Technical Analysis Preview
Technical Analysis PreviewTechnical Analysis Preview
Technical Analysis Preview
 
LC's Forex Trading System
LC's Forex Trading SystemLC's Forex Trading System
LC's Forex Trading System
 
How To Swing Trade Stocks For Consistent Profits
How To Swing Trade Stocks For Consistent ProfitsHow To Swing Trade Stocks For Consistent Profits
How To Swing Trade Stocks For Consistent Profits
 
All you need to know.pdf
All you need to know.pdfAll you need to know.pdf
All you need to know.pdf
 
ICT Mentorship Month 1 Notes.pdf
ICT Mentorship Month 1 Notes.pdfICT Mentorship Month 1 Notes.pdf
ICT Mentorship Month 1 Notes.pdf
 
What are Key Chart Levels and How to Trade Them
What are Key Chart Levels and How to Trade ThemWhat are Key Chart Levels and How to Trade Them
What are Key Chart Levels and How to Trade Them
 
Bollinger Bands - Here is how to trade them
Bollinger Bands - Here is how to trade themBollinger Bands - Here is how to trade them
Bollinger Bands - Here is how to trade them
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setups
 
4 hour macd forex strategy
4 hour macd forex strategy4 hour macd forex strategy
4 hour macd forex strategy
 
Magic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBookMagic Breakout Forex Trading Strategy PDF eBook
Magic Breakout Forex Trading Strategy PDF eBook
 

Recently uploaded

Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...Suhani Kapoor
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdftbatkhuu1
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 DelhiCall Girls in Delhi
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 

Recently uploaded (20)

Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdf
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 

Integrating a piecewise linear representation method and a neural network model for stock trading points prediction

  • 1. Integrating a Piecewise Linear Representation Method and a Neural Network Model for Stock Trading Points Prediction Pei-Chann Chang, Chin-Yuan Fan, and Chen-Hao Liu TSMCC.2008 Presenter: Yu Hsiang Huang Date: 2011-12-30
  • 2. Outline • Introduction • IPLR Model – Piecewise Linear Representation – Stepwise Regression Algorithm – Genetic Algorithm – Back-propagation Network • Experimental results • Conclusion
  • 3. Introduction • Stock market – Highly nonlinear dynamic system • Interest rates, inflation rate, economic environments, political issues… • Most resent research – Derive accurate models – Predict the future price of stock movement • In this paper – Trading decision • Buy/Sell points – Critical role to make a profit
  • 4. IPLR Model Candidate Stocks Screening Selected stock GA Technical indexes SRA Related input variable no PLR Turning point Trading signal Reach Expect output input number of generation ? Calculate profit Test BP(train) yes End Trading decision Related input variables BP Buy/sell Related input variables
  • 5. Genetic Algorithm Initialization Randomly generate initial population 50 1 0 … 0 1 10 0.8 0.1 Selection Fitness function roulette-wheel selection Tournament selection Reproduction Crossover Two-point Mutation genetic diversity Termination # of generation , reach the best fitness value , …
  • 6. IPLR Model Candidate Stocks Screening Selected stock GA PLR Turning point Trading signal
  • 7. Piecewise Linear Representation Stock Turning price point Turning point t1 t2 t3 t4 t5 date segment1
  • 9. Piecewise Linear Representation Get trend of time series data Calculate trend Only in turning point
  • 10. Piecewise Linear Representation Derive the trading signal Tradition Up  Down : 1 [sell] Down  UP : 0 [buy] Not quite related to the price variation
  • 11. Piecewise Linear Representation Derive the trading signal Redefine the trading signals
  • 12. IPLR Model Candidate Stocks Screening Selected stock GA Technical indexes SRA Related input variable PLR Turning point Trading signal
  • 14. Stepwise Regression Algorithm Apply by SPSS (Statistic Package for Social Science) Calculate the significant value S yes no X1 X2 Y X3 X4 no Last X ? X5 Xp yes Output
  • 15. IPLR Model Candidate Stocks Screening Selected stock GA Technical indexes SRA Related input variable PLR Turning point Trading signal Expect output input BP(train)
  • 17. IPLR Model Candidate Stocks Screening Selected stock GA Technical indexes SRA Related input variable PLR Turning point Trading signal Expect output input Test BP(train) Trading decision Related input variables BP Buy/sell
  • 18. Back-propagation Network Trading decision Test data input to BP Change of the trading signal pass through the boundary value: Change is upward  sell Change is downward  buy Boundary value : 0.508
  • 19. IPLR Model Candidate Stocks Screening Selected stock GA Technical indexes SRA Related input variable no PLR Turning point Trading signal Reach Expect output input number of generation ? Calculate profit Test BP(train) yes End Trading decision Related input variables BP Buy/sell Related input variables
  • 20. Experimental results Historic data : from 2004/01/02 to 2006/04/12 Training data : 2004/01/02 to 2005/09/30 Testing data : 2005/10/1 to 2006/04/12 Up-trend : 30-day moving average cross over 90-day moving average Down-trend : 30-day moving average cross down 90-day moving average Steady : no major tendency of 30-day moving average with 90-day moving average
  • 22. Experimental results S&P500 : four years data [2000-2003]
  • 23. Conclusion • Trading decision > determine stock price itself • IPLR – PLR : find turning point – GA : improve the threshold value for PLR – BPN : train the connection of the model – Significant amount of profit • Clustering of financial time series data • A different forecasting model – SVM , FNN,… • A similar training pattern