Download presentation

Presentation is loading. Please wait.

Published byDevon Wamble Modified over 2 years ago

1
Attività del nodo di Alessandria Enrico Scalas www.econophysics.org www.mfn.unipmn.it/~scalas/fisr.html ENOC 05 Eindhoven, The Netherlands, 7-12 August 2005

2
Riassunto A4.1 e A4.4 Risultati A4.1 e A4.4 Il futuro A4.2 e A4.3 Nuovi risultati Due presentazioni (ENOC’05 e WEHIA 2005)

3
A Lévy-noise generator Matteo Leccardi and Enrico Scalas www.econophysics.org www.mfn.unipmn.it/~scalas/fisr.html ENOC 05 Eindhoven, The Netherlands, 7-12 August 2005

4
Summary Theory (and motivation) Algorithm Demo Conclusions

5
Theory

6
Theory (I): Continuous-time random walk (basic quantities, physical and financial intepretation) : price of an asset at time t : log price or position of a particle : joint probability density of jumps and of waiting times : probability density function of finding log-price or position x at time t

7
Theory (II): Master equation (pure jump process) Marginal jump pdf Marginal waiting-time pdf Permanence in 0 Jump into x,t In case of independence: Survival probability

8
This is the characteristic function of the log-price process subordinated to a generalised Poisson process. Theory (III): Limit theorem, uncoupled case (I) (Scalas, Mainardi, Gorenflo, PRE, 69, 011107, 2004) Mittag-Leffler function Subordination: see Clark, Econometrica, 41, 135-156 (1973).

9
Theory (IV): Limit theorem, uncoupled case (II) (Scalas, Gorenflo, Mainardi, PRE, 69, 011107, 2004) This is the characteristic function for the Green function of the fractional diffusion equation. Scaling of probability density functions Asymptotic behaviour

10
Theory (V): Fractional diffusion (Scalas, Gorenflo, Mainardi, PRE, 69, 011107, 2004) Green function of the pseudo-differential equation (fractional diffusion equation): Normal diffusion for =2, =1.

11
Algorithm

12
The Ziggurat Algorithm Marsaglia, G., Tsang, W.W. (2000). The ziggurat method for generating random variables. In Journal of Statistical Software, Vol. 5, Issue 8, pp.1-7.

13
stable symmetric density (I) = 1 Cauchy distribution = 2 Gauss distribution

14
Power-law tails: stable symmetric density (II)

15
Simplified Ziggurat Algorithm (for hardware implementation) Truncated density

16
FPGA (I) Field Programmable Gate Array Introduced in 1985 Regular modular structure with interconnections Up to 10 7 logical gates

17
FPGA (II) Reprogrammable Two kinds OTP Reprogrammable: –Based on SRAM –Logic defined in LUT OTP –Anti-fuse technology –Logic defined with traditional logical gates

18
HDL (I) Hardware Description Language It describes the behaviour of a circuit and not its structure Faster development stage Projects easier to modify

19
HDL (II) Verilog Two main dialects VHDL Verilog is close to C

20
Verilog code for the generator module levy( input clk, // clock input [3:0] alpha, // the stable index is a=(alpha+3)/10 input signed [31:0] j, // uniform random variable output reg signed [15:0] lev // levy random variable ); reg [15:0] x; reg signed [47:0] p; always @(alpha, j) begin case({alpha,j[6:0]}) 0: x = 1; 1: x = 1; 2: x = 1;.................. 2047: x = 65535; endcase end always @(posedge clk) begin p = x*j; lev = p>>32; end endmodule

21
Algorithm test (I) =1.7, =1350

22
Algorithm test (II) =1.7, =1350

23
Algorithm test (III) =0.9, =56

24
Algorithm test (IV) =0.9, =56

25
Kolmogorov-Smirnov Test dd(1) 5%d(2) 15% 0.60.126750.0181440.014423FALSE 0.70.038910.0170840.013581FALSE 0.80.015120.0162120.012888TRUEFALSE 0.90.007280.0152790.012145TRUE 10.0065970.0145650.011578TRUE 1.10.0057820.0138930.011044TRUE 1.20.0041810.0132070.010499TRUE 1.30.0040860.0127590.010143TRUE 1.40.0051210.0122350.009726TRUE 1.50.0044730.0115920.009215TRUE 1.60.0033020.0111230.008842TRUE 1.70.0055850.0105310.008372TRUE 1.80.0043170.0099080.007876TRUE 1.90.0038980.0092260.007334TRUE 1.950.001660.0075580.006008TRUE 1.990.001780.0067870.005395TRUE

26
Conclusions

27
A Lévy white-noise generator has been implemented It generalizes Gaussian white-noise generators (GWNG) Large fluctuations are much more frequent than in GWNG It is cheap and versatile Various applications are envisaged: to finance to tests of materials to basic research …

28
Enrico Scalas (DISTA Università del Piemonte Orientale) www.econophysics.org www.fracalmo.org WEHIA 2005 Colchester, Essex, UK – 13 -15 June 2005 Waiting times between orders and trades in double-auction markets

29
In collaboration with: Jürgen Huber (Innsbruck) Taisei Kaizoji (Tokyo) Michael Kirchler (Innsbruck) Alessandra Tedeschi (Rome)

30
Summary The continuous double auction Experiments Empirical results Discussion and conclusions

31
The continuous double auction

33
Orders and trades time order process trade process selection: market and limit orders double auction as thinning of a point process n: number of events from time origin up to time t ( ): probability density of waiting times between two events

34
The trade process I The Poisson distribution is equivalent to exponentially distributed waiting times; in this case, the survival function is: The trade process is non-exponential; what about the order process?

35
Interval 1 (9-11): 16063 data; 0 = 7 s Interval 2 (11-14): 20214 data; 0 = 11.3 s Interval 3 (14-17): 19372 data; 0 =7.9 s where 1 2 … n A 1 2 = 352; A 2 2 = 285; A 3 2 = 446 >> 1.957 (1% significance) The trade process II Scalas et al., Quantitative Finance (2004)

36
Experiments

37
Experiments I Experiments generalize Hellwig’s model (1982) Generalization based on Schredelseker (2002) Hellwig: traders do or do not know future 1-period dividends Schredelseker: there are n discrete information levels Kirchler/Huber/Sutter: n traders compete in a continuous double auction market; trader i knows future dividends D i for i periods; i = 1,…, n. She also knows the net present value of the stock given her information: I j,k : information in period k, for agent j; r e : risk adjusted interest rate

38
Experiments II Beginning with I9, the functions in the Figure are shifted for each information level Ij by ( 9-j ) periods to the right, showing a main characteristic of the model, namely that better informed agents receive information earlier than less informed traders. So, information on the intrinsic value of the company that trader I9 sees in one period is seen by trader I8 one period later, and by trader I1 eight periods later, giving the better informed an informational advantage. For more details on the design, see Kirchler and Huber (2005). n = 9

39
Experiments III Waiting-time survival functions of orders (dots) and trades (crosses) in five cases out of six, the measured data do not follow the exponential law both for orders and trades!

40
Empirical results

41
Empirical results I Order data from the LSE Full order book available for the electronic market Glaxo Smith Kline (GSK) and Vodafone (VOD) March, June and October 2002 Nearly 800,000 orders and 540,000 trades analyzed Both limit and market orders have been included

42
Empirical results II There is always excess standard deviation; the null hypothesis of exponentially distributed data is always rejected.

43
Empirical results III Waiting-time survival functions for orders (dots) and trades (crosses) in seconds for GSK, March 2002. The solid lines represent the corresponding standard exponential survival function

44
Discussion and conclusions

45
Discussions and conclusions Why should we bother? This has to do with the market price formation mechanism and with the order process. If the order process is modeled by means of a Poisson distribution (exponential survival function), its random thinning should yield another Poisson distribution. This is not the case! Moreover, experiments and empirical analyses show that already the order process cannot be described by a Poisson process. Researchers working in the field of agent-based market models are warned! Simple explanation: variable human activity (see Scalas et al., Quantitative Finance 4, 695-702, 2004).

Similar presentations

Presentation is loading. Please wait....

OK

Anurag Dwivedi. Basic Block - Gates Gates -> Flip Flops.

Anurag Dwivedi. Basic Block - Gates Gates -> Flip Flops.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on index of industrial production india Ppt on call center training Ppt on carry select adder Ppt on word association test saturday Ppt on horizontal axis windmill Ppt on airport site selection Ppt on birds for kindergarten Ppt on sports day Ppt on viruses and anti viruses for computer Ppt on group development games