SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
Entropy Rate and Profitability
      of Technical Analysis:
       Experiments on the
       NYSE US 100 Stocks

Nicolas NAVET – INRIA
France
nnavet@loria.fr

Shu-Heng CHEN – AIECON/NCCU
Shu-
Taiwan
chchen@nccu.edu.tw

CIEF2007 - 07/22/2007
                                                 1




                   Outline

Entropy Rate : uncertainty remaining in the
next information produced given knowledge of
the past   measure of predictability

Questions :
  Do stocks exhibit differing entropy rates?
  Does low entropy imply profitability of TA?

Methodology :
   NYSE US 100 Stocks – daily data – 2000-2006
                                      2000-
   TA rules induced using Genetic Programming

                                                 2




                                                     1
Estimating entropy

Active field of research in neuroscience
Maximum-likehood (“Plug-in”):
     construct an n-th order Markov chain
     not suited to capture long/medium term
     dependencies
Compression-based techniques :
     Lempel-Ziv algorithm, Context-Tree Weighting
     Lempel-               Context-
     Fast convergence rate – suited to long/medium
     term dependencies


                                                    3




          Selected estimator

Kontoyannis et al 1998
                      Ã      n
                                     !−1
              ˆ           1X
              hSM =             Λi         log2 n
                          n i=1

Λi    : length of the shortest string that does
      not appear in the i previous symbols



Example: 0 1 1 0 0 1 0 1 1 0 0

                  Λ6 = 3
                                                    4




                                                        2
Performance of the estimator

Experiments :
  Uniformly distributed r.v. in {1,2,..,8} –
                        r.v.
                          P
  theoretical entropy = − 8 1/8 log2 p = 3 b.p.c.
                             i=1

  Boost C++ random generator
  Sample of size 10000
               ˆ
               hSM = 2.96
                                        ˆ
  Note 1 : with sample of size 100000, hSM ≥ 2.99
  Note 2 : with standard C rand() function and
                      ˆ
sample size = 10000, hSM = 2.77

                                                    5




Preprocessing the data (1/2)

                                                pt
Log ratio between closing prices:     rt = ln( pt−1 )

Discretization : {rt } ∈ R → {At } ∈ N




   3,4,1,0,2,6,2,…


                                                    6




                                                        3
Preprocessing the data (2/2)
  Discretization is tricky – 2 problems:
      How many bins? (size of the alphabet)
      How many values in each bin?

  Guidelines : maximize entropy with a number of
bins in link with the sample size

 Here :
     alphabet of size 8
     same number of values in each bin
   (“homogenous partitioning”)
                                                                                                       7




  Entropy of NYSE US 100 stocks –
         period 2000-2006
                25
                20




                                                                               Mean = Median = 2.75
                                                                               Max = 2.79
                15




                                                                               Min = 2.68
      Density

                10




                                                                               Rand() C lib = 2.77 !
                5
                0




                     2.66   2.68   2.70   2.72     2.74   2.76   2.78   2.80

                                             entropy


Note : a normal distribution of same mean and standard deviation is
plotted for comparison.
                                                                                                       8




                                                                                                           4
Entropy is high but price time
                         series are not random!
          50




                                                                                 50
          40




                                                                                 40
          30




                                                                                 30
Density




                                                                       Density
          20




                                                                                 20
          10




                                                                                 10
          0




                                                                                 0

               2.65     2.70            2.75             2.80   2.85                  2.65      2.70            2.75             2.80   2.85

                               Entropy (original data)                                                 Entropy (shuffled data)




               Original time series                                                          Randomly shuffled
                                                                                                time series

                                                                                                                                               9




                                Stocks under study
                                                                       Symbol                 Entropy
                                                                        OXY                    2.789
                       Highest entropy                                  VLO                    2.787
                                                                        MRO                    2.785
                         time series
                                                                        BAX                     2.78
                                                                        WAG                    2.776

                                                                       Symbol                  Entropy
                                                                        TWX                     2.677
                       Lowest entropy                                   EMC                     2.694
                                                                         C                      2.712
                         time series                                    JPM                     2.716
                                                                         GE                     2.723



                                                                                                                                               10




                                                                                                                                                    5
Autocorrelation analysis

         Typical high                         Typical low
    complexity stock (OXY)               complexity stock (EMC)




  Up to a lag 100, there are on average 6 autocorrelations outside
the 99% confidence bands for the lowest entropy stocks versus 2
for the highest entropy stocks


                                                                  11




    Part 2 : does low entropy
    imply better profitability
              of TA?
    Addressed here: are GP-induced
                          GP-
    rules more efficient on low-entropy
                            low-
    stocks ?




                                                                  12




                                                                       6
GP : the big picture
         Training              Validation          Out-of-sample
         interval               interval              interval

   1 ) Creation of             Further               Performance
   the trading rules         selection on             evaluation
   using GP                  unseen data
   2) Selection of                  -
   the best
   resulting                One strategy is
   strategies                 chosen for
                            out-of-sample




2000                2002                    2004                  2006

                                                                        13




GP performance assessment

Buy and Hold is not a good benchmark
GP is compared with lottery trading (LT) of
   same frequency : avg nb of transactions
   same intensity : time during which a position is held

Implementation of LT: random sequences
with the right characteristics, e.g:
                                e.g:
0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,…
0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,…

GP>LT ? LT>GP ? Student’s t-test at 95%
                          t-
confidence level – 20 GP runs / 1000 LT runs


                                                                        14




                                                                             7
Experimental setup
Data preprocessed with 100-days MA
Trading systems:
  Entry (long): GP induced rule with a classical
  set of functions / terminals
  Exit:
    Stop loss : 5%
    Profit target : 10%
    90-days stop
     90-
Fitness: net return - Initial equity: 100K$
- position sizing : 100%

                                                         15




Results: high entropy stocks
       GP net profits   LT net profits   GP>LT?   LT>GP?
OXY      15.5K$            14K$          No       No
V LO       7K$            11.5K$         No       No
M RO      15K$            18.5K$         No       No
BAX       24K$             13K$         Yes       No
W AG       6K$           −0.5K$         Yes       No


GP is always profitable
LT is never better than GP (at a 95% confidence
level)
GP outperforms LT 2 times out of 5 (at a 95%
confidence level)
                                                         16




                                                              8
Results: low entropy stocks
          GP net profits     LT net profits   GP>LT?    LT>GP?
  TWX        −9K$             −1.5K$          No        Yes
  EM C      −16.5K$            −11K$          No        Yes
    C        15K$              18.5K$         No        No
  JP M        6K$               10K$          No        No
   GE       −0.5K$              0.5K$         No        No

 GP is never better than LT (at a 95% confidence
 level)
 LT outperforms GP 2 times out of 5 (at a 95%
 confidence level)



                                                                   17




           Explanations (1/2)
 GP is not good when training period is very
 different from out-of-sample e.g.
                out- of-
            Typical low                      Typical high
       complexity stock (EMC)           complexity stock (MRO)




2000                     2006        2000                        2006

                                                                   18




                                                                        9
Explanations (2/2)
The 2 cases where GP outperforms LT : training
quite similar to out-of-sample
                 out- of-


       BAX                       WAG




                                                 19




             Conclusions

EOD NYSE time series have high but
differing entropies
There are (weak) temporal dependencies
Here, more predictable ≠ less risks
GP works well if training is similar to out-
of-sample




                                                 20




                                                      10
Perspectives

Higher predictability level can be observed
at intraday timeframe (what about higher
timeframes?)
Experiments needed with stocks less
similar than the ones from NYSE US 100
Predictability tells us about the existence
of temporal patterns – but how easy /
difficult to discover them ??


                                              21




                                      ?
                                              22




                                                   11

Más contenido relacionado

Destacado

Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Nicolas Navet
 
Join The Festivities By Clicking LIKE..
Join The Festivities By Clicking LIKE..Join The Festivities By Clicking LIKE..
Join The Festivities By Clicking LIKE..chalicesnowflower
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore schedulingNicolas Navet
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelNicolas Navet
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsNicolas Navet
 
In-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardIn-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardNicolas Navet
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleNicolas Navet
 
Configuring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentConfiguring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentNicolas Navet
 

Destacado (13)

Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
Pushing the limits of CAN - Scheduling frames with offsets provides a major p...
 
Join The Festivities By Clicking LIKE..
Join The Festivities By Clicking LIKE..Join The Festivities By Clicking LIKE..
Join The Festivities By Clicking LIKE..
 
Ertss2010 multicore scheduling
Ertss2010 multicore schedulingErtss2010 multicore scheduling
Ertss2010 multicore scheduling
 
New policies
New policiesNew policies
New policies
 
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety LevelAperiodic Traffic in Response Time Analyses with Adjustable Safety Level
Aperiodic Traffic in Response Time Analyses with Adjustable Safety Level
 
Optimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word CombinatoricsOptimizing the Robustness of X-by-Wire using Word Combinatorics
Optimizing the Robustness of X-by-Wire using Word Combinatorics
 
561_Final
561_Final561_Final
561_Final
 
In-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look ForwardIn-Vehicle Networking : a Survey and Look Forward
In-Vehicle Networking : a Survey and Look Forward
 
Automating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication CycleAutomating the Configuration of the FlexRay Communication Cycle
Automating the Configuration of the FlexRay Communication Cycle
 
Configuring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segmentConfiguring the communication on FlexRay: the case of the static segment
Configuring the communication on FlexRay: the case of the static segment
 
Final_project
Final_projectFinal_project
Final_project
 
Low Power Techniques
Low Power TechniquesLow Power Techniques
Low Power Techniques
 
Programació RAC1 2012-13
Programació RAC1 2012-13Programació RAC1 2012-13
Programació RAC1 2012-13
 

Similar a Cief2007 nn shc_slides

Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Sourjya Dutta
 
The Back Propagation Learning Algorithm
The Back Propagation Learning AlgorithmThe Back Propagation Learning Algorithm
The Back Propagation Learning AlgorithmESCOM
 
Sparse Data Structures for Weighted Bipartite Matching
Sparse Data Structures for Weighted Bipartite Matching Sparse Data Structures for Weighted Bipartite Matching
Sparse Data Structures for Weighted Bipartite Matching Jason Riedy
 
Beating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit ArithmeticBeating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit Arithmeticinside-BigData.com
 
Ass2 mth ddp
Ass2 mth ddpAss2 mth ddp
Ass2 mth ddptariq88
 
Ass2 mth ddp
Ass2 mth ddpAss2 mth ddp
Ass2 mth ddptariq88
 
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODEL
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODELSEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODEL
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODELgrssieee
 
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'Cresset
 
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. ProcessorImplementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. ProcessorPTIHPA
 
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012Big Data Spain
 
Lab manual uoh_ee370
Lab manual uoh_ee370Lab manual uoh_ee370
Lab manual uoh_ee370slatano
 
Self Organinising neural networks
Self Organinising  neural networksSelf Organinising  neural networks
Self Organinising neural networksESCOM
 

Similar a Cief2007 nn shc_slides (15)

December 7, Projects
December 7, ProjectsDecember 7, Projects
December 7, Projects
 
Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...Wavelet transform and its applications in data analysis and signal and image ...
Wavelet transform and its applications in data analysis and signal and image ...
 
The Back Propagation Learning Algorithm
The Back Propagation Learning AlgorithmThe Back Propagation Learning Algorithm
The Back Propagation Learning Algorithm
 
Sparse Data Structures for Weighted Bipartite Matching
Sparse Data Structures for Weighted Bipartite Matching Sparse Data Structures for Weighted Bipartite Matching
Sparse Data Structures for Weighted Bipartite Matching
 
Beating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit ArithmeticBeating Floating Point at its Own Game: Posit Arithmetic
Beating Floating Point at its Own Game: Posit Arithmetic
 
Ass2 mth ddp
Ass2 mth ddpAss2 mth ddp
Ass2 mth ddp
 
Ass2 mth ddp
Ass2 mth ddpAss2 mth ddp
Ass2 mth ddp
 
06 Arithmetic 1
06 Arithmetic 106 Arithmetic 1
06 Arithmetic 1
 
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODEL
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODELSEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODEL
SEGMENTATION OF POLARIMETRIC SAR DATA WITH A MULTI-TEXTURE PRODUCT MODEL
 
The FFT And Spectral Analysis
The FFT And Spectral AnalysisThe FFT And Spectral Analysis
The FFT And Spectral Analysis
 
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'
David Evans, Eli-Lilly, 'Field-Aligned Matched Pairs'
 
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. ProcessorImplementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
Implementing 3D SPHARM Surfaces Registration on Cell B.E. Processor
 
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012
Memory efficient applications. FRANCESC ALTED at Big Data Spain 2012
 
Lab manual uoh_ee370
Lab manual uoh_ee370Lab manual uoh_ee370
Lab manual uoh_ee370
 
Self Organinising neural networks
Self Organinising  neural networksSelf Organinising  neural networks
Self Organinising neural networks
 

Último

Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Commonwealth
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companiesprashantbhati354
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...Henry Tapper
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithAdamYassin2
 
chapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendschapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendslemlemtesfaye192
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfHenry Tapper
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfAdnet Communications
 
Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)ECTIJ
 
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdf
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdfmagnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdf
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdfHenry Tapper
 
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
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证jdkhjh
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...Amil Baba Dawood bangali
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Sapana Sha
 
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
 
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...Amil Baba Dawood bangali
 
Current Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxCurrent Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxuzma244191
 
Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfMichael Silva
 
Bladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex
 

Último (20)

Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]Economic Risk Factor Update: April 2024 [SlideShare]
Economic Risk Factor Update: April 2024 [SlideShare]
 
Quantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector CompaniesQuantitative Analysis of Retail Sector Companies
Quantitative Analysis of Retail Sector Companies
 
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
letter-from-the-chair-to-the-fca-relating-to-british-steel-pensions-scheme-15...
 
Classical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam SmithClassical Theory of Macroeconomics by Adam Smith
Classical Theory of Macroeconomics by Adam Smith
 
chapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trendschapter_2.ppt The labour market definitions and trends
chapter_2.ppt The labour market definitions and trends
 
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdfBPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
BPPG response - Options for Defined Benefit schemes - 19Apr24.pdf
 
Lundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdfLundin Gold April 2024 Corporate Presentation v4.pdf
Lundin Gold April 2024 Corporate Presentation v4.pdf
 
🔝+919953056974 🔝young Delhi Escort service Pusa Road
🔝+919953056974 🔝young Delhi Escort service Pusa Road🔝+919953056974 🔝young Delhi Escort service Pusa Road
🔝+919953056974 🔝young Delhi Escort service Pusa Road
 
Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)Economics, Commerce and Trade Management: An International Journal (ECTIJ)
Economics, Commerce and Trade Management: An International Journal (ECTIJ)
 
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdf
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdfmagnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdf
magnetic-pensions-a-new-blueprint-for-the-dc-landscape.pdf
 
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
 
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
原版1:1复刻堪萨斯大学毕业证KU毕业证留信学历认证
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024
 
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
NO1 WorldWide online istikhara for love marriage vashikaran specialist love p...
 
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111Call Girls In Yusuf Sarai Women Seeking Men 9654467111
Call Girls In Yusuf Sarai Women Seeking Men 9654467111
 
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]
 
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...
NO1 Certified Ilam kala Jadu Specialist Expert In Bahawalpur, Sargodha, Sialk...
 
Current Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptxCurrent Economic situation of Pakistan .pptx
Current Economic situation of Pakistan .pptx
 
Stock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdfStock Market Brief Deck FOR 4/17 video.pdf
Stock Market Brief Deck FOR 4/17 video.pdf
 
Bladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results PresentationBladex 1Q24 Earning Results Presentation
Bladex 1Q24 Earning Results Presentation
 

Cief2007 nn shc_slides

  • 1. Entropy Rate and Profitability of Technical Analysis: Experiments on the NYSE US 100 Stocks Nicolas NAVET – INRIA France nnavet@loria.fr Shu-Heng CHEN – AIECON/NCCU Shu- Taiwan chchen@nccu.edu.tw CIEF2007 - 07/22/2007 1 Outline Entropy Rate : uncertainty remaining in the next information produced given knowledge of the past measure of predictability Questions : Do stocks exhibit differing entropy rates? Does low entropy imply profitability of TA? Methodology : NYSE US 100 Stocks – daily data – 2000-2006 2000- TA rules induced using Genetic Programming 2 1
  • 2. Estimating entropy Active field of research in neuroscience Maximum-likehood (“Plug-in”): construct an n-th order Markov chain not suited to capture long/medium term dependencies Compression-based techniques : Lempel-Ziv algorithm, Context-Tree Weighting Lempel- Context- Fast convergence rate – suited to long/medium term dependencies 3 Selected estimator Kontoyannis et al 1998 Ã n !−1 ˆ 1X hSM = Λi log2 n n i=1 Λi : length of the shortest string that does not appear in the i previous symbols Example: 0 1 1 0 0 1 0 1 1 0 0 Λ6 = 3 4 2
  • 3. Performance of the estimator Experiments : Uniformly distributed r.v. in {1,2,..,8} – r.v. P theoretical entropy = − 8 1/8 log2 p = 3 b.p.c. i=1 Boost C++ random generator Sample of size 10000 ˆ hSM = 2.96 ˆ Note 1 : with sample of size 100000, hSM ≥ 2.99 Note 2 : with standard C rand() function and ˆ sample size = 10000, hSM = 2.77 5 Preprocessing the data (1/2) pt Log ratio between closing prices: rt = ln( pt−1 ) Discretization : {rt } ∈ R → {At } ∈ N 3,4,1,0,2,6,2,… 6 3
  • 4. Preprocessing the data (2/2) Discretization is tricky – 2 problems: How many bins? (size of the alphabet) How many values in each bin? Guidelines : maximize entropy with a number of bins in link with the sample size Here : alphabet of size 8 same number of values in each bin (“homogenous partitioning”) 7 Entropy of NYSE US 100 stocks – period 2000-2006 25 20 Mean = Median = 2.75 Max = 2.79 15 Min = 2.68 Density 10 Rand() C lib = 2.77 ! 5 0 2.66 2.68 2.70 2.72 2.74 2.76 2.78 2.80 entropy Note : a normal distribution of same mean and standard deviation is plotted for comparison. 8 4
  • 5. Entropy is high but price time series are not random! 50 50 40 40 30 30 Density Density 20 20 10 10 0 0 2.65 2.70 2.75 2.80 2.85 2.65 2.70 2.75 2.80 2.85 Entropy (original data) Entropy (shuffled data) Original time series Randomly shuffled time series 9 Stocks under study Symbol Entropy OXY 2.789 Highest entropy VLO 2.787 MRO 2.785 time series BAX 2.78 WAG 2.776 Symbol Entropy TWX 2.677 Lowest entropy EMC 2.694 C 2.712 time series JPM 2.716 GE 2.723 10 5
  • 6. Autocorrelation analysis Typical high Typical low complexity stock (OXY) complexity stock (EMC) Up to a lag 100, there are on average 6 autocorrelations outside the 99% confidence bands for the lowest entropy stocks versus 2 for the highest entropy stocks 11 Part 2 : does low entropy imply better profitability of TA? Addressed here: are GP-induced GP- rules more efficient on low-entropy low- stocks ? 12 6
  • 7. GP : the big picture Training Validation Out-of-sample interval interval interval 1 ) Creation of Further Performance the trading rules selection on evaluation using GP unseen data 2) Selection of - the best resulting One strategy is strategies chosen for out-of-sample 2000 2002 2004 2006 13 GP performance assessment Buy and Hold is not a good benchmark GP is compared with lottery trading (LT) of same frequency : avg nb of transactions same intensity : time during which a position is held Implementation of LT: random sequences with the right characteristics, e.g: e.g: 0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,… 0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,0,0,1,1,1,1,1,1,… GP>LT ? LT>GP ? Student’s t-test at 95% t- confidence level – 20 GP runs / 1000 LT runs 14 7
  • 8. Experimental setup Data preprocessed with 100-days MA Trading systems: Entry (long): GP induced rule with a classical set of functions / terminals Exit: Stop loss : 5% Profit target : 10% 90-days stop 90- Fitness: net return - Initial equity: 100K$ - position sizing : 100% 15 Results: high entropy stocks GP net profits LT net profits GP>LT? LT>GP? OXY 15.5K$ 14K$ No No V LO 7K$ 11.5K$ No No M RO 15K$ 18.5K$ No No BAX 24K$ 13K$ Yes No W AG 6K$ −0.5K$ Yes No GP is always profitable LT is never better than GP (at a 95% confidence level) GP outperforms LT 2 times out of 5 (at a 95% confidence level) 16 8
  • 9. Results: low entropy stocks GP net profits LT net profits GP>LT? LT>GP? TWX −9K$ −1.5K$ No Yes EM C −16.5K$ −11K$ No Yes C 15K$ 18.5K$ No No JP M 6K$ 10K$ No No GE −0.5K$ 0.5K$ No No GP is never better than LT (at a 95% confidence level) LT outperforms GP 2 times out of 5 (at a 95% confidence level) 17 Explanations (1/2) GP is not good when training period is very different from out-of-sample e.g. out- of- Typical low Typical high complexity stock (EMC) complexity stock (MRO) 2000 2006 2000 2006 18 9
  • 10. Explanations (2/2) The 2 cases where GP outperforms LT : training quite similar to out-of-sample out- of- BAX WAG 19 Conclusions EOD NYSE time series have high but differing entropies There are (weak) temporal dependencies Here, more predictable ≠ less risks GP works well if training is similar to out- of-sample 20 10
  • 11. Perspectives Higher predictability level can be observed at intraday timeframe (what about higher timeframes?) Experiments needed with stocks less similar than the ones from NYSE US 100 Predictability tells us about the existence of temporal patterns – but how easy / difficult to discover them ?? 21 ? 22 11