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

LC's Forex Trading System
LC's Forex Trading SystemLC's Forex Trading System
LC's Forex Trading Systemlcchong76
 
How to Use Pivot Points in Day Trading
How to Use Pivot Points in Day TradingHow to Use Pivot Points in Day Trading
How to Use Pivot Points in Day TradingVivek Rattan
 
Technical Analysis Preview
Technical Analysis PreviewTechnical Analysis Preview
Technical Analysis Previewhaven4981
 
Price action trading1
Price action trading1Price action trading1
Price action trading1labyo
 
Profit from trapped traders with 2 simple setups
Profit from trapped traders with 2 simple setupsProfit from trapped traders with 2 simple setups
Profit from trapped traders with 2 simple setupsNetpicksTrading
 
Top 8 Forex Trading Strategies That Pro Traders Use
Top 8 Forex Trading Strategies That Pro Traders UseTop 8 Forex Trading Strategies That Pro Traders Use
Top 8 Forex Trading Strategies That Pro Traders UseSyrous Pejman
 
Trading the cloud the tenken sen
Trading the cloud   the tenken senTrading the cloud   the tenken sen
Trading the cloud the tenken senChris Nice
 
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
 
Trade what you see not what you think
Trade what you see not what you thinkTrade what you see not what you think
Trade what you see not what you thinkNinja Tan
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setupsbtrader
 
Simple scalping secret strategy
Simple scalping secret strategySimple scalping secret strategy
Simple scalping secret strategyHeri Valiant
 
Oliver velez swing trading tactics
Oliver velez   swing trading tacticsOliver velez   swing trading tactics
Oliver velez swing trading tacticsAislan Pereira
 
178511583 5-trading-tactics-velez
178511583 5-trading-tactics-velez178511583 5-trading-tactics-velez
178511583 5-trading-tactics-velezPaulo Klosowski
 
RSTARFX VIP HANDBOOK.pdf
RSTARFX VIP HANDBOOK.pdfRSTARFX VIP HANDBOOK.pdf
RSTARFX VIP HANDBOOK.pdfVictorRolland3
 
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdfOTHMANKHALIFI3
 
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
 

What's hot (20)

LC's Forex Trading System
LC's Forex Trading SystemLC's Forex Trading System
LC's Forex Trading System
 
How to Use Pivot Points in Day Trading
How to Use Pivot Points in Day TradingHow to Use Pivot Points in Day Trading
How to Use Pivot Points in Day Trading
 
Technical Analysis Preview
Technical Analysis PreviewTechnical Analysis Preview
Technical Analysis Preview
 
Price action trading1
Price action trading1Price action trading1
Price action trading1
 
Profit from trapped traders with 2 simple setups
Profit from trapped traders with 2 simple setupsProfit from trapped traders with 2 simple setups
Profit from trapped traders with 2 simple setups
 
Ichimoku
IchimokuIchimoku
Ichimoku
 
Top 8 Forex Trading Strategies That Pro Traders Use
Top 8 Forex Trading Strategies That Pro Traders UseTop 8 Forex Trading Strategies That Pro Traders Use
Top 8 Forex Trading Strategies That Pro Traders Use
 
Trading the cloud the tenken sen
Trading the cloud   the tenken senTrading the cloud   the tenken sen
Trading the cloud the tenken sen
 
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
 
Trade what you see not what you think
Trade what you see not what you thinkTrade what you see not what you think
Trade what you see not what you think
 
High Probability Trading Setups
High Probability Trading SetupsHigh Probability Trading Setups
High Probability Trading Setups
 
Pivot points
Pivot pointsPivot points
Pivot points
 
Simple scalping secret strategy
Simple scalping secret strategySimple scalping secret strategy
Simple scalping secret strategy
 
Oliver velez swing trading tactics
Oliver velez   swing trading tacticsOliver velez   swing trading tactics
Oliver velez swing trading tactics
 
178511583 5-trading-tactics-velez
178511583 5-trading-tactics-velez178511583 5-trading-tactics-velez
178511583 5-trading-tactics-velez
 
RSTARFX VIP HANDBOOK.pdf
RSTARFX VIP HANDBOOK.pdfRSTARFX VIP HANDBOOK.pdf
RSTARFX VIP HANDBOOK.pdf
 
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf
04 LIQUIDITY CONCEPTS@SmartMoney_Mindset.pdf
 
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)
 
634268797027443776(1)
634268797027443776(1)634268797027443776(1)
634268797027443776(1)
 
RSI Strategy
RSI StrategyRSI Strategy
RSI Strategy
 

Recently uploaded

BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCRashishs7044
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckPitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckHajeJanKamps
 

Recently uploaded (20)

BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckPitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
 

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