Discrete homotopy analysis for optimal trading execution with nonlinear transient market impact

https://doi.org/10.1016/j.cnsns.2016.03.012Get rights and content

Highlights

  • Optimal execution problem in presence of a concave instantaneous market impact.

  • Application of the homotopy analysis method to a weakly singular Urysohn equation of the first kind.

  • Development of a discrete homotopy analysis to deal with the no-closed form of definite integrals under exam.

Abstract

Optimal execution in financial markets is the problem of how to trade a large quantity of shares incrementally in time in order to minimize the expected cost. In this paper, we study the problem of the optimal execution in the presence of nonlinear transient market impact. Mathematically such problem is equivalent to solve a strongly nonlinear integral equation, which in our model is a weakly singular Urysohn equation of the first kind. We propose an approach based on Homotopy Analysis Method (HAM), whereby a well behaved initial trading strategy is continuously deformed to lower the expected execution cost. Specifically, we propose a discrete version of the HAM, i.e. the DHAM approach, in order to use the method when the integrals to compute have no closed form solution. We find that the optimal solution is front loaded for concave instantaneous impact even when the investor is risk neutral. More important we find that the expected cost of the DHAM strategy is significantly smaller than the cost of conventional strategies.

Introduction

The optimization of trading strategies has long been an important goal for investors in financial markets. As demonstrated in the context of a linear equilibrium model by Kyle thirty years ago [33], the optimal strategy for an investor with insider information on the fundamental price of an asset is to trade incrementally through time. This strategy allows the trader to minimize costs whilst also minimizing the revelation of information to the rest of the market. The precise way in which it is optimal to split the large order (herein called metaorder) [55] depends on the objective function and on the market impact model, i.e. the change in price conditioned on signed trade size. In part due to the increasing tendency toward a full automation of exchanges and in part due to the discovery of new statistical regularities of the microstructure of financial markets, the problem of optimal execution is receiving growing attention from the academic and practitioner communities [6], [25], [29].

As pointed out in Gatheral et al. [26], a first generation of market impact models, studied by Bertsimas, Lo and Almgren [12], [13], [14], [17], distinguishes between two impact components. The first component is temporary and only affects the individual trade that has triggered it. The second component is permanent and affects all current and future trades equally. These models can be either in discrete or in continuous time and can assume either linear or nonlinear market impact for individual trades. The second generation of market impact models focuses on the transient nature of market impact [18], [20], [29], [44]. In such models, market impact is typically assumed to factorize into two components: instantaneous market impact and a decay component. The instantaneous component models the reaction of price to traded volume. The decay component describes how the market price relaxes on average after the execution of an order. In such models, each trade affects future price dynamics with an intensity that decays with time.

The problem of optimal execution in the presence of transient impact has been considered in a series of recent studies. In the case of linear instantaneous market impact [9], [21], [26], the problem has been completely solved by showing that the cost minimization problem is equivalent to solving an integral equation. In particular Gatheral et al. [26] proved that optimal strategies can be characterized as measure-valued solutions of a Fredholm integral equation of the first kind. They show that optimal strategies always exist and are nonalternating between buy and sell trades when price impact decays as a convex function of time. This extends the result of Alfonsi et al. [10] on the non-existence of transaction triggered price manipulation, i.e. strategies where the expected execution costs of a sell (buy) program can be decreased by intermediate buy (sell) trades.

However, a series of empirical studies [16], [20], [38] has clearly shown that the instantaneous market impact is a strongly concave function of the volume, well approximated by a power law function. The resulting optimal execution problem in the presence of nonlinear and transient impact is mathematically much more complicated than the linear case. Some important results in the nonlinear transient case were established by Gatheral [29] who showed that under certain conditions, the model admits price manipulation, i.e. the existence of round trip strategies with positive expected revenues. This money machine should of course be avoided in the modeling of market impact. In particular Gatheral set some necessary conditions for the absence of price manipulation (see below for details and Ref. [23]). A step toward the solution of the optimal execution problem under nonlinear transient impact has been made recently by Dang [24]. In this paper, Dang suggests a way to convert the cost minimization problem into a nonlinear integral equation and proposes a numerical fixed point method on a discretization of the trading time interval to solve this equation.

In this paper we propose the Homotopy Analysis Method (HAM) [34], [35], [37] to solve the integral equation proposed by Dang [24]. This method is now widely used in dealing with non-linear equations. Nonlinear equations are difficult to solve, especially analytically. Perturbation techniques are widely applied in science and engineering, and give a great contribution to help us understand nonlinear phenomena [43]. However, it is well known that perturbation methods are strongly dependent upon small/large physical parameters, and therefore are valid in principle only for weakly nonlinear problems. The so-called non-perturbation techniques, such as the Lyapunov’s artificial small parameter method [40], the δ-expansion method [15], Adomian’s decomposition method [7], are formally independent of small/large physical parameters. The problem is that all of these traditional non-perturbation methods cannot ensure the convergence of the solution series: they are in fact only valid for weakly nonlinear problems too. The homotopy analysis method [37] is a general analytic approach to get series solutions of various types of nonlinear equations, including algebraic equations, ordinary differential equations, partial differential equations, recently linear and nonlinear integral equations [30], [53] and coupled version of them. Unlike perturbation methods, the HAM is independent of small/large physical parameters, and thus it is valid no matter whether a nonlinear problem contains small/large physical parameters or not. More important, differently from all perturbation and traditional non-perturbation methods, the HAM provides us a simple way to ensure the convergence of solution series, and therefore, the HAM is valid even for strongly nonlinear problems [34], [35]. More and more researchers have successfully applied this method to various nonlinear problems in science and engineering, such as the viscous flows of non-Newtonian fluids [52], the KdV-type equations [1], nonlinear heat transfer [2], projectile motion [54], magneto-hydrodynamics [8], Burgers–Huxley equation [42]. The HAM has been successfully applied to solve a few problems in finance [45], [56], e.g. in the case of American Put Option (Ref. [22] and Chapter 13 in [37]). Abbasbandy and Shivanian [3] described the usage of HAM for solving the nonlinear Fredholm integral equation of the second kind. In this case the uniqueness of solution was proven and the sufficient condition for convergence of the created series was given.

We apply the HAM to solve a weakly singular Urysohn integral equation of the first kind. The particular form of nonlinearity, described by a nonlinear transient market impact, requires homotopy-derivatives relative to a bi-dimensional system [37]. Moreover, this approach implies the computation of several definite integrals, which cannot be solved analytically. This technical problem requires the use of a discretization of integrals involved in computations and led us to discretize the deformation equations relative to HAM. A similar approach was followed by Allahviranloo and Ghanbari [11] to solve nonlinear Fredholm integral equations of the second kind. The method starts from an initial guess for the trading strategy and deforms it continuously in order to find better and better approximations of the solution of the integral equation. In doing this, we are implicitly restricting the space of solutions to continuous nonvanishing functions of the trading rate. We find that the optimal solution is a non time-symmetric U-shape; in the case of concave instantaneous impact, it is optimal to trade more at the beginning of the metaorder in presence of a buy program. A comparative cost analysis shows that our solution outperforms conventional strategies.

The paper is organized as follows. In Section 2, we state the problem and explain why it is difficult to solve. In Section 3, we present the HAM approach to the solution of the cost minimization problem. In Section 4 we show the HAM solutions for three different cases of study. In Section 5, we summarize and conclude. In the Appendix A.1 we report the details on the computation of the homotopy-derivative for a bi-dimensional system.

Section snippets

The optimal execution problem

An impact model describes the relation between the trading activity and the price dynamics. Let us call x˙(t) is the rate of trading, i.e. number of shares per unit of time, at time t, when the price of the asset is S(t). According to the nonlinear transient market impact model, a trading order starting at time t=0, when the price is S(0)=S0, and lasting until t=T generates a price dynamics S(t)=S0+0tf(x˙(s))G(ts)ds+0tσdW(s),wheref(x˙(s)) represents the impact of trading at time s, G(ts)

The homotopy analysis method

The concept of homotopy can be traced back to Henri Poincaré and describes a continuous variation or deformation. In our specific case, let us consider the following general nonlinear equation: N[v(t)]=0,where N is a nonlinear operator, t denotes the independent variable, and v(t) is the unknown function. Liao [37] constructs the so-called zero-order deformation equation (1p)L[ϕ(t;p)v0(t)]=pH(t)N[ϕ(t;p)],where p ∈ [0, 1] is called the homotopy parameter, or embedding parameter and is a

Results

We have implemented the DHAM for the Urysohn equation under exam in MATLAB code using the Parallel Computing Toolbox environment [41]. The MATLAB code ran on a system equipped with an Intel(R) Core i7-3930 @ 3.2 GHz, 16GB 1333 MHz DDR3. The parallelization was performed on the 12 threads allowed by this processor. The parallel part of the code regards the independent computations of the deformation equations for different values of in order to find the optimal value min that minimizes the

Conclusions

In this paper, we have studied the problem of finding optimal execution strategies in the nonlinear transient impact model using a discrete homotopy analysis approach. If the class of admissible strategies is constrained so as to eliminate the possibility of zero trading rates, the cost minimization problem may be cast as an Urysohn integral equation of the first kind. The solutions obtained are by construction continuous deformation of initial guesses, such as VWAP. We have shown that the

Acknowledgments

We thank Alessandro Profeti for useful discussions regarding coding in MATLAB and C.

References (56)

  • AbbasbandyS.

    The application of the homotopy analysis method to solve a generalized Hirota–Satsuma coupled KdV equation

    Phys Lett A

    (2007)
  • AbbasbandyS.

    Homotopy analysis method for heat radiation equations

    Int Commun Heat Mass Transf

    (2007)
  • AbbasbandyS. et al.

    A new analytical technique to solve Fredholm’s integral equations

    Numer Algorithms

    (2011)
  • AbbasbandyS. et al.

    Mathematical properties of -curve in the framework of the homotopy analysis method

    Commun Nonlinear Sci Numer Simul

    (2011)
  • AbbasbandyS.

    Homotopy analysis method for the Kawahara equation

    Nonlinear Anal Real World Appl

    (2010)
  • AbergelF. et al.

    Market microstructure: Confronting many viewpoints

    (2012)
  • AdomianG.

    A review of the decomposition method and some recent results for nonlinear equations

    Comput Math Appl

    (1991)
  • AkyildizF.T. et al.

    Magnetohydrodynamic flow of a viscoelastic fluid

    Phys Lett A

    (2008)
  • AlfonsiA. et al.

    Capacitary measures for completely monotone kernels via singular control

    SIAM J Control Optim

    (2013)
  • AlfonsiA. et al.

    Order book resilience, price manipulation, and the positive portfolio problem

    SIAM J Financ Math

    (2012)
  • AllahviranlooT. et al.

    Discrete homotopy analysis method for the nonlinear Fredholm integral equations

    Ain Shams Eng J

    (2011)
  • AlmgrenR. et al.

    Value under liquidation

    Risk

    (1999)
  • AlmgrenR. et al.

    Optimal execution of portfolio transactions

    J Risk

    (2000)
  • AlmgrenR.

    Optimal execution with nonlinear impact functions and trading-enhanced risk

    Appl Math Financ

    (2003)
  • AwrejcewiczJ. et al.

    Asymptotic approaches in nonlinear dynamics

    (1998)
  • BacryE. et al.

    Market impacts and the life cycle of investors orders

    Market Microstructure and Liquidity

    (2015)
  • BertsimasD. et al.

    Optimal control of execution costs

    J Financ Mark

    (1998)
  • BouchaudJ.-P. et al.

    How markets slowly digest changes in supply and demand

    Handbook of financial markets: Dynamics and evolution

    (2008)
  • BouchaudJ.-P. et al.

    Random walks, liquidity molasses and critical response in financial markets

    Quant Financ

    (2006)
  • BouchaudJ.-P. et al.

    Fluctuations and response in financial markets: the subtle nature of ‘random’ price changes

    Quant Financ

    (2004)
  • BussetiE. et al.

    Calibration of optimal execution of financial transactions in the presence of transient market impact

    J Stat Mech

    (2012)
  • ChengJ. et al.

    An explicit series approximation to the optimal exercise boundary of American put options

    Commun Nonlinear Sci Numer Simul

    (2010)
  • Curato G., Gatheral J., Lillo F. Optimal execution with nonlinear transient market impact. 2015. Available at SSRN:...
  • Dang N.M. Optimal execution with transient impact. 2014. Available at SSRN:...
  • DonierJ. et al.

    A fully consistent, minimal model for non-linear market impact

    Quant Financ

    (2015)
  • GatheralJ. et al.

    Transient linear price impact and Fredholm integral equations

    Math Financ

    (2012)
  • GatheralJ. et al.

    Exponential resilience and decay of market impact

  • GatheralJ. et al.

    Dynamical models of market impact and algorithms for order execution

  • Cited by (9)

    View all citing articles on Scopus
    View full text