On Arbitrage Possibilities via Linear Feedback in an Idealized - - PowerPoint PPT Presentation

on arbitrage possibilities via linear feedback in an
SMART_READER_LITE
LIVE PREVIEW

On Arbitrage Possibilities via Linear Feedback in an Idealized - - PowerPoint PPT Presentation

On Arbitrage Possibilities via Linear Feedback in an Idealized Market B. Ross Barmish James A. Primbs University of Wisconsin Stanford University barmish@engr.wisc.edu japrimbs@stanford.edu Workshop on Uncertain Dynamical Systems Udine,


slide-1
SLIDE 1

Workshop on Uncertain Dynamical Systems Udine, Italy, 23-26 August, 2011

On Arbitrage Possibilities via Linear Feedback in an Idealized Market

  • B. Ross Barmish

University of Wisconsin barmish@engr.wisc.edu James A. Primbs Stanford University japrimbs@stanford.edu

slide-2
SLIDE 2

2

  • Feedback Control for Stock Trading

Outline for This Talk

  • Classical Linear Feedback in C1 Markets
  • Geometric Brownian Motion Markets
  • Practical Considerations and Back-Testing
  • Concluding Remarks and Future Research
slide-3
SLIDE 3

3

Feedback Control View

Reactive Versus Predictive Modelling

slide-4
SLIDE 4

4

  • Idealized Market Model
  • Proving Ground Concept
  • Continuously Differentiable
  • Geometric Brownian Motion
  • Price Differentiation Issue
  • LTI Feedback Controllers
  • Simultaneous Long-Short
  • Any Arbitrage Possibilities?

Feedback Control in Idealized Markets

slide-5
SLIDE 5

5

Arbitrage-Like Results

  • Get g(t) > 0 or E(g(t)) > 0
  • Cannot exploit IM Model
  • Still not quite an arbitrage
  • Role of Risk-free return
  • Stock Correlation to Market
  • The CAPM Theory to Consider
slide-6
SLIDE 6

6

Sampling Background Literature

Finance: Some highlights include Fama and Blume (1966), Gencay (1988), Brown and Jennings (1989), Brock et al (1992), Frankel and Froot (1996), Neely (1997), Lo et al (2000) Control: Meindl and Primbs (2004, 2008), Primbs (2007), Primbs and Sung (2008), Mudchanatogskul et al. (2008), Barmish (2008, 2010), Califiore (2008, 2009), Iwarere and Barmish (2010), Barmish and Primbs (2011) plus literature on stochastic differential equation approaches. Some Key Issues Addressed: market efficiency, chart patterns, moving average rules, benefits of timing, portfolio optimization, volatility, hedging, pairs trading (closest in flavor to today’s talk)

slide-7
SLIDE 7

7

Minimal Notation

p(t) = PRICE OF THE STOCK I(t) = AMOUNT INVESTED IN STOCK g(t) = GAIN or LOSS ON STOCK V(t) = ACCOUNT VALUE

I(t) < 0 means short sale

slide-8
SLIDE 8

8

Idealized Market

  • Continuous trading a la Black-Scholes
  • Costless Trading (no commissions, fees)
  • Perfect Liquidity (bid, ask, fills)
  • Trader is assumed to be price taker
  • Adequate Resources (no margin calls)
  • Class of Market Price Variations
  • C1 and Geometric Brownian Motion
slide-9
SLIDE 9

9

  • Feedback Control for Stock Trading
  • Classical Linear Feedback in C1 Markets
  • Geometric Brownian Motion Markets
  • Practical Considerations and Back-Testing
  • Concluding Remarks and Future Research

Outline for This Talk

slide-10
SLIDE 10

Idealized Market Dynamics

To illustrate for simplest case with continuously differentiable prices with initial conditions

Other Idealized Markets

  • Geometric Brownian Motion
  • Classes of Bull Markets
  • Classes of Bear Market
  • Many Others Possible

Let

slide-11
SLIDE 11

11

Special Case: Linear Feedback

With linear control and adequate resources the state equation solution becomes with resulting investment

  • Signs of I_0,K
  • Long or Short
  • Can lose money
  • Round trip g(T)
  • How to win?
  • Arbitrage Thm
slide-12
SLIDE 12

Simultaneous Long-Short (SLS) Linear Feedback

Superposition of two linear feedbacks: with trades individually satisfying

slide-13
SLIDE 13

13

Simultaneous Long-Short (SLS) Concept

The long trade: The short trade: The aggregate trade: This can be implemented as single trade by “netting out” as above.

slide-14
SLIDE 14

14

Summing the two solutions

Simultaneous Long-Short (SLS) Gains and Losses

And w.l.o.g. taking p(0) = 1, I(0) = 1, obtain

Arbitrage-Like Result

slide-15
SLIDE 15

15

Why Arbitrage-Like?

Consider the function F(p) is minimized at p = 1 More formally,

slide-16
SLIDE 16

16

  • Feedback Control for Stock Trading
  • Classical Linear Feedback in C1 Markets
  • Geometric Brownian Motion Markets
  • Practical Considerations and Back-Testing
  • Concluding Remarks and Future Research

Outline for This Talk

slide-17
SLIDE 17

Idealized GBM Market

The incremental return is given by dZ is a standard Brownian motion which can be viewed as N(0,dt) with drift mu and volatility sigma. Note that I can be a feedback; that is, and we obtain In the linear feedback case,

IMPORTANT The stock trader should not assume knowledge of the drift mu and the volatility sigma. This amounts to cheating.

With investment I, the incremental trading gain or loss is

slide-18
SLIDE 18

18

Theorem 1: Trading Gains

Along a GBM sample path p(t), the SLS feedback controller strategy leads to trading gain Note that the trading gain is independent of the Brownian motion drift parameter mu. We now look at the trading gains as a function of sigma and K.

slide-19
SLIDE 19

19

Trading Gains and Loss Well

ISSUES TO CONSIDER

  • Probability of Win
  • Mean Trading Gain
  • Variance of Trading Gain
  • More Generally, the PDF
slide-20
SLIDE 20

20

Theorem 2: Free Lunch?

The expectation and variance resulting from the SLS feedback controller are given by Moreover, and

TRUE ARBITRAGE?

  • Depends on Risk-Free Return
  • Invariance to Market: CAPM
  • My Current Work with Primbs

Robustly Non-negative!

slide-21
SLIDE 21

21

PDF for Trading Gain

Preliminaries: Define the quantities

Can you remember all this?

slide-22
SLIDE 22

22

Theorem 3: PDF for Trading Gain

For ,the probability density function f(x,t) for the SLS trading gain g is given as follows: For f(x,t) = 0 and for Now, what does this all mean in terms

  • f the attractiveness of an SLS trade?
slide-23
SLIDE 23

23

PDF For Trading Gain

We plot the PDF for and obtain

REMARKS

  • For SLS: wlog, mu > 0
  • When mu large: Look @ P(win)
  • When mu small: Look @ P(win)
  • Limited loss due to g*
  • E[g] as a function of mu
slide-24
SLIDE 24

24

Attractiveness of SLS

Attractiveness governed by For example, when This implies 45% plus return When mu is small P(win) can be small but recall P(g < g*) is zero. For example, in the driftless case with mu = 0, we have g* = -.07. This means worst case loss is 7%.

slide-25
SLIDE 25

Attractiveness of SLS (2)

We use the pdf of Theorem 3 to generate With parameters given by

slide-26
SLIDE 26

26

  • Massive Monte Carlo Simulation
  • More than 2M Sample Pathes
  • Pick uniform distribution
  • Pick 40K sigma values in
  • Use I_0 = 1, K = 4, N = 252
  • Run GBM + SLS Simulation
  • Keep Track of Statistics

Trading GBM Sample Pathes

slide-27
SLIDE 27

27

Evaluation of Performance

For each value of mu, let the i-th trading gain and let be the associated average investment. Now we define raw return We define weighting factor and weighted raw return

Convergence: Partial Sums of R

slide-28
SLIDE 28

Evaluation of Performance (2)

slide-29
SLIDE 29

Evaluation of Performance (3)

slide-30
SLIDE 30

30

  • Feedback Control for Stock Trading
  • Classical Linear Feedback in C1 Markets
  • Geometric Brownian Motion Markets
  • Practical Considerations and Back-Testing
  • Concluding Remarks and Future Research

Outline for This Talk

slide-31
SLIDE 31

31

Some Practical Considerations

  • Use of Leverage and Margin
  • Controller Saturation
  • Controller Reset
  • Inclusion of Risk-free Asset
slide-32
SLIDE 32

32

Improvement: Control Reset

Motivation provided by simple intuitive example When t = 50, long position is thriving and short position is diminished nearly to zero. If we leave the controller alone, we will arrive at break-even by t = 100. So we reset the controller back to initial investment values when either of the conditions below is satisfied:

slide-33
SLIDE 33

33

Sinusoidal Prices With Reset

Gain K = 4, initial investment I(0) = 10,000 and reset triggered when long or short position goes below 2,000

slide-34
SLIDE 34

34

Discrete-Time Implementation

The Basic Equations: Add Sign Requirements: Add Margin Requirements:

A Little Back-Testing

slide-35
SLIDE 35

35

Back-Testing: Trading the Nasdaq

  • Exchange traded fund (ETF) called QQQQ tracks
  • So we trade the “quadruple Q’s” instead of Nasdaq
  • Precedes beginning of the market crash in 2008

and includes some nice round trips for testing.

  • Two year period beginning September 1, 2006

SLS Controller Parameters We take control gain K = 8, initial investment and the account value to be $10,000, leverage = 2V, so gamma = 2 and reset the trade when either the long or the short investment falls below 20% of its initial value; that is below $2000.

slide-36
SLIDE 36

36

Simulation Results

Green = LONG Red = SHORT Black = TOTAL

slide-37
SLIDE 37

37

IBM Two Year Bull Market Begins 8/13/05

Parameters K = 4, V(0) = 10,000, Delta = 1.333, r = 0.05

slide-38
SLIDE 38

38

IBM Bear: Reverse Prices

Parameters K = 4, V(0) = 10,000, Delta = 1.333, r = 0.05

slide-39
SLIDE 39

39

  • Feedback Control for Stock Trading
  • Classical Linear Feedback in C1 Markets
  • Geometric Brownian Motion Markets
  • Practical Considerations and Back-Testing
  • Concluding Remarks and Future Research

Outline for This Talk

slide-40
SLIDE 40

40

Concluding Remarks

  • Positive Gain g(t) Versus Arbitrage
  • Discounting Using Risk-free Return
  • CAP Consideration: dp/p = beta*dM/M + phi
  • Adaptive Control; e.g., K(history)
  • Consideration of Portfolio; e.g., S&P