30
Optimal Algorithmic Trading Optimal Algorithmic Trading Dan diBartolomeo Dan diBartolomeo Northfield Information Services, Inc. Northfield Information Services, Inc. May 2005 May 2005

Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Optimal Algorithmic TradingOptimal Algorithmic Trading

Dan diBartolomeo Dan diBartolomeo Northfield Information Services, Inc.Northfield Information Services, Inc.

May 2005May 2005

Page 2: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Topics for TodayTopics for Today

•• An apology to those who attend this seminar regularlyAn apology to those who attend this seminar regularly–– I’ve talked about this topic in some form for the last three yeaI’ve talked about this topic in some form for the last three years. rs.

Thank you for your patience. We’re closing in on something funThank you for your patience. We’re closing in on something fun

•• An overview of the trading problemAn overview of the trading problem•• Existing algorithmic trading methodsExisting algorithmic trading methods•• The Northfield algorithm with InstinetThe Northfield algorithm with Instinet

–– A full utility function in discrete timeA full utility function in discrete time–– Market impact modelMarket impact model–– Market impact interaction across securities and across timeMarket impact interaction across securities and across time

Page 3: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

The Trading ProblemThe Trading Problem•• Trading is the implementation of our portfolio decisionsTrading is the implementation of our portfolio decisions•• The most popular way to measure trading effectiveness The most popular way to measure trading effectiveness

is is implementation shortfallimplementation shortfall as defined in Perold (1988)as defined in Perold (1988)–– Once we’ve decided that we want to change our portfolio, we Once we’ve decided that we want to change our portfolio, we

measure the performance of our actual portfolio, against the measure the performance of our actual portfolio, against the hypothetical portfolio we now want to hold (assuming we could hypothetical portfolio we now want to hold (assuming we could trade instantly at no cost)trade instantly at no cost)

•• More simplistic measures are often substituted, and More simplistic measures are often substituted, and easily gamed by traderseasily gamed by traders–– Measure the “cost” of a buy as the average price (including Measure the “cost” of a buy as the average price (including

commissions) against VWAP for that daycommissions) against VWAP for that day–– Simple way to win: wait until late in the day, if the expected Simple way to win: wait until late in the day, if the expected

trade price is greater than VWAP, don’t trade until tomorrow trade price is greater than VWAP, don’t trade until tomorrow

Page 4: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Explicit and Implicit CostsExplicit and Implicit Costs•• Most people see trading costs as having several Most people see trading costs as having several

componentscomponents–– Agency costsAgency costs–– Bid/Asked SpreadBid/Asked Spread–– Market Impact (my trade moves the price)Market Impact (my trade moves the price)–– Trend Costs (other people’s trades move the price, maybe in my Trend Costs (other people’s trades move the price, maybe in my

favor)favor)•• Often overlooked ingredientsOften overlooked ingredients

–– My large concurrent trades (my trade in Ford impacts the price My large concurrent trades (my trade in Ford impacts the price of GM)of GM)

–– If I expect a stock to go up, I want to buy it before, not afterIf I expect a stock to go up, I want to buy it before, not after it it goes up. If I expect a stock to go down, I want to sell it beforgoes up. If I expect a stock to go down, I want to sell it before, e, not after it goes downnot after it goes down

–– If the stock price moves too much before I trade, I may decide If the stock price moves too much before I trade, I may decide to cancel the trade altogether. If I was right about my return to cancel the trade altogether. If I was right about my return expectation, this is very costlyexpectation, this is very costly

Page 5: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

A Simple Framework Captures It AllA Simple Framework Captures It All•• The implementation shortfall is the cumulative return on The implementation shortfall is the cumulative return on

a long/short portfolio that we are trying to liquidate to a long/short portfolio that we are trying to liquidate to cashcash–– We are long stocks we have and don’t want (e.g. an undone sell We are long stocks we have and don’t want (e.g. an undone sell

order)order)–– We are short stocks we want and don’t have (e.g. an undone We are short stocks we want and don’t have (e.g. an undone

buy order)buy order)

•• Using this framework, we can use a fairly traditional Using this framework, we can use a fairly traditional utility functionutility function–– Sensibly determine tradeSensibly determine trade--offs between opportunity costs (short offs between opportunity costs (short

term alpha), risk and explicit trading coststerm alpha), risk and explicit trading costs

•• The Northfield trading algorithm is an optimization in The Northfield trading algorithm is an optimization in discrete time over the parameters of this utility functiondiscrete time over the parameters of this utility function

Page 6: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Evolution of Trading AlgorithmsEvolution of Trading Algorithms

•• Bertsimas and Lo (1998) and Bertsimas, Hummel and Lo Bertsimas and Lo (1998) and Bertsimas, Hummel and Lo (1999) propose a dynamic programming solution that (1999) propose a dynamic programming solution that trades opportunity costs against market impacttrades opportunity costs against market impact–– Set up as a complex set of differential equations requiring Set up as a complex set of differential equations requiring

Bellman equation methods to solveBellman equation methods to solve•• Almgren and Chriss (2001, 2001) Almgren and Chriss (2001, 2001)

–– Add risk to the problemAdd risk to the problem–– Form a “cost versus risk” efficient frontierForm a “cost versus risk” efficient frontier–– Still computationally complexStill computationally complex

•• In 2004, I worked with an MIT student group to develop In 2004, I worked with an MIT student group to develop a microstructure model of market impacta microstructure model of market impact–– Included a closed form solution to the optimal schedule for a Included a closed form solution to the optimal schedule for a

single stocksingle stock

Page 7: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Some Algorithms are Really SimpleSome Algorithms are Really Simple•• Use VWAPUse VWAP

–– Schedule to trade some constant percentage of expected volumeSchedule to trade some constant percentage of expected volume–– Randomize timing of execution “firing” to reduce frontRandomize timing of execution “firing” to reduce front--running running

•• Use Modified Dollar Cost AveragingUse Modified Dollar Cost Averaging–– Start with a constant percentage of volumeStart with a constant percentage of volume–– Establish the “arrival” price when the trader gets order Establish the “arrival” price when the trader gets order –– Adjust the speed over time based on something like:Adjust the speed over time based on something like:

POV = POV(VWAP) + M * (Arrival Price/Current PricePOV = POV(VWAP) + M * (Arrival Price/Current Price--1)1)

–– Will generally produce a favorable looking result for tradersWill generally produce a favorable looking result for traders–– Risk of large implementation shortfalls is huge if the stock priRisk of large implementation shortfalls is huge if the stock price ce

trends against you, and you eventually have to trade at a very trends against you, and you eventually have to trade at a very disadvantageous price just to finishdisadvantageous price just to finish

•• Use Risk Adjusted Dollar Cost AveragingUse Risk Adjusted Dollar Cost Averaging–– Make the M coefficient an inverse a function of security volatilMake the M coefficient an inverse a function of security volatility ity

Page 8: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Our AlgorithmOur Algorithm•• Using the long/short portfolio framework for Using the long/short portfolio framework for

implementation shortfall, we begin with the single period implementation shortfall, we begin with the single period meanmean--variance utility function from Markowitz and Levy variance utility function from Markowitz and Levy (1979)(1979)

U = A U = A –– SS22/T /T –– C*AC*A

•• Remember “alphas” are turned around so we’re trying to Remember “alphas” are turned around so we’re trying to liquidate the portfolioliquidate the portfolio–– We’re short stocks we want to buy (i.e. we think will go up)We’re short stocks we want to buy (i.e. we think will go up)–– We’re long stocks we went to sell (i.e. we think will go down)We’re long stocks we went to sell (i.e. we think will go down)

•• In the absence of short term alphas, trade urgency is a In the absence of short term alphas, trade urgency is a function of the marginal risk contribution to the function of the marginal risk contribution to the long/short portfoliolong/short portfolio–– We then trade risk off against explicit transaction costsWe then trade risk off against explicit transaction costs

Page 9: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Now Lets Go to Discrete TimeNow Lets Go to Discrete Time•• Lets break up the trading horizon into N periods of Lets break up the trading horizon into N periods of

unequal length that will each contain 100/N% of the unequal length that will each contain 100/N% of the expected daily volumeexpected daily volume

•• We want to maximize the summation of utility of the N We want to maximize the summation of utility of the N discrete periodsdiscrete periods

U = U = Σ Σ v=1 to nv=1 to n(Av (Av –– SvSv22/T /T –– Cv*A)Cv*A)

–– The Av term is your short term alpha forecasts for each stock. The Av term is your short term alpha forecasts for each stock. These can be revised at each time VThese can be revised at each time V

–– The Sv term is the volatility of the remaining portion of the The Sv term is the volatility of the remaining portion of the long/short portfolio at time Vlong/short portfolio at time V

–– T is your marginal rate of substitution for risk/returnT is your marginal rate of substitution for risk/return–– Cv is all explicit trading costs to be incurred in period VCv is all explicit trading costs to be incurred in period V–– A is the aggressiveness level of tradingA is the aggressiveness level of trading–– Need to reconcile “clock time” with “volume time”Need to reconcile “clock time” with “volume time”

Page 10: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

We Do Risk Models for a LivingWe Do Risk Models for a Living

•• We can compute the risk term (SWe can compute the risk term (S22) from our short term ) from our short term risk modelsrisk models

•• We’ve had a Short Term US Model for a long time. See We’ve had a Short Term US Model for a long time. See (diBartolomeo and Warrick, Chapter 12, (diBartolomeo and Warrick, Chapter 12, Linear Factor Linear Factor Models in FinanceModels in Finance) for details) for details

•• We have a prototype of a Short Term Global Model up We have a prototype of a Short Term Global Model up and running. Testing is ongoingand running. Testing is ongoing

•• The security volatility and correlation estimates are also The security volatility and correlation estimates are also inputs to our market impact modelinputs to our market impact model

Page 11: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

How about Short Term Alphas?How about Short Term Alphas?

•• Many people ignore this as too difficult to estimateMany people ignore this as too difficult to estimate•• Most popular approach is to establish a “target” price for Most popular approach is to establish a “target” price for

the end of the period. Alpha is just the percentage price the end of the period. Alpha is just the percentage price difference times some expected information coefficientdifference times some expected information coefficient–– This will add some of the same directional tendencies as the This will add some of the same directional tendencies as the

simpler algorithmssimpler algorithms–– If a stock you expect to go up drops in price, its alpha will If a stock you expect to go up drops in price, its alpha will

increase making you want to trade it fasterincrease making you want to trade it faster–– If a stock you expect to go down increases in price, its alpha wIf a stock you expect to go down increases in price, its alpha will ill

decrease making you want to trade it fasterdecrease making you want to trade it faster•• ShortShort--term reversal strategies could be as easily term reversal strategies could be as easily

accommodatedaccommodated

Page 12: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Our Chronology on Trading CostsOur Chronology on Trading Costs

•• Despite a lot of research, we have had reservations Despite a lot of research, we have had reservations regarding the usefulness of market impact modelsregarding the usefulness of market impact models

•• Concurrent trades have a large influence on expected Concurrent trades have a large influence on expected market impact of tradesmarket impact of trades

•• We incorporated user definable market impact functions We incorporated user definable market impact functions that could handle crossthat could handle cross--impacts of concurrent trades into impacts of concurrent trades into our Optimizer in March 2003our Optimizer in March 2003–– Not many clients used these functions and some that did had Not many clients used these functions and some that did had

trouble getting reasonable parameters for market impact of trouble getting reasonable parameters for market impact of large trades. large trades.

•• Since then we’ve created a market impact model that Since then we’ve created a market impact model that relies on a simple economic model and boundary relies on a simple economic model and boundary conditionsconditions

Page 13: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Trading Cost EstimationTrading Cost Estimation

•• Agency Costs are essentially known in advanceAgency Costs are essentially known in advance•• Bid/Asked Spreads: Some time variation but Bid/Asked Spreads: Some time variation but

reasonably stablereasonably stable•• Market Impact: Lots of models exist Market Impact: Lots of models exist

–– Underlying factors are highly significantUnderlying factors are highly significant–– Explanatory power is typically lowExplanatory power is typically low–– Often estimated on empirical data sets that do not contain Often estimated on empirical data sets that do not contain

really large trades because traders know that liquidity is really large trades because traders know that liquidity is insufficient to undertake theminsufficient to undertake them

•• Trend Costs: This is the “risk” piece of our functionTrend Costs: This is the “risk” piece of our function–– Other people’s trades can move the price for or against usOther people’s trades can move the price for or against us–– ExEx--post often the largest absolute part of the costs. Pretty post often the largest absolute part of the costs. Pretty

darn random. darn random.

Page 14: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Transaction Cost Functional FormTransaction Cost Functional Form

•• Lets consider a simple model of direct trading costs. Lets consider a simple model of direct trading costs. Lots of models look like this. Costs of trading increase Lots of models look like this. Costs of trading increase with trade size at a decreasing ratewith trade size at a decreasing rate

M = a + bX + c(abs(XM = a + bX + c(abs(X1/21/2))))M is the expected cost to trade one shareM is the expected cost to trade one shareX is the number of shares to be tradedX is the number of shares to be tradeda is the fixed costs per sharea is the fixed costs per shareb,c are coefficients expressing the liquidity of the stock b,c are coefficients expressing the liquidity of the stock

(estimated from fundamentals and trading data)(estimated from fundamentals and trading data)

•• Empirical literature suggests is somewhere between Empirical literature suggests is somewhere between linear with trade size and the square root of sizelinear with trade size and the square root of size–– Using units of percentage of expected volume clarifies thingsUsing units of percentage of expected volume clarifies things

Page 15: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Market Impact Model ProblemsMarket Impact Model Problems•• Most market impact models do not deal effectively Most market impact models do not deal effectively

with very large trades. with very large trades. –– Traders know they can’t do these trades so they break them Traders know they can’t do these trades so they break them

up into a series of small trades. As no empirical data is up into a series of small trades. As no empirical data is available, models don’t deal with the steep increase in costs available, models don’t deal with the steep increase in costs at liquidity limitsat liquidity limits

•• Our solution is to add another term to the cost Our solution is to add another term to the cost equationequation

d(max(Xd(max(Xtt--LLtt,0)),0))22

LLt t is one sided volume in t periods that will cause is one sided volume in t periods that will cause serious liquidity breakdownserious liquidity breakdownd is not estimated from empirical data but from d is not estimated from empirical data but from assumption of optimal trade break upassumption of optimal trade break up

Page 16: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

A Bit Fancier on Direct CostsA Bit Fancier on Direct Costs

M = a + bXM = a + bXTT + c(abs(X+ c(abs(XT T 1/21/2)))) + +

d(max((Xtd(max((Xt--L)L)22,0)) + Z,0)) + Zt t

M is the expected cost to trade one shareM is the expected cost to trade one shareXXtt is the absolute value of shares to be traded in t periodsis the absolute value of shares to be traded in t periodsa is the fixed costs per sharea is the fixed costs per shareb,c d are coefficients expressing the liquidity of the stockb,c d are coefficients expressing the liquidity of the stockUUtt = expected short term trend of stock return (including = expected short term trend of stock return (including

covariance with other stocks with predicted trendscovariance with other stocks with predicted trendsZZtt = expected influence due to the covariance of this stock = expected influence due to the covariance of this stock

with the market impact of my concurrent tradeswith the market impact of my concurrent tradesL = is the biggest trade we think the market can handle with L = is the biggest trade we think the market can handle with

normal liquidity (empirical evidence suggests between 10% normal liquidity (empirical evidence suggests between 10% and 50% ADV)and 50% ADV)

Page 17: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

But in Discrete Time We Need One But in Discrete Time We Need One More ThingMore Thing•• We need to address that the market impact caused by We need to address that the market impact caused by

trades in one period may impact prices in subsequent trades in one period may impact prices in subsequent periodsperiods–– We call this “stickiness”We call this “stickiness”

–– The magnitudes depend on how long your time periods areThe magnitudes depend on how long your time periods are

MMtt = a + [ bX= a + [ bXtt + c (abs (X+ c (abs (Xt t 1/21/2)) )) + + d(max((d(max((

XXtt--L)L)22,0)),0)) ] + Z] + Zt t

++ Σ Σ v=1 to tv=1 to t--11(K(Ktt--vv [ bX[ bXvv + c(abs(X+ c(abs(Xvv1/2 1/2 )) + )) +

ZZv v + + d(max((Xd(max((Xvv--L)L)22,0)),0)) ])])

–– K is a coefficient between zero and oneK is a coefficient between zero and one

Page 18: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Lets Talk about the Z termLets Talk about the Z term

ZZitit= = Sum Sum j = 1 to mj = 1 to m (bX(bXjtjt + c(abs (X+ c(abs (Xjtjt.5.5)) + d * )) + d *

(max [X(max [Xjtjt -- Li,0]^2) * (PLi,0]^2) * (Pijij ** QQijij))

For all i <> jFor all i <> j

Pij = the correlation between stocks i and j derived from risk Pij = the correlation between stocks i and j derived from risk model and adjusted for volume fluctuation correlation [see model and adjusted for volume fluctuation correlation [see Domowitz, Hansch and Wang (2005)]Domowitz, Hansch and Wang (2005)]

Qij = 1 ifQij = 1 if [Change in[Change in Shares (i) *Shares (i) * Change in Shares (j)]Change in Shares (j)] > 0 > 0 Qij =Qij = --1 if [Change in Shares(i) * Change in Shares(j)]1 if [Change in Shares(i) * Change in Shares(j)] < 0 < 0

Page 19: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Until Now Users Estimated b,c,dUntil Now Users Estimated b,c,d•• Clients are accustomed to only estimating the value Clients are accustomed to only estimating the value

of A, the basic cost per shareof A, the basic cost per share•• Current market impact models estimate B and C, but Current market impact models estimate B and C, but

typically from empirical analysis of small trades typically from empirical analysis of small trades –– Large trades (i. e. bigger than L) don’t show up in historical Large trades (i. e. bigger than L) don’t show up in historical

databases because traders know they are too big to executedatabases because traders know they are too big to execute–– Tick by tick trade and quote data not available for many Tick by tick trade and quote data not available for many

marketsmarkets

•• Initial client parameterizations have been mixedInitial client parameterizations have been mixed–– 150% transaction costs on a sell?150% transaction costs on a sell?

•• At this seminar last year, I talked about using At this seminar last year, I talked about using boundary conditions to ensure rational parametersboundary conditions to ensure rational parameters–– Objective is to minimize mean squared error of estimatesObjective is to minimize mean squared error of estimates

Page 20: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

What Might Reasonable Bounds Be?What Might Reasonable Bounds Be?

•• How about assuming the maximum market impact How about assuming the maximum market impact would be equal to the premium paid in typical hostile would be equal to the premium paid in typical hostile takeovers?takeovers?–– Academic studies and M&A databases (Dealmarker’s Journal) Academic studies and M&A databases (Dealmarker’s Journal)

show mean premium from 37 to 50% with standard show mean premium from 37 to 50% with standard deviation of around 30%deviation of around 30%

•• Where does the distribution of observed bid and offer Where does the distribution of observed bid and offer sizes top out from existing databases (e.g. TAQ)?sizes top out from existing databases (e.g. TAQ)?–– Well below one half day average trading volume Well below one half day average trading volume

•• If there is an imbalance between buyers and sellers If there is an imbalance between buyers and sellers (think October 19, 1987) how much can prices (think October 19, 1987) how much can prices move?move?–– Market averages dropped about 25% in October 1987Market averages dropped about 25% in October 1987

Page 21: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Formulating Market ImpactFormulating Market Impact

•• Assume there is a liquidity provider on the other side of Assume there is a liquidity provider on the other side of the tradethe trade

•• They will take the other side of your trade, then slowly They will take the other side of your trade, then slowly feed the position back into the market to avoid market feed the position back into the market to avoid market impact (e.g. 1% of ADV per day)impact (e.g. 1% of ADV per day)

•• The liquidity provider needs to cover the cost of the The liquidity provider needs to cover the cost of the money they use to finance the trade, and a return on money they use to finance the trade, and a return on capital they hold in reserve against possible losses. This capital they hold in reserve against possible losses. This will be a function VAR caused by the asset specific risk will be a function VAR caused by the asset specific risk of the securityof the security

•• As the trade gets larger, an increasing number of As the trade gets larger, an increasing number of liquidity providers will compete to participate, driving liquidity providers will compete to participate, driving down the rate of return on reserved capitaldown the rate of return on reserved capital

Page 22: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

Lets Look at the MathLets Look at the MathMi(X) = Pi * (.5 * G(X)/365) * W + Mi(X) = Pi * (.5 * G(X)/365) * W + [Pi * (2 * Si / [Pi * (2 * Si /

250250.5.5)] * R(X) * (.5 * G(X) /365))] * R(X) * (.5 * G(X) /365)

X is the size of the tradeX is the size of the tradeW is the financing cost in % per annumW is the financing cost in % per annumG(X) is the number of days it will take the liquidity provider tG(X) is the number of days it will take the liquidity provider to get rid of o get rid of

the position at no market impactthe position at no market impactSi is the asset specific annual volatility of stock iSi is the asset specific annual volatility of stock iR(X) is the annual % rate of return that the liquidity provider R(X) is the annual % rate of return that the liquidity provider can earn on can earn on

a trade of size Xa trade of size X

G(X) is linear in X, R(X) is a decreasing function of X so M is G(X) is linear in X, R(X) is a decreasing function of X so M is a less than a less than linear function of Xlinear function of X

Page 23: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

We’ve got the last piece in the puzzleWe’ve got the last piece in the puzzle

•• Calibrate the R(x) function from reasonable estimates, Calibrate the R(x) function from reasonable estimates, empirical data and boundary conditions, given the empirical data and boundary conditions, given the functional formfunctional form–– Use market capitalization as a proxy for the “visibility” of a tUse market capitalization as a proxy for the “visibility” of a trade, rade,

so for bigger firms, R(X) drops fasterso for bigger firms, R(X) drops faster–– Thanks to Instinet, we have access to a very rich database of Thanks to Instinet, we have access to a very rich database of

anonymous but detailed trade informationanonymous but detailed trade information

•• Select a reasonable value of L Select a reasonable value of L –– Somewhere between 10% and 50% of ADVSomewhere between 10% and 50% of ADV

•• Convert the R(x) function into the b,c, and d coefficientsConvert the R(x) function into the b,c, and d coefficientsfor each stockfor each stock

Page 24: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

So Now WhatSo Now What

•• For any trade, or set of trades the Northfield/Instinet For any trade, or set of trades the Northfield/Instinet algorithm can compute the optimal schedule of algorithm can compute the optimal schedule of transactions that will best balance opportunity costs, transactions that will best balance opportunity costs, risk and direct trading cost over any chosen number of risk and direct trading cost over any chosen number of discrete periodsdiscrete periods

•• Recalculate the schedule at any point to reflect Recalculate the schedule at any point to reflect unexecuted trades, desired new trades, changes in unexecuted trades, desired new trades, changes in security prices, or changes in market conditionssecurity prices, or changes in market conditions

•• Traders can order automatic, electronic executions in Traders can order automatic, electronic executions in accordance with the scheduleaccordance with the schedule

Page 25: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ConclusionsConclusions•• Algorithmic trading is an important contributor to Algorithmic trading is an important contributor to

trading efficiencytrading efficiency•• The use of trading algorithms is new, and some of The use of trading algorithms is new, and some of

the methodologies are very simplethe methodologies are very simple•• Northfield has developed an algorithmic trading Northfield has developed an algorithmic trading

technique that encompasses all important aspect of technique that encompasses all important aspect of the problemthe problem

•• We believe that this algorithm represents a robust We believe that this algorithm represents a robust and practical solution to optimal trade scheduling and practical solution to optimal trade scheduling over a wide range of trade sizesover a wide range of trade sizes

•• The implementation of methodology on Instinet will The implementation of methodology on Instinet will be the first fully transparent algorithmic trading be the first fully transparent algorithmic trading solutionsolution

Page 26: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ReferencesReferences•• Tabb, Larry. “Institutional Equity Trading in America: A BuyTabb, Larry. “Institutional Equity Trading in America: A Buy--Side Side

Perspective,” The Tabb Group Consulting Report, April 2004Perspective,” The Tabb Group Consulting Report, April 2004•• Giraud, JeanGiraud, Jean--Rene. “Best Execution for BuyRene. “Best Execution for Buy--Side Firms: A Side Firms: A

Challenging Issue, A Promising Debate, A Regulatory Challenging Issue, A Promising Debate, A Regulatory Challenge,” EdhecChallenge,” Edhec--Risk Advisory Consulting Report, June 2004Risk Advisory Consulting Report, June 2004

•• Domowitz, Ian and Henry Yegerman, “The Cost of Algorithmic Domowitz, Ian and Henry Yegerman, “The Cost of Algorithmic Trading: A First Look at Comparative Performance”, ITG Trading: A First Look at Comparative Performance”, ITG Working Paper, March 2005Working Paper, March 2005

•• QSG. The Implementation Costs of Algorithmic Trading, “ QSG QSG. The Implementation Costs of Algorithmic Trading, “ QSG Consulting Report, December 2004Consulting Report, December 2004

•• Wade, Nick. “Northfield Market Impact Model”, July 1998Wade, Nick. “Northfield Market Impact Model”, July 1998•• Bhardwaj, Brooks and Bond “Empirical Evidence on the Bhardwaj, Brooks and Bond “Empirical Evidence on the

Predictive Behavior of Security Returns After Adjusting for Predictive Behavior of Security Returns After Adjusting for Transaction Costs and BidTransaction Costs and Bid--Ask Effects”, EFA Conference, 1996Ask Effects”, EFA Conference, 1996

•• Cox, Berry. “Implementation Shortfall: Modeling Transaction Cox, Berry. “Implementation Shortfall: Modeling Transaction Costs”, CQA Presentation, April 1998Costs”, CQA Presentation, April 1998

Page 27: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ReferencesReferences•• Barclay, Michael J. and Jerold B. Warner. "Stealth Trading And Barclay, Michael J. and Jerold B. Warner. "Stealth Trading And

Volatility: Which Trades Move Prices?," Journal of Financial Volatility: Which Trades Move Prices?," Journal of Financial Economics, 1993, v34(3), 281Economics, 1993, v34(3), 281--306.306.

•• Bertsimas, Dimitris and Andrew W. Lo. "Optimal Control Of Bertsimas, Dimitris and Andrew W. Lo. "Optimal Control Of Execution Costs," Journal of Financial Markets, 1998, v1(1,Apr),Execution Costs," Journal of Financial Markets, 1998, v1(1,Apr),11--50.50.

•• Bertsimas, Dimitris, Paul Hummel and Andrew Lo. “Optimal Bertsimas, Dimitris, Paul Hummel and Andrew Lo. “Optimal Control of Execution Costs for Portfolios”, Computing in ScienceControl of Execution Costs for Portfolios”, Computing in Scienceand Engineering, November 1999and Engineering, November 1999

•• Malamut, Roberto. “MultiMalamut, Roberto. “Multi--Period Optimization Techniques for Period Optimization Techniques for Trade Scheduling”, QWAFAFEW New York, April 2002Trade Scheduling”, QWAFAFEW New York, April 2002

•• Almgren, Robert and Neil Chriss. “Optimal Execution of PortfolioAlmgren, Robert and Neil Chriss. “Optimal Execution of PortfolioTransactions”, Journal of Risk, 2001, v3, 5Transactions”, Journal of Risk, 2001, v3, 5--3939

•• Almgren, Robert and Neil Chriss, “Optimal Execution with NonAlmgren, Robert and Neil Chriss, “Optimal Execution with Non--Linear Impact Costs and Trading Enhanced Risk”. Working Linear Impact Costs and Trading Enhanced Risk”. Working Paper 2001Paper 2001

Page 28: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ReferencesReferences•• Angel, James J., Gary L. Gastineau and Clifford J. Weber. Angel, James J., Gary L. Gastineau and Clifford J. Weber.

"Reducing The Market Impact Of Large Stock Trades," Journal "Reducing The Market Impact Of Large Stock Trades," Journal of Portfolio Management, 1997, v24(1,Fall), 69of Portfolio Management, 1997, v24(1,Fall), 69--76.76.

•• Hasbrouck, Joel. "The Dynamics Of Discrete Bid And Ask Hasbrouck, Joel. "The Dynamics Of Discrete Bid And Ask Quotes," Journal of Finance, 1999, v54(6,Dec), 2109Quotes," Journal of Finance, 1999, v54(6,Dec), 2109--2142.2142.

•• Roll, Richard. "A Simple Implicit Measure Of The Effective BidRoll, Richard. "A Simple Implicit Measure Of The Effective Bid--Ask Spread In An Efficient Market," Journal of Finance, 1984, Ask Spread In An Efficient Market," Journal of Finance, 1984, v39(4), 1127v39(4), 1127--1139.1139.

•• Perold, Andre F. "The Implementation Shortfall: Paper Versus Perold, Andre F. "The Implementation Shortfall: Paper Versus Reality," Journal of Portfolio Management, 1988, v14(3), 4Reality," Journal of Portfolio Management, 1988, v14(3), 4--9.9.

•• Ho, Thomas S. Y., Robert A. Schwartz and David K. Whitcomb. Ho, Thomas S. Y., Robert A. Schwartz and David K. Whitcomb. "The Trading Decision And Market Clearing Under Transaction "The Trading Decision And Market Clearing Under Transaction Price Uncertainty," Journal of Finance, 1985, v40(1), 21Price Uncertainty," Journal of Finance, 1985, v40(1), 21--42.42.

•• Brown, David, Leonid Keyser, Anya Kopyleva, Georgios Kosalis, Brown, David, Leonid Keyser, Anya Kopyleva, Georgios Kosalis, Michael Thilmont and Bo Zhou. “Trade Price Impact: A Michael Thilmont and Bo Zhou. “Trade Price Impact: A Microstructure Model”, MIT Working Paper, October 2004Microstructure Model”, MIT Working Paper, October 2004

Page 29: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ReferencesReferences•• Walkling, Ralph A. "Predicting Tender Offer Success: A Logistic Walkling, Ralph A. "Predicting Tender Offer Success: A Logistic

Analysis," Journal of Financial and Quantitative Analysis, 1985,Analysis," Journal of Financial and Quantitative Analysis, 1985,v20(4), 461v20(4), 461--478.478.

•• Billett, Matthew T. and Mike Ryngaert. "Capital Structure, AssetBillett, Matthew T. and Mike Ryngaert. "Capital Structure, AssetStructure And Equity Takeover Premiums In Cash Tender Structure And Equity Takeover Premiums In Cash Tender Offers," Journal of Corporate Finance, 1997, v3(2,Apr), 141Offers," Journal of Corporate Finance, 1997, v3(2,Apr), 141--165.165.

•• Eckbo, B. Espen and Herwig Langohr. "Information Disclosure, Eckbo, B. Espen and Herwig Langohr. "Information Disclosure, Method Of Payment, And Takeover Premiums: Public And Method Of Payment, And Takeover Premiums: Public And Private Tender Offers In France," Journal of Financial Private Tender Offers In France," Journal of Financial Economics, 1989, v24(2), 363Economics, 1989, v24(2), 363--404.404.

•• Walkling, Ralph A. and Robert O. Edmister. "Determinants Of Walkling, Ralph A. and Robert O. Edmister. "Determinants Of Tender Offer Premiums," Financial Analyst Journal, 1985, Tender Offer Premiums," Financial Analyst Journal, 1985, v41(1), 27,30v41(1), 27,30--37.37.

•• Wansley, James W., William R. Lane and Salil Sarkar. Wansley, James W., William R. Lane and Salil Sarkar. "Managements' View On Share Repurchase And Tender Offer "Managements' View On Share Repurchase And Tender Offer Premiums," Financial Management, 1989, v18(3), 97Premiums," Financial Management, 1989, v18(3), 97--110.110.

Page 30: Optimal Algorithmic Trading - Northfield Information Services · The Trading Problem • Trading is the implementation of our portfolio decisions • The most popular way to measure

ReferencesReferences

•• Levy, H. and H. M. Markowitz. "Approximating Expected Utility ByLevy, H. and H. M. Markowitz. "Approximating Expected Utility By A A Function Of Mean And Variance," American Economic Review, 1979, Function Of Mean And Variance," American Economic Review, 1979, v69(3), 308v69(3), 308--317.317.

•• diBartolomeo, Dan and Sandy Warrick. “Making CovariancediBartolomeo, Dan and Sandy Warrick. “Making Covariance--based based Risk Models Sensitive to the Rate at which Markets Reflect New Risk Models Sensitive to the Rate at which Markets Reflect New Information”, Chapter 12, Information”, Chapter 12, Linear Factor Models in FinanceLinear Factor Models in Finance, Edited by , Edited by John Knight and Steven Satchell, ButterworthJohn Knight and Steven Satchell, Butterworth--Heineman, Oxford, Heineman, Oxford, 20052005

•• The Brady Commission. Report of the Presidential Task Force on The Brady Commission. Report of the Presidential Task Force on Market Mechanisms. Washington DC. US Government Printing Market Mechanisms. Washington DC. US Government Printing Office, 1988Office, 1988