34
Comparison Between Nuclear Physics and Quantitative Finance Ahmed Rebai, [email protected] PhD in Nuclear Physics

Differences between quantitative finance and nuclear physics

Embed Size (px)

DESCRIPTION

In this presentation I will give a short comparison between nuclear physics and quantitative finance

Citation preview

Page 1: Differences between quantitative finance and nuclear physics

Comparison Between Nuclear Physics and Quantitative Finance

Ahmed Rebai,[email protected]

PhD in Nuclear Physics

Page 2: Differences between quantitative finance and nuclear physics

Warning and risk disclaimer

Nowadays Trading carries a high level of risk, and may not be suitable

for all investors. Since I am not an economist, an arbitrager, a market analyst, a market bull, a broker, or

even a day trader (for the moment), I disown any responsibility for any

errors or misunderstandings caused by this presentation

1

Page 3: Differences between quantitative finance and nuclear physics

PLAN

Definitions Similarities: Strategy (Data=>Analysis=>Results) Similarities: Fluctuation and Randomness Similarities: Mathematical Modelling Similarities: Big Catastrophes Some Differences Did finance violate the laws of physics? Conclusion

2

Page 4: Differences between quantitative finance and nuclear physics

SOME DEFINITIONS

Quantitative Finance: use quantitative techniques like mathematics, statistics, computer science to try to model the value of financial securities and structure them to hedge them. Deal with some questions about:How interest rate be in the futur ? How volatility be in the futur?

Nuclear Physics: study subatomic structure of atoms and nucleons using large experiments, mathematical models and statistics techniques

3

Page 5: Differences between quantitative finance and nuclear physics

DATA ANALYSIS RESULTS

Both are using the same strategies

SIMILARITIES: SAME STRATEGIES4

Page 6: Differences between quantitative finance and nuclear physics

DATA

5

Page 7: Differences between quantitative finance and nuclear physics

DATA (PHYSICS)

Simulation: Monte carlo Generator

Data

Nuclear physics FLUKA, MCNPX, ... Accelerator experiment

Particle physics Pythia, Geant4, ... Diffusion experiments

Astroparticle physics CORSIKA, AIRES, REAS3, ...

Cosmic rays experiments

Data is often generated by experiments or by monte carlo generators.

(A Monte Carlo technique: is any technique making use of random numbers to solve a problem.)

6

Page 8: Differences between quantitative finance and nuclear physics

DATA (FINANCE)

Special sites: Blommberg, CNBC, Reuters, ex.com, DailyFx.com, ...

Economic official report : Non Farm payroll

(NFP), UK CPI, German GDP, ...

Economic indicator: S&P500, NASDAQ, DOWJONES, FTSE …

Using Monte Carlo to generate data.

7

Page 9: Differences between quantitative finance and nuclear physics

ANALYSIS8

Page 10: Differences between quantitative finance and nuclear physics

ANALYSIS (PHYSICS)Data Analysis needs computer resources: programming languages + infrastructures Low level languages: C/C++ (open source) High level languages and Platforms: Python,

IDL, Matlab, ROOT-CERN Linux Environment... GPU/parallel programming: CUDA (NVIDIA) ,

MPI, OpenMP, ...

9

Page 11: Differences between quantitative finance and nuclear physics

ANALYSIS (FINANCE)

Fundamental analysis take much time, Technical analysis no so sophisticated, Quantitative analysis takes into account market

evolution and its random nature. Then data analysis => pricing proces

(pricing, Forecasting, prediction...) Needs dedicated platforms: Metatrader,

Ninjatrader, Tradestation... High Frequency Trading => using algorithms

C/C++.

10

Page 12: Differences between quantitative finance and nuclear physics

RESULTS

11

Page 13: Differences between quantitative finance and nuclear physics

RESULTS (PHYSICS)

Study the fundamental laws of nature.

Search predicted particles by the standard model (eg the Higgs boson)

Or new particles (predicted by supersymmetry theories beyond standard model)

Exploring the universe (dark matter, dark energy)

12

Page 14: Differences between quantitative finance and nuclear physics

RESULTS (FINANCE)

Predicting the market movement Make a good return

Profit

Money $, €, ...

13

Page 15: Differences between quantitative finance and nuclear physics

SIMILARITIES (FLUCTUATION & RANDOMNESS)

In nuclear physics: arising from ” the Heisenberg's uncertainty principle” (Quantum nature of laws in atomic and subatomic scales):

=> Can't predict simultaneously the position x and momentum p of particles.

In quantitative finance: arising from ”the efficient-market hypothesis”:

=> Can't predict the future market volatility and

price...

14

Page 16: Differences between quantitative finance and nuclear physics

SIMILARITIES (FLUCTUATION & RANDOMNESS)

In finance: the only reality is that price may go up or down (increase or decrease):

In quantum physics: quantum state involves a superposition of quantum states of 2 different particles ((Schrodinger's cat paradox):

alive deaddead

15

Page 17: Differences between quantitative finance and nuclear physics

SIMILARITIES (FLUCTUATION & RANDOMNESS)16

Page 18: Differences between quantitative finance and nuclear physics

Mathematical Model$ $ $

$

$$

$

$ $

$

$

17

Page 19: Differences between quantitative finance and nuclear physics

A fluctuating stock price => need for probabilistic models => Random walk model

“Today’s price (PT) = yesterday’s price (P

T-1) + a

change that is independent of all previous information (C

T).”

PT = PT-1 + CT

(Since P1 = C1 P2 = P1 + C2 , P3 = P2 + C3 => PT = PT-1 + CT)

The most important model for equities, currencies, commodities, bonds and indices.

SIMILARITIES: Mathematical Modelling18

Page 20: Differences between quantitative finance and nuclear physics

SIMILARITIES: Mathematical Modelling

The Cox-Ross-Rubinstein option princing model Uses a discrete-time In a perfectly efficient market:No possibility of

arbitrage, At each time, the price can increase or decrease

and never both simultaneously.

19

Page 21: Differences between quantitative finance and nuclear physics

The Black and Scholes model

”The history of quants on Wall street is the history of the ways in which practitioners and academics have refined and extended the Black-Scholes model” Emanuel Derman's book (My Life as a Quant: Reflections on Physics and Finance)

SIMILARITIES: Mathematical Modelling20

Page 22: Differences between quantitative finance and nuclear physics

The Black and Scholes equation can be transformed to a heat equation model:

Many methods of resolution: Green's function formalism, Numerical resolution (e.g finite differences)...

SIMILARITIES: Mathematical Modelling21

Page 23: Differences between quantitative finance and nuclear physics

SIMILARITIES: Mathematical Modelling

In physics to study the random motion of a free particle in space (phase space)=> Wiener process => Diffusion => heat equation model

More general model : Fokker-Planck equation (Diffusion and convection)

In same case FK equation can be transformed to a heat equation (cosmic rays acceleration)

I'll stop here because things start to be really complicated !!!

22

Page 24: Differences between quantitative finance and nuclear physics

But when things go wrong:

In finance: Global Financial Crisis, Flash Crash, Loss of money, Recession...

In nuclear physics: Nuclear Holocaust: Hiroshima, Nagasaki Nuclear Incidents: Chernobyl, Fukushima

Similarities: Big Catastrophes23

Page 25: Differences between quantitative finance and nuclear physics

Similarities: Big Catastrophes24

Page 26: Differences between quantitative finance and nuclear physics

Similarities: Big Catastrophes

Fukushima

Tchernobyl

Hiroshima

25

Page 27: Differences between quantitative finance and nuclear physics

Similarities: Big Catastrophes

2010 Flash Crash2008 US Crisis

2008 Europe Crisis

26

Page 28: Differences between quantitative finance and nuclear physics

SOME DIFFERENCES27

Page 29: Differences between quantitative finance and nuclear physics

SOME DIFFERENCES

In Finance you are dealing with people ”the crowd psychology”

The world of finance and the world of people is changing all over the time...

History doesn't repeated itself....

Where in physics history repeats itself all

the time you can do the same experiment over and over again (Reproductibility)

In physics you deal with particles, atoms...

28

Page 30: Differences between quantitative finance and nuclear physics

In physics conservation laws: electric charge conservation, momentum conservation, energy conservation

In finance no conservation laws: There is no conservation law in stock market but it depends on economic model...

SOME DIFFERENCES29

Page 31: Differences between quantitative finance and nuclear physics

DID FINANCE VIOLATE THE LAWS OF PHYSICS ?

Ban

kru

ptc

y o

f L

eh

man

Bro

t he

rs

The 2008 Financial Crisis

30

Page 32: Differences between quantitative finance and nuclear physics

DID FINANCE VIOLATE THE LAWS OF PHYSICS ?

The myth of economic exponential growth model meets the finite physics ressources :

Finance have long been inconsistent with physics laws especially since the financial crisis unbalances the instability of the global financial system..

But why ???

31

Page 33: Differences between quantitative finance and nuclear physics

CONCLUSION

Finance &

Economy

Physicseconophysics

32

Page 34: Differences between quantitative finance and nuclear physics

FOR MORE INFORMATIONS33