SlideShare a Scribd company logo
About Prognoz

                                Leading Russian developers of Business Intelligence
                                and Performance Management systems




   • international company that has
     been working in the IT market
     since 1991
   • joint team of over 1 200 skilled
     economists, programmers,
     analysts
   • 50% market of BI in Russia
   • Prognoz Platform, 1-st Russian
     platform in Magic Quadrant of
     Gartner
CONTENTS

Technical architecture              Practical approach
                                     Evolution of bubble and risk management
 About MMP cluster                  Monitoring of financial bubbles
 MMP cluster architecture           The system of bubble recognition



Financial bubbles                   Science and experiment

 Historical bubbles                 Financial bubble experiment
 Definition of financial bubbles    Market microstructure approach



Theory of crashes
 LPPL model
 Fitting of the model
 Models selection




                                                                                3
Financial engineering
(Stylized facts)
……………………………………….…................…



Liquidity of the financial market and
assets
……………………………………………………….…..



Agent-based modeling and simulation
……………………………………………………………



Market microstructure analysis
…………………………..………………………………


Bubble detection and diagnosis
……………………………………………………………




                                        4
Technical info:

   Installation Site: Perm state university
   Supercomputer type: Cluster
   Number of nodes: 3
   Number of Cores per node: 12
   CPU type: Intel Xeon 5650 (2.66 GHz)
   RAM per node: 64 Gb
   OS: Windows Server 2003




                                               5
6
Total: 48 services, 72 CPU, 228 Gb RAM
 R is statistical and graphical
  programming environment

 Appeared in 1993 and designed by      There is more than 4300
  Ross Ihaka and Robert Gentleman       packages that allow to use
                                        specialized statistical
 R is a GNU project                    techniques, graphical
                                        devices, import/export
 R – a free implementation of the S    capabilities, reporting tools,
                                        etc.
  language

 It runs on a variety of platforms
  including Windows, Unix and MacOS

 It contains advanced statistical
  routines not yet available in other
  packages

                                                                         7
Commands



          Database




         Batch file   R file


Task                  R file
         Batch file
Runner

         Batch file   R file




                               8
9
10
11
Mr. Greenspan




                             Thefreedictionary.com



                          Charles Kindleberger, MIT




Professor J.Barley Rosser, James Madison University

                                                 13
Authors

 A.Johansen, O.Ledoit, D.Sornette (JLS)




First publication
Large financial crashes (1997)

Famous book
Didier Sornette
Why Stock Markets Crash (2004)


𝑡 𝑐 - critical time when bubble crash or
change to another regime

                                           14
𝑚
𝑙𝑛 𝑝 𝑡   = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡)




                                𝑡𝑐

                                     15
𝐶(𝑡 𝑐 − 𝑡)   𝑚   𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑]




                                          16
𝑙𝑛 𝑝 𝑡   = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡)   𝑚
                                              𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑]




                                                                       17
𝑙𝑛[𝑝(𝑡)]   𝑙𝑛 𝑝 𝑡   = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡)   𝑚   𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑]

                m = 0.01                                         m = 0.3




                m = 0.9                                         m = 1.7




                                                                                  18
𝑙𝑛 𝑝 𝑡   = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡)   𝑚
                                              𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑]

   =3                                              =7



                                  𝑡𝑐 − 𝑡



    𝑡𝑐 − 𝑡                                           𝑡𝑐 − 𝑡

    = 15                                            = 30




    𝑡𝑐 − 𝑡                                           𝑡𝑐 − 𝑡            19
𝑙𝑛 𝑝 𝑡   = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡)   𝑚
                                              𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑]



         =7                                             = 9.5




                                                                       20
For each log periodic curve we fixed:
                                    𝑡0 - start time of the bubble
First model                         𝑡 𝑐 - critical time when bubble crash or
                                    change to another regime

              Second model




                                                             Sample of 𝑡 𝑐



                             𝑡 𝑐1        𝑡 𝑐2


                                                                          21
John von Neumann




                   22
• Main filtration (0<m<1, B<0)
• Residuals stationarity tests (ADF test, Phillips–Perron test)
• Lomb spectral analysis


                                LOMB PERIODOGRAM
                 150




                                                             m
                 100
      P(omega)

                 50
                 0




                       0   10          20          30   40

                                      omega
                                                                  23
Sample of
                      𝑡𝑐
Distribution
   of 𝑡 𝑐




               Quantiles




Risk measure
                               24
25
  25
D.Fantazzini, P.Geraskin,
Everything You Always Wanted to Know
about Log Periodic Power Laws for Bubble Modelling
but Were Afraid to Ask (2011)



                                            26
Timeframe                     LPPL
• Bubble          • Long         • Large
• Anti - bubble   • Short        • Small      • Parameters

         Type                          Size

                                                             27
The Financial Crisis Observatory (FCO) is a scientific platform aimed at testing and
quantifying rigorously, in a systematic way and on a large scale the hypothesis that
financial markets exhibit a degree of inefficiency and a potential for predictability,
especially during regimes when bubbles develop. (http://www.er.ethz.ch/fco/index)



Testing two hypotheses:
•   Hypothesis H1: financial (and other) bubbles can be diagnosed in real-time
    before they end..
•   Hypothesis H2: The termination of financial (and other) bubbles can be
    bracketed using probabilistic forecasts, with a reliability better than chance
    (which remains to be quantied).
                                                                                D. Sornette, R. Woodard,
                                                  M. Fedorovsky,S. Reimann, H. Woodard, W.-X. Zhou
                           The Financial Bubble Experiment. First Results (2 November 2009 - 1 May 2010)




                                                                                                     28
 2 November 2009 – 1 May 2010 [http://www.er.ethz.ch/fco/FBE_report_May_2010]
      2 of 4 bubbles detected by model were real bubbles

      All of them changed their regimes

 12 May 2010 – 1 November 2010 [http://www.er.ethz.ch/fco/fbe_Report_1Nov10_2]
      5 of 7 bubbles detected by model were real bubbles

      4 of 5 changed their regimes

 12 November 2011 – 2 May 2011 [http://www.er.ethz.ch/fco/fbe_20110502_assets_3.pdf]
      24 of 27 bubbles detected by model were real bubbles

      17 of 24 changed there regime




                                                                                        29
NBER Working Group




               30
Different types of filters at 3 time scales:
 Hours scale (macro):
    Absolute filter
    Relative filter
   Source: Guo-Hua Mu, Wei-Xing Zhou, Wei Chen and J´anos Kert´esz. Order flow dynamics around extreme
      price changes on an emerging stock market, 2010
 Minutes scale (meso):
   Filter of minute returns
   Source: Armand Joulin, Augustin Lefevre, Daniel Grunberg, Jean-Philippe Bouchaud. Stock price jumps:
      news and volume play a minor role, 2010
 Tick scale (micro):
   NANEX filter
   Source: Flash Crash Analysis Continuing Developments
      http://www.nanex.net/FlashCrashEquities/FlashCrashAnalysis_Equities.html
                                                                              62
                          1.855


                          1.845                                              61.5


                          1.835
                                                                              61

                          1.825
                                                                             60.5
                                                               price [rub]
            price, rub.




                          1.815
                                                                              60
                          1.805

                                                                             59.5
                          1.795


                          1.785                                               59


                          1.775                                              58.5
                                                                                                      31
                                  12:06:00
                                  12:18:00
                                  12:30:00
                                  12:42:00
                                  12:54:00




                                  14:06:00
                                  14:18:00
                                  14:30:00
                                  14:42:00
                                  14:54:00




                                  16:06:00
                                  16:18:00
                                  16:30:00
                                  16:42:00
                                  16:54:00




                                  17:54:00
                                  18:06:00
                                  18:18:00
                                  18:30:00
                                  11:30:00
                                  11:42:00
                                  11:54:00




                                  13:06:00
                                  13:18:00
                                  13:30:00
                                  13:42:00
                                  13:54:00




                                  15:06:00
                                  15:18:00
                                  15:30:00
                                  15:42:00
                                  15:54:00




                                  17:06:00
                                  17:18:00
                                  17:30:00
                                  17:42:00




                                                                                    11:32:20


                                                                                    11:59:04


                                                                                    12:41:35


                                                                                    12:56:35


                                                                                    13:07:30


                                                                                    13:39:18


                                                                                    14:15:14


                                                                                    14:38:45


                                                                                    14:57:21


                                                                                    15:28:13


                                                                                    16:04:43


                                                                                    16:28:36


                                                                                    17:35:22


                                                                                    18:31:01
                                                                                    11:42:00
                                                                                    11:52:45

                                                                                    12:07:45
                                                                                    12:24:08

                                                                                    12:50:44
                                                                                    12:53:52

                                                                                    13:01:54
                                                                                    13:04:06

                                                                                    13:24:35
                                                                                    13:33:16

                                                                                    13:52:46
                                                                                    14:02:26

                                                                                    14:24:38
                                                                                    14:26:15

                                                                                    14:43:58
                                                                                    14:51:17

                                                                                    15:01:22
                                                                                    15:15:36

                                                                                    15:57:19
                                                                                    16:00:26

                                                                                    16:16:12
                                                                                    16:23:20

                                                                                    16:35:55
                                                                                    17:03:44

                                                                                    17:46:30
                                                                                    18:02:16
                                     time
                                                                                       time [ticks]
for 16 ticks
                                                  (61.2 ->61.7)
                                                  Within 1 second
                                                  price rose 0.82 %
                                                       price [rub]
                                                                            61.5




                               58.5
                                           59.5
                                                                60.5




                                      59
                                                      60
                                                                       61
                                                                                   62




                    11:32:20
                    11:42:00
                    11:52:45
                    11:59:04
                    12:07:45
                    12:24:08
                    12:41:35
                    12:50:44
                    12:53:52
                    12:56:35
                    13:01:54
                    13:04:06
                    13:07:30
                    13:24:35
                    13:33:16
                    13:39:18
                    13:52:46
                    14:02:26
                    14:15:14
                    14:24:38
                    14:26:15
                    14:38:45
     time [ticks]




                    14:43:58
                    14:51:17
                    14:57:21
                    15:01:22
                    15:15:36
                    15:28:13
                    15:57:19
                    16:00:26
                    16:04:43
                    16:16:12
                    16:23:20
                    16:28:36
                    16:35:55
                    17:03:44
                    17:35:22
32




                    17:46:30
                    18:02:16
                    18:31:01
Statistics:                             IDENT          UP   DOWN    ALL
                                         PMTL           15    36     51
                                         MAGN           31     6     37
Stocks analyzed 29 blue chips            NOTK
                                         OGKC
                                                        18
                                                        13
                                                              18
                                                              23
                                                                     36
                                                                     36
                01.04.2010-30.06.2010;   AFLT            9    25     34
                                         RTKM           14    19     33
Period          1.09.2010-12.10.2010     MGNT            4    16     20
                                         NLMK            8    12     20
Trading days       82                    URKA            7    11     18
Sample analyzed 20.2 mln. ticks          SIBN
                                         RASP
                                                         6
                                                         7
                                                              10
                                                               8
                                                                     16
                                                                     15
Trading time    11.30-18.40              MRKH            3     9     12
                                         MSNG            5     7     12
                                         CHMF            3     4      7
Shocks found       369                   RU14TATN3006
                                         HYDR
                                                         3
                                                         3
                                                               3
                                                               2
                                                                      6
                                                                      5
                                         TRNFP           3     0      3
                                         IUES            0     2      2
 We use a tick dynamics of prices for    MTSI            1     1      2
                                         SNGSP           2     0      2
 filtering (source: MICEX)               ROSN            1     0      1
                                         SNGS            1     0      1
                                         FEES            0     0      0
                                         GAZP            0     0      0
                                         GMKN            0     0      0
Total 369 events (13 per stock)          LKOH            0     0      0
On average 1 shock/7 days per stock      SBER03          0     0      0
                                         SBERP03         0     0      0
                                         VTBR            0     0      0
                                         Average         5     7    33
                                                                     13
Science

          Laboratory of financial modeling and risk
          management - Prognoz Risk Lab


          Мagistracy in finance and IT (Master in
          Finance & IT) in Perm State National Research
          University
          mifit.ru


          Perm Winter School is an annual conference
          on modeling of financial markets and risk
          management
          permwinterschool.ru
Extent3 prognoz practical_approach_lppl_model_2012

More Related Content

Similar to Extent3 prognoz practical_approach_lppl_model_2012

Modeling full scale-data(2)
Modeling full scale-data(2)Modeling full scale-data(2)
Modeling full scale-data(2)
John B. Cook, PE, CEO
 
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation DesignOptimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
Daniel H. Stolfi
 
Introduction to behavior based recommendation system
Introduction to behavior based recommendation systemIntroduction to behavior based recommendation system
Introduction to behavior based recommendation system
Kimikazu Kato
 
reliability workshop
reliability workshopreliability workshop
reliability workshop
Gaurav Dixit
 
Data and Telecommunication Problem
Data and Telecommunication ProblemData and Telecommunication Problem
Data and Telecommunication Problem
তিয়াস আল জিহাদ
 
Particle Swarm Optimization Algorithm Based Window Function Design
Particle Swarm Optimization Algorithm Based Window Function DesignParticle Swarm Optimization Algorithm Based Window Function Design
Particle Swarm Optimization Algorithm Based Window Function Design
International Journal of Modern Research in Engineering and Technology
 
Pres fibe2015-pbs-org
Pres fibe2015-pbs-orgPres fibe2015-pbs-org
Pres fibe2015-pbs-org
Per Bjarte Solibakke
 
PF_MAO_2010_Souam
PF_MAO_2010_SouamPF_MAO_2010_Souam
PF_MAO_2010_Souam
MDO_Lab
 
ZK Study Club: Sumcheck Arguments and Their Applications
ZK Study Club: Sumcheck Arguments and Their ApplicationsZK Study Club: Sumcheck Arguments and Their Applications
ZK Study Club: Sumcheck Arguments and Their Applications
Alex Pruden
 
Differences between quantitative finance and nuclear physics
Differences between quantitative finance and nuclear physicsDifferences between quantitative finance and nuclear physics
Differences between quantitative finance and nuclear physics
Ahmed Ammar Rebai PhD
 
Model-counting Approaches For Nonlinear Numerical Constraints
Model-counting Approaches For Nonlinear Numerical ConstraintsModel-counting Approaches For Nonlinear Numerical Constraints
Model-counting Approaches For Nonlinear Numerical Constraints
Quoc-Sang Phan
 
Risking Everything with Akka Streams
Risking Everything with Akka StreamsRisking Everything with Akka Streams
Risking Everything with Akka Streams
johofer
 
Finance data analysis_nuclear_physics_comparaison
Finance data analysis_nuclear_physics_comparaisonFinance data analysis_nuclear_physics_comparaison
Finance data analysis_nuclear_physics_comparaison
Ahmed Ammar Rebai PhD
 
Optimization Techniques.pdf
Optimization Techniques.pdfOptimization Techniques.pdf
Optimization Techniques.pdf
anandsimple
 
Class 16: Making Loops
Class 16: Making LoopsClass 16: Making Loops
Class 16: Making Loops
David Evans
 
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docxFall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
lmelaine
 
CP3_SDM_2010_Souma
CP3_SDM_2010_SoumaCP3_SDM_2010_Souma
CP3_SDM_2010_Souma
MDO_Lab
 
FluidDynamics.ppt
FluidDynamics.pptFluidDynamics.ppt
FluidDynamics.ppt
MuddassirMudassar
 
Cosan Ayan
Cosan AyanCosan Ayan

Similar to Extent3 prognoz practical_approach_lppl_model_2012 (20)

Modeling full scale-data(2)
Modeling full scale-data(2)Modeling full scale-data(2)
Modeling full scale-data(2)
 
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation DesignOptimising Autonomous Robot Swarm Parameters for Stable Formation Design
Optimising Autonomous Robot Swarm Parameters for Stable Formation Design
 
Introduction to behavior based recommendation system
Introduction to behavior based recommendation systemIntroduction to behavior based recommendation system
Introduction to behavior based recommendation system
 
reliability workshop
reliability workshopreliability workshop
reliability workshop
 
Data and Telecommunication Problem
Data and Telecommunication ProblemData and Telecommunication Problem
Data and Telecommunication Problem
 
Particle Swarm Optimization Algorithm Based Window Function Design
Particle Swarm Optimization Algorithm Based Window Function DesignParticle Swarm Optimization Algorithm Based Window Function Design
Particle Swarm Optimization Algorithm Based Window Function Design
 
Pres-Fibe2015-pbs-Org
Pres-Fibe2015-pbs-OrgPres-Fibe2015-pbs-Org
Pres-Fibe2015-pbs-Org
 
Pres fibe2015-pbs-org
Pres fibe2015-pbs-orgPres fibe2015-pbs-org
Pres fibe2015-pbs-org
 
PF_MAO_2010_Souam
PF_MAO_2010_SouamPF_MAO_2010_Souam
PF_MAO_2010_Souam
 
ZK Study Club: Sumcheck Arguments and Their Applications
ZK Study Club: Sumcheck Arguments and Their ApplicationsZK Study Club: Sumcheck Arguments and Their Applications
ZK Study Club: Sumcheck Arguments and Their Applications
 
Differences between quantitative finance and nuclear physics
Differences between quantitative finance and nuclear physicsDifferences between quantitative finance and nuclear physics
Differences between quantitative finance and nuclear physics
 
Model-counting Approaches For Nonlinear Numerical Constraints
Model-counting Approaches For Nonlinear Numerical ConstraintsModel-counting Approaches For Nonlinear Numerical Constraints
Model-counting Approaches For Nonlinear Numerical Constraints
 
Risking Everything with Akka Streams
Risking Everything with Akka StreamsRisking Everything with Akka Streams
Risking Everything with Akka Streams
 
Finance data analysis_nuclear_physics_comparaison
Finance data analysis_nuclear_physics_comparaisonFinance data analysis_nuclear_physics_comparaison
Finance data analysis_nuclear_physics_comparaison
 
Optimization Techniques.pdf
Optimization Techniques.pdfOptimization Techniques.pdf
Optimization Techniques.pdf
 
Class 16: Making Loops
Class 16: Making LoopsClass 16: Making Loops
Class 16: Making Loops
 
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docxFall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
Fall 2016 Insurance Case Study – Finance 360Loss ControlLoss.docx
 
CP3_SDM_2010_Souma
CP3_SDM_2010_SoumaCP3_SDM_2010_Souma
CP3_SDM_2010_Souma
 
FluidDynamics.ppt
FluidDynamics.pptFluidDynamics.ppt
FluidDynamics.ppt
 
Cosan Ayan
Cosan AyanCosan Ayan
Cosan Ayan
 

Recently uploaded

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 

Recently uploaded (20)

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 

Extent3 prognoz practical_approach_lppl_model_2012

  • 1.
  • 2. About Prognoz Leading Russian developers of Business Intelligence and Performance Management systems • international company that has been working in the IT market since 1991 • joint team of over 1 200 skilled economists, programmers, analysts • 50% market of BI in Russia • Prognoz Platform, 1-st Russian platform in Magic Quadrant of Gartner
  • 3. CONTENTS Technical architecture Practical approach  Evolution of bubble and risk management  About MMP cluster  Monitoring of financial bubbles  MMP cluster architecture  The system of bubble recognition Financial bubbles Science and experiment  Historical bubbles  Financial bubble experiment  Definition of financial bubbles  Market microstructure approach Theory of crashes  LPPL model  Fitting of the model  Models selection 3
  • 4. Financial engineering (Stylized facts) ……………………………………….…................… Liquidity of the financial market and assets ……………………………………………………….….. Agent-based modeling and simulation …………………………………………………………… Market microstructure analysis …………………………..……………………………… Bubble detection and diagnosis …………………………………………………………… 4
  • 5. Technical info:  Installation Site: Perm state university  Supercomputer type: Cluster  Number of nodes: 3  Number of Cores per node: 12  CPU type: Intel Xeon 5650 (2.66 GHz)  RAM per node: 64 Gb  OS: Windows Server 2003 5
  • 6. 6 Total: 48 services, 72 CPU, 228 Gb RAM
  • 7.  R is statistical and graphical programming environment  Appeared in 1993 and designed by There is more than 4300 Ross Ihaka and Robert Gentleman packages that allow to use specialized statistical  R is a GNU project techniques, graphical devices, import/export  R – a free implementation of the S capabilities, reporting tools, etc. language  It runs on a variety of platforms including Windows, Unix and MacOS  It contains advanced statistical routines not yet available in other packages 7
  • 8. Commands Database Batch file R file Task R file Batch file Runner Batch file R file 8
  • 9. 9
  • 10. 10
  • 11. 11
  • 12.
  • 13. Mr. Greenspan Thefreedictionary.com Charles Kindleberger, MIT Professor J.Barley Rosser, James Madison University 13
  • 14. Authors A.Johansen, O.Ledoit, D.Sornette (JLS) First publication Large financial crashes (1997) Famous book Didier Sornette Why Stock Markets Crash (2004) 𝑡 𝑐 - critical time when bubble crash or change to another regime 14
  • 15. 𝑚 𝑙𝑛 𝑝 𝑡 = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑡𝑐 15
  • 16. 𝐶(𝑡 𝑐 − 𝑡) 𝑚 𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑] 16
  • 17. 𝑙𝑛 𝑝 𝑡 = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡) 𝑚 𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑] 17
  • 18. 𝑙𝑛[𝑝(𝑡)] 𝑙𝑛 𝑝 𝑡 = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡) 𝑚 𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑] m = 0.01 m = 0.3 m = 0.9 m = 1.7 18
  • 19. 𝑙𝑛 𝑝 𝑡 = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡) 𝑚 𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑] =3 =7 𝑡𝑐 − 𝑡 𝑡𝑐 − 𝑡 𝑡𝑐 − 𝑡  = 15  = 30 𝑡𝑐 − 𝑡 𝑡𝑐 − 𝑡 19
  • 20. 𝑙𝑛 𝑝 𝑡 = 𝐴 + 𝐵(𝑡 𝑐 − 𝑡) 𝑚 +𝐶(𝑡 𝑐 − 𝑡) 𝑚 𝑐𝑜𝑠[𝜔 𝑙𝑜𝑔 𝑡 𝑐 − 𝑡 − 𝜑] =7  = 9.5 20
  • 21. For each log periodic curve we fixed: 𝑡0 - start time of the bubble First model 𝑡 𝑐 - critical time when bubble crash or change to another regime Second model Sample of 𝑡 𝑐 𝑡 𝑐1 𝑡 𝑐2 21
  • 23. • Main filtration (0<m<1, B<0) • Residuals stationarity tests (ADF test, Phillips–Perron test) • Lomb spectral analysis LOMB PERIODOGRAM 150 m 100 P(omega) 50 0 0 10 20 30 40 omega 23
  • 24. Sample of 𝑡𝑐 Distribution of 𝑡 𝑐 Quantiles Risk measure 24
  • 25. 25 25
  • 26. D.Fantazzini, P.Geraskin, Everything You Always Wanted to Know about Log Periodic Power Laws for Bubble Modelling but Were Afraid to Ask (2011) 26
  • 27. Timeframe LPPL • Bubble • Long • Large • Anti - bubble • Short • Small • Parameters Type Size 27
  • 28. The Financial Crisis Observatory (FCO) is a scientific platform aimed at testing and quantifying rigorously, in a systematic way and on a large scale the hypothesis that financial markets exhibit a degree of inefficiency and a potential for predictability, especially during regimes when bubbles develop. (http://www.er.ethz.ch/fco/index) Testing two hypotheses: • Hypothesis H1: financial (and other) bubbles can be diagnosed in real-time before they end.. • Hypothesis H2: The termination of financial (and other) bubbles can be bracketed using probabilistic forecasts, with a reliability better than chance (which remains to be quantied). D. Sornette, R. Woodard, M. Fedorovsky,S. Reimann, H. Woodard, W.-X. Zhou The Financial Bubble Experiment. First Results (2 November 2009 - 1 May 2010) 28
  • 29.  2 November 2009 – 1 May 2010 [http://www.er.ethz.ch/fco/FBE_report_May_2010]  2 of 4 bubbles detected by model were real bubbles  All of them changed their regimes  12 May 2010 – 1 November 2010 [http://www.er.ethz.ch/fco/fbe_Report_1Nov10_2]  5 of 7 bubbles detected by model were real bubbles  4 of 5 changed their regimes  12 November 2011 – 2 May 2011 [http://www.er.ethz.ch/fco/fbe_20110502_assets_3.pdf]  24 of 27 bubbles detected by model were real bubbles  17 of 24 changed there regime 29
  • 31. Different types of filters at 3 time scales:  Hours scale (macro):  Absolute filter  Relative filter Source: Guo-Hua Mu, Wei-Xing Zhou, Wei Chen and J´anos Kert´esz. Order flow dynamics around extreme price changes on an emerging stock market, 2010  Minutes scale (meso):  Filter of minute returns Source: Armand Joulin, Augustin Lefevre, Daniel Grunberg, Jean-Philippe Bouchaud. Stock price jumps: news and volume play a minor role, 2010  Tick scale (micro):  NANEX filter Source: Flash Crash Analysis Continuing Developments http://www.nanex.net/FlashCrashEquities/FlashCrashAnalysis_Equities.html 62 1.855 1.845 61.5 1.835 61 1.825 60.5 price [rub] price, rub. 1.815 60 1.805 59.5 1.795 1.785 59 1.775 58.5 31 12:06:00 12:18:00 12:30:00 12:42:00 12:54:00 14:06:00 14:18:00 14:30:00 14:42:00 14:54:00 16:06:00 16:18:00 16:30:00 16:42:00 16:54:00 17:54:00 18:06:00 18:18:00 18:30:00 11:30:00 11:42:00 11:54:00 13:06:00 13:18:00 13:30:00 13:42:00 13:54:00 15:06:00 15:18:00 15:30:00 15:42:00 15:54:00 17:06:00 17:18:00 17:30:00 17:42:00 11:32:20 11:59:04 12:41:35 12:56:35 13:07:30 13:39:18 14:15:14 14:38:45 14:57:21 15:28:13 16:04:43 16:28:36 17:35:22 18:31:01 11:42:00 11:52:45 12:07:45 12:24:08 12:50:44 12:53:52 13:01:54 13:04:06 13:24:35 13:33:16 13:52:46 14:02:26 14:24:38 14:26:15 14:43:58 14:51:17 15:01:22 15:15:36 15:57:19 16:00:26 16:16:12 16:23:20 16:35:55 17:03:44 17:46:30 18:02:16 time time [ticks]
  • 32. for 16 ticks (61.2 ->61.7) Within 1 second price rose 0.82 % price [rub] 61.5 58.5 59.5 60.5 59 60 61 62 11:32:20 11:42:00 11:52:45 11:59:04 12:07:45 12:24:08 12:41:35 12:50:44 12:53:52 12:56:35 13:01:54 13:04:06 13:07:30 13:24:35 13:33:16 13:39:18 13:52:46 14:02:26 14:15:14 14:24:38 14:26:15 14:38:45 time [ticks] 14:43:58 14:51:17 14:57:21 15:01:22 15:15:36 15:28:13 15:57:19 16:00:26 16:04:43 16:16:12 16:23:20 16:28:36 16:35:55 17:03:44 17:35:22 32 17:46:30 18:02:16 18:31:01
  • 33. Statistics: IDENT UP DOWN ALL PMTL 15 36 51 MAGN 31 6 37 Stocks analyzed 29 blue chips NOTK OGKC 18 13 18 23 36 36 01.04.2010-30.06.2010; AFLT 9 25 34 RTKM 14 19 33 Period 1.09.2010-12.10.2010 MGNT 4 16 20 NLMK 8 12 20 Trading days 82 URKA 7 11 18 Sample analyzed 20.2 mln. ticks SIBN RASP 6 7 10 8 16 15 Trading time 11.30-18.40 MRKH 3 9 12 MSNG 5 7 12 CHMF 3 4 7 Shocks found 369 RU14TATN3006 HYDR 3 3 3 2 6 5 TRNFP 3 0 3 IUES 0 2 2 We use a tick dynamics of prices for MTSI 1 1 2 SNGSP 2 0 2 filtering (source: MICEX) ROSN 1 0 1 SNGS 1 0 1 FEES 0 0 0 GAZP 0 0 0 GMKN 0 0 0 Total 369 events (13 per stock) LKOH 0 0 0 On average 1 shock/7 days per stock SBER03 0 0 0 SBERP03 0 0 0 VTBR 0 0 0 Average 5 7 33 13
  • 34. Science Laboratory of financial modeling and risk management - Prognoz Risk Lab Мagistracy in finance and IT (Master in Finance & IT) in Perm State National Research University mifit.ru Perm Winter School is an annual conference on modeling of financial markets and risk management permwinterschool.ru