SlideShare a Scribd company logo
1 of 58
Download to read offline
Algorithmic and High-frequency
trading: an overview
Marco Avellaneda
New York University &
Finance Concepts LLC
Quant Congress USA 2011
0
10
20
30
40
50
60
70
80
90
2005 2006 2007 2008 2009 2010
PercentageofEquityVolume
High Touch Orders Algorithmic (Auto Trading) DMA
US Equities markets: percentage of
orders generated by algorithms
 US Equities volumes: 5 and 10 billion shares per day
 1.2 – 2.5 Trillion shares per year
 Annual volume: USD 30 – 70 trillion
 At least 30% of the volume is algorithmic: 360 a 750 billion shares/year
 Typical large ``sell side’’ broker trades between 1 and 5 USD Tri per year using algos
 Each day, between 15,000 and 3,000 orders are processed
 An algorithmic execution strategy can be divided into 500 – 1,000 small daughter
orders
The market in numbers
 Algorithmic trading: the use of programs and computers to generate and execute
(large) orders in markets with electronic access.
 Orders come from institutional investors, hedge funds and Wall Street trading desks
 The main objective of algo trading is not necessarily to maximize profits but rather
to control execution costs and market risk.
 Algorithms started as tools for institutional investors in the beginning of the 1990s.
Decimalization, direct market access (DMA), 100% electronic exchanges, reduction
of commissions and exchange fees, rebates, the creation of new markets aside from
NYSE and NASDAQ and Reg NMS led to an explosion of algorithmic trading and the
beginning of the decade.
Today, brokers compete actively for the commission pool associated with
algorithmic trading around the globe – a business estimated at USD 400 to 600
million per year.
Algorithmic trading
 Institutional clients need to trade large amounts of stocks . These amounts are often
larger than what the market can absorb without impacting the price.
 The demand for a large amount of liquidity will typically affect the cost of the trade
in a negative fashion (``slippage’’)
 Large orders need to be split into smaller orders which will be executed
electronically over the course of minutes, hours, day.
 The procedure for executing this order will affect the average cost per share,
according to which algorithm is used.
 In order to evaluate an algorithm, we should compare the average price obtained by
trading with a market benchmark (``global average’’ of the daily price, closing price,
opening price, ``alpha decay’’ of a quant strategy, etc).
Why Algorithms?
 The decision of how to split the order in smaller pieces is just one of several issues.
 Once an algo is chosen the smaller orders need to be executed electronically
 Execution strategies interact with the market and decide how to place orders (Limit,
Market,etc) and at what prices
 Objective: to achieve the ``best price’’ for each daughter order
 Recent changes in the US equity market structure (in particular, different liquidity sources)
make things more interesting and complicated
 Dark Pools (liquidity pools that do not show the order book), ECNs (electronic
communications networks), autonomous liquidity providers
Main issues in Algorithmic Trading
BrokerClient
1. ``Ancient’’ brokerage model
Market
Phone or internet
portal
Order communicated
to the floorOld way of doing business
BrokerClient
2. Electronic market
Market
Telephone or
internet site
100% automatic
execution algo interacting
with order book
Electronic order-management and execution
system (client-broker)
Client builds an order ticket which is
communicated to the broker that executes it
accordingly
BrokerClient
3. Electronic execution model with API
Market
Program-generated
orders (API)
Algorithmic execution
.placeOrder(1, IBM, BUY, $85.25, 200…)
…
…
.placeOrder(2, IBM, SELL, $84.25, 100…)
…
BrokerClient
4. Direct Market Access (DMA)
Market
Client sends orders
directly to the market
Client interacts directly
with the market order
book
ECNs, Dark Pools, Multiple Execution
Venues
BrokerageClient
NYSE NASDAQ BATS
``Smart routing’’: algorithms
look for the best venue to
trade, in case more than
one venue is available
A few trading venues for US equity markets
• ARCA-NYSE: electronic platform of NYSE (ex- Archipelago)
• BATS: (Kansas)
• BEX: Boston Equity Exchange
• CBSX: CBOE Stock Exchange
• CSXZ: Chicago Stock Exchange
•DRCTEDGE: Direct Edge (Jersey City, NJ)
• ISE: International Securities Exchange
• ISLAND: Acquired by Nasdaq in 2003
• LAVA: belongs to Citigroup
• NSX: National Stock Exchange (Chicago)
• NYSE: New York Stock Exchange
•TRACKECN: Track ECN
Reg NMS (``National market system’’)
Order Protection Rule (Trade-thru rule) - protects visible liquidity at the top of
book of automated market centers (SROs + ADF participants) from being traded
through by executions outside each market's BBO.
Access Rule - caps access fees for top of book access at $.003
Sub-Penny Rule - prohibits market centers from accepting quotes or orders in
fractions under $.01 for any security priced greater than $1.00.
Market Data Rule - changes the allocation of market data revenue to SROs for
quotes and trades
SRO: NYSE, NASD, FINRA
ADF: Alternative Display Facility/ consolidation of NYSE/NASDAQ
Algorithmic trading strategy
(Macrotrader)
Smart routing in case of more than one available
Trading venue
Order placing algorithms
(Microtrader)
The three steps in algorithmic trading
Time-weighted average price (TWAP)
Equal amount of shares in each period of time.
Example: 100,000 shares TWAP/all day
1300
500
5-minute consecutive intervals
Volume-weighted average price
(VWAP)
Volume is greater in the beginning and at the end of the day
Volume-weighted average price
(VWAP)
Volume changes in the course of the day (less volume in the middle).
VWAP: To execute a large order, the way in which we split it
depends on the time of day (minimize impact)
Objetive: obtain an average price ``weighted by volume’’
Algorithm:
1. estimate the average volume traded in every 5 minute interval
2. In each time-interval, execute an amount proportional to the normative volume
for that interval
Properties:
1. the algorithm always concludes (trade sizes are known in advance)
2. volume function is estimated using historical data. This may not correspond
exactly to ex-post VWAP.
0.0%
0.5%
1.0%
1.5%
2.0%
2.5%
3.0%
0
500
1,000
1,500
2,000
2,500
3,000
9:30
9:45
10:00
10:15
10:30
10:45
11:00
11:15
11:30
11:45
12:00
12:15
12:30
12:45
13:00
13:15
13:30
13:45
14:00
14:15
14:30
14:45
15:00
15:15
15:30
15:45
%ofDayVolume
Shares
Time
VWAP Trading
Volume Profile




 2
1
2
1
)(
)()(
),( 21 t
tt
t
tt
tV
tPtV
ttVWAP


 The PoV (Percentage of Volume) algorithm addresses the problem of VWAP by using the
actual traded volume of the day as benchmark. The idea is to have a contant percentage
participation in the market along the trading period.
 If the quantity that remains to be traded is Q, and the participation ratio is , the algo
algo computes the volume V traded in the period (t- ΔT, t) and executes a quantity
q = min(Q,V* )
Percentage of Volume (POV)


0
500
1000
1500
2000
2500
3000
9:30 10:05 10:40 11:15 11:50 12:25 13:00 13:35 14:10 14:45 15:20
Shares
Time
Pov Trading
Traded Volume
  
 
 
         
   
)(
0
)(
)()()()(
00
0;0
0;
)(,)()(min)()(
quantity)initial)0((traded.beremain tothatsharesofnumber)(
timetoupmarketin thetradedvolumetotal)(
00
00
TV
tp
dt
dV
Q
tp
dt
dQ
tp
dt
dV
tp
dt
dQ
tp
dt
dV
tp
dt
dQ
TVQTVQTQ
dt
dV
dt
dQ
t
dt
dV
tQ
dt
dQ
t
dt
dV
tQ
dt
dV
dt
dQ
tQttVtVtQttQ
QtQ
ttV
TT
TT




















POV is similar to
WVAP if ratio is small
(Or is it? More later )
Almgren-Chriss (``Expected Shortfall’’)
       
   
       
    
 VE
dttQQV
dt
dt
tdQ
b
dt
tdQ
tpdt
dt
tdQ
tpE
tvbtptp
dt
tdQ
tvtdZdttavtdp
Q
T
TTT






























min
0
)(
)(
)(
0
22
2
000
EE
Dynamic price model with
price impact (`permanent
impact’)
Execution price (`temporary impact’)
Expected execution
cost
Execution risk
Optimization problem
Market impact combined with ``urgency in execution’’ ( price risk)
Analytic solution
   
 
 
 
  
T
t
ba
T
Q
tQ
T
ba
tT
ba
QtQ






























,,
sinh
1sinh
0
sinh
sinh
0
2
2
2
Omega: proportional to execution time, varies directly with risk-aversion and
volatility, inversely to market impact elasticities
Omega = (price risk)/(impact risk)
Case , TWAP (VWAP)
Quantitythat
remainstotrade
Time elapsed
0
Impact risk >>
price risk
Algorithm= TWAP or
VWAP
Case
Sharesremaining
Time elapsed
10
Significant market risk
Execution must be
faster
Case
Sharesremaining
Time elapsed
20
Faster execution
Case
Sharesremaining
Time elapsed
100
``Slam’’ the market!
Generalizations of Almgren-Chriss
order-splitting algorithm
 Incorporate intraday volume in the impact model (modification of VWAP)
 Incorporate drift in the price model (momentum)
 Incorporate exchange fees, rebates and other costs
 Almgren-Chriss & generalizations are now part of the standard toolkit that
execution brokers offer to clients
Examples of quant strategies
that make use of algorithms
 Index and ETF arbitrage
 Statistical arbitrage (``Stat Arb’’)
 Liquidity providing (``Market making’’)
 Volume providing (``High-frequency, selective, market-making’’)
 High frequency trading and price forecasting
ETFs
-- ETF: similar to mutual funds (holding vehicles) but which trade like stocks
-- Short-selling, margin financing allowed.
-- Began like equity index & basket trackers, then generalized to currencies and
commodities
-- Authorized participants may create or redeem ETF shares at NAV, enforcing the
theoretical relationship between the ETF and the underlying basket
-- ``creation units’’: 25K to 100K shares
-- Authorized participants are typically market-makers in the ETFs (but not always).
Arbitrage of ETFs against the underlying basket
Stock 1
ETF
Stock N
Stock 3
Stock 2
*
*
*
*
1. Buy/sell ETF
against the underlying share holdings
2. Creation/redemption of ETFs
to close the trade
This requires high-frequency algorithmic
trading to lock-in arbitrage opportunities
Statistical Arbitrage
Long-short shares/etfs – market neutral
Sector ETF Num of Stocks
Market Cap unit: 1M/usd
Average Max Min
Internet HHH 22 10,350 104,500 1,047
Real Estate IYR 87 4,789 47,030 1,059
Transportation IYT 46 4,575 49,910 1,089
Oil Exploration OIH 42 7,059 71,660 1,010
Regional Banks RKH 69 23,080 271,500 1,037
Retail RTH 60 13,290 198,200 1,022
Semiconductors SMH 55 7,303 117,300 1,033
Utilities UTH 75 7,320 41,890 1,049
Energy XLE 75 17,800 432,200 1,035
Financial XLF 210 9,960 187,600 1,000
Industrial XLI 141 10,770 391,400 1,034
Technology XLK 158 12,750 293,500 1,008
Consumer Staples XLP 61 17,730 204,500 1,016
Healthcare XLV 109 14,390 192,500 1,025
Consumer discretionary XLY 207 8,204 104,500 1,007
Total 1417 11,291 432,200 1,000
January, 2007
 
 
 
 
 
   
      tdWdttXmtdX
tdXdtt
t
tI
tdI
tS
tdS
iiiiii
iii
ii
i
i






Statistical Arbitrage (II)
Example of sampling window =3 months (~ 60 business days)
Stock return is compared to the return on
the corresponding sector ETF (regression,
co-integration)
Residuals: modeled as a mean-reverting
process
Ornstein-Ulembeck
( AR-1)
systematic
component
idiosyncratic
component
X(t) process for JPM/XLF (Financial sector ETF
from State Street)
-3
-2
-1
0
1
2
3
Constructing Stat Arb strategies
-- Diversified universe of stocks, ``good choice ’’ of shares/ETF pairs
-- Buy or sell the spread (pair) according to the statistical model
-- Risk-management using real-time VaR
-- Execution: VWAP
-- Taking volume into account is important to avoid ``adverse selection’’
(the reason for divergence of X(t) in practice)
Example of Stat-Arb portfolio
ETF
Liquidity providingStrategic placing of limit/cancel orders (liquidity) in the order book
lLiquidity providing (high frequency)
HF Pairs trading? Intraday evolution of FAZ & FAZ
(inverse leveraged ETFs)
Algorithmic trading and
the ``flash crash’’ (May 6, 2010)
5 de Maio 2010
The reasons behind the ``crash of 2:15’’ were studied in a joint CFTC/SEC report
available online.
Institutional trader sold 75,000 S&P E-mini contracts in 15 minutes PoV.
* Drop in S&P futures, SPY etf, etf components
* Withdrawal of autonomous MMs; ``stub quotes’’
* HFTs provide a lot of volume but not a lot of liquidity (`hot potato trading’)
Forecasting prices in HF?
• Models for the dynamics of order books
• Modeling hidden liquidity in the market (not visible in the OB)
• Computing the probabilities of price changes (up or down)
given liquidity on the bid side and ask-side
(Avellaneda, Stoikov, Reed, 2010: pre-published in SSRN, Oct-10)
Bid Q(bid)=x Ask Q(ask)=y
100.01 527 100.03 31
  )(2 yxH
xH
P



Simple formula that
we are testing with HF
data
H= ``hidden liquidity’’
Price level
Bid – 1 tick Best bid (Y) Best ask (X) Ask + 1 tick
Price level
New Bid
- 1 tick
New Bid (Y) New ask
Price level
Bid – 1 tick Best bid (Y) Best ask (X) Ask + 1 tick
Level 1 Quotes
Quote size depletion may be a precursor for a price move.
Does imbalance predict prices?
(-1,0) (+1,0)
(0,+1)
(0,-1)
(0, 0)
Bid size increases
Ask size increases
Mathematical framework: Diffusion
Approximation for Quote Sizes (Level I)
y
x
X= bid size
Y = ask size
  dtdZdWE
ZY
WX
tt
tt
tt






t=T_0
t=T_1
A price change occurs when (i) one of the sizes vanishes and
(ii) either there is a new bid or a new ask level
Probability that the Ask queue depletes before the Bid queue
 
 
 
   HyHxuHyxp
yx
x
yxu
y
x
yxu
yx
xy
yxu


















































,,,
,1
tan
2
,0
1
1
tan
1
1
tan
1
2
1
,
1
1
1







Probability
of an upward
price change.
H=`hidden liquidity’.
Estimating hidden liquidity in different
exchanges (ability to forecast price moves)
symbol date time bid ask bsize asize exchange
QQQQ 1/4/2010 9:30:23 46.32 46.33 258 242 T
QQQQ 1/4/2010 9:30:23 46.32 46.33 260 242 T
QQQQ 1/4/2010 9:30:23 46.32 46.33 264 242 T
QQQQ 1/4/2010 9:30:24 46.32 46.33 210 271 P
QQQQ 1/4/2010 9:30:24 46.32 46.33 210 271 P
QQQQ 1/4/2010 9:30:24 46.32 46.33 161 271 P
Sample data
Ticker NASDAQ NYSE BATS
XLF 0.15 0.17 0.17
QQQQ 0.21 0.04 0.18
JPM 0.17 0.17 0.11
AAPL (s=1) 0.16 0.9 0.65
AAPL (s=2) 0.31 0.6 0.64
AAPL (s=3) 0.31 0.69 0.63
Estimated H across markets
Estimation Procedure
• Separate the data by exchange
• One trading day at a time
• Bucket the quotes (bid size, ask size) by deciles
• For each bucket (i,j) compute the frequency of price increases u_ij
• Count the number of occurrences of each bucket d_ij
• Perform a least-squares fit with the model
2
10
1 1
1
,
1
1
tan
21
1
tan
1
2
1
min  




















































ij
ijij
H
Hij
ij
ud





Empirical Probabilities for upward price move
conditional on the quote (XLF)
Fitted model (XLF)
Difference between empirical and
fitted probabilities
Estimating hidden liquidity (H) across
exchanges
Ticker NASDAQ NYSE BATS
XLF 0.15 0.17 0.17
QQQQ 0.21 0.04 0.18
JPM 0.17 0.17 0.11
AAPL (s=1) 0.16 0.9 0.65
AAPL (s=2) 0.31 0.6 0.64
AAPL (s=3) 0.31 0.69 0.63
Is H stable?
USD-BRL Futures (DOLc1)
Bovespa Index Futures (INDc1)
Mini Bovespa Index Futures (WINc1)
Conclusions
• Over 50% of all trades in the US equity markets are algorithmic. Algorithmic execution of
block trades is an important tool allowing for systematic and disciplined execution of size
• The main idea is to split large orders into smaller ones according to available market
liquidity, generally following volume (TWAP, VWAP, PoV)
• Algorithmic trading is essential to implement quant strategies such as stat arb and
ETF arb
• With DMA and low-latency trading, we see the emergence of autonomous market-makers
• HFT traders provide volume but not necessarily liquidity when needed. Neither
do the autonomous MMs (flash crash). Can we detect ``good liquidity’’ ?
• Regulation on HFT and electronic market-making is being drafted and implemented as we
speak. Recently, stub quotes were forbidden by the SEC. Other measures to regulate HF
trading will follow.
• Algorithmic trading, DMA, autonomous market-making and HFT are here to stay and are
rapidly expanding to new markets in Asia and Latin America.

More Related Content

Viewers also liked

2012 11-03-boersenfuehrerschein-teil6-technische-analyse
2012 11-03-boersenfuehrerschein-teil6-technische-analyse2012 11-03-boersenfuehrerschein-teil6-technische-analyse
2012 11-03-boersenfuehrerschein-teil6-technische-analyseTomasz Waszczyk
 
CMMU - Pair Trading from Threshold Cointegration
CMMU - Pair Trading from Threshold CointegrationCMMU - Pair Trading from Threshold Cointegration
CMMU - Pair Trading from Threshold CointegrationSurasak Choedpasuporn
 
Open splicedds espercep-webinar
Open splicedds espercep-webinarOpen splicedds espercep-webinar
Open splicedds espercep-webinarTomasz Waszczyk
 
Sdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptSdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptTomasz Waszczyk
 
8 analyse der_aktienentwicklung
8 analyse der_aktienentwicklung8 analyse der_aktienentwicklung
8 analyse der_aktienentwicklungTomasz Waszczyk
 
Paradigms of trading strategies formulation
Paradigms of trading strategies formulationParadigms of trading strategies formulation
Paradigms of trading strategies formulationQuantInsti
 
Algorithmic Trading in Different Landscapes
Algorithmic Trading in Different LandscapesAlgorithmic Trading in Different Landscapes
Algorithmic Trading in Different LandscapesQuantInsti
 
Latency war the present & the future
Latency war   the present & the futureLatency war   the present & the future
Latency war the present & the futureQuantInsti
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksQuantInsti
 
Quantifying News For Automated Trading - Methodology and Profitability
Quantifying News For Automated Trading - Methodology and ProfitabilityQuantifying News For Automated Trading - Methodology and Profitability
Quantifying News For Automated Trading - Methodology and ProfitabilityQuantInsti
 
Programowanie automatycznych strategii transakcyjnych czesc podstawowa
Programowanie automatycznych strategii transakcyjnych   czesc podstawowaProgramowanie automatycznych strategii transakcyjnych   czesc podstawowa
Programowanie automatycznych strategii transakcyjnych czesc podstawowaTomasz Waszczyk
 
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...Quantopian
 

Viewers also liked (19)

2012 11-03-boersenfuehrerschein-teil6-technische-analyse
2012 11-03-boersenfuehrerschein-teil6-technische-analyse2012 11-03-boersenfuehrerschein-teil6-technische-analyse
2012 11-03-boersenfuehrerschein-teil6-technische-analyse
 
CMMU - Pair Trading from Threshold Cointegration
CMMU - Pair Trading from Threshold CointegrationCMMU - Pair Trading from Threshold Cointegration
CMMU - Pair Trading from Threshold Cointegration
 
2013 03
2013 032013 03
2013 03
 
Open splicedds espercep-webinar
Open splicedds espercep-webinarOpen splicedds espercep-webinar
Open splicedds espercep-webinar
 
Codeconventions 150003
Codeconventions 150003Codeconventions 150003
Codeconventions 150003
 
Vidyasagar rocond09
Vidyasagar rocond09Vidyasagar rocond09
Vidyasagar rocond09
 
Repeat after me_8_14_13
Repeat after me_8_14_13Repeat after me_8_14_13
Repeat after me_8_14_13
 
Sdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptSdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skript
 
8 analyse der_aktienentwicklung
8 analyse der_aktienentwicklung8 analyse der_aktienentwicklung
8 analyse der_aktienentwicklung
 
Paradigms of trading strategies formulation
Paradigms of trading strategies formulationParadigms of trading strategies formulation
Paradigms of trading strategies formulation
 
Algorithmic Trading in Different Landscapes
Algorithmic Trading in Different LandscapesAlgorithmic Trading in Different Landscapes
Algorithmic Trading in Different Landscapes
 
Latency war the present & the future
Latency war   the present & the futureLatency war   the present & the future
Latency war the present & the future
 
Pairs Trading - Hedge Fund Strategies
Pairs Trading - Hedge Fund StrategiesPairs Trading - Hedge Fund Strategies
Pairs Trading - Hedge Fund Strategies
 
Pairs trading using R
Pairs trading using R Pairs trading using R
Pairs trading using R
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order Books
 
Quantifying News For Automated Trading - Methodology and Profitability
Quantifying News For Automated Trading - Methodology and ProfitabilityQuantifying News For Automated Trading - Methodology and Profitability
Quantifying News For Automated Trading - Methodology and Profitability
 
Programowanie automatycznych strategii transakcyjnych czesc podstawowa
Programowanie automatycznych strategii transakcyjnych   czesc podstawowaProgramowanie automatycznych strategii transakcyjnych   czesc podstawowa
Programowanie automatycznych strategii transakcyjnych czesc podstawowa
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
 
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...
Algorithmic trading and Machine Learning by Michael Kearns, Professor of Comp...
 

Similar to Quant congressusa2011algotradinglast

Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Takanobu Mizuta
 
Investigation of Frequent Batch Auctions using Agent Based Model
Investigation of Frequent Batch Auctions using Agent Based ModelInvestigation of Frequent Batch Auctions using Agent Based Model
Investigation of Frequent Batch Auctions using Agent Based ModelTakanobu Mizuta
 
MMT-04The-Algorithmic-Trading-Process.pdf
MMT-04The-Algorithmic-Trading-Process.pdfMMT-04The-Algorithmic-Trading-Process.pdf
MMT-04The-Algorithmic-Trading-Process.pdfSiddharthKumar701604
 
Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Alexandre Vasseur
 
Transactional Streaming: If you can compute it, you can probably stream it.
Transactional Streaming: If you can compute it, you can probably stream it.Transactional Streaming: If you can compute it, you can probably stream it.
Transactional Streaming: If you can compute it, you can probably stream it.jhugg
 
Inventory management
Inventory managementInventory management
Inventory managementShalini Jain
 
Inventory management
Inventory managementInventory management
Inventory managementMayank Ghosh
 
Theory of High Frequency Trading Systems Testing
Theory of High Frequency Trading Systems TestingTheory of High Frequency Trading Systems Testing
Theory of High Frequency Trading Systems TestingIosif Itkin
 
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013lpgauth
 
Storytelling Through Charts w/ Clay Collins
Storytelling Through Charts w/ Clay CollinsStorytelling Through Charts w/ Clay Collins
Storytelling Through Charts w/ Clay CollinsNomicsCrypto
 
Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic tradingTushar Rathi
 
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017MLconf
 
Algorithmic & High-Frequency Trading
Algorithmic & High-Frequency TradingAlgorithmic & High-Frequency Trading
Algorithmic & High-Frequency TradingRyan Hendricks
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonDeb prakash ganguly
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsOlsen
 
Why do Active Funds that Trade Infrequently Make a Market more Efficient? --...
Why do Active Funds that Trade Infrequently Make a Market more Efficient?  --...Why do Active Funds that Trade Infrequently Make a Market more Efficient?  --...
Why do Active Funds that Trade Infrequently Make a Market more Efficient? --...Takanobu Mizuta
 
gatheral_financialrisks_paris2014.pdf
gatheral_financialrisks_paris2014.pdfgatheral_financialrisks_paris2014.pdf
gatheral_financialrisks_paris2014.pdfTomHardy96
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -Takanobu Mizuta
 

Similar to Quant congressusa2011algotradinglast (20)

Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
Affecting Market Efficiency by Increasing Speed of Order Matching Systems on ...
 
Investigation of Frequent Batch Auctions using Agent Based Model
Investigation of Frequent Batch Auctions using Agent Based ModelInvestigation of Frequent Batch Auctions using Agent Based Model
Investigation of Frequent Batch Auctions using Agent Based Model
 
MMT-04The-Algorithmic-Trading-Process.pdf
MMT-04The-Algorithmic-Trading-Process.pdfMMT-04The-Algorithmic-Trading-Process.pdf
MMT-04The-Algorithmic-Trading-Process.pdf
 
Summary jpx-wpenno2
Summary jpx-wpenno2Summary jpx-wpenno2
Summary jpx-wpenno2
 
Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?Complex Event Processing: What?, Why?, How?
Complex Event Processing: What?, Why?, How?
 
Transactional Streaming: If you can compute it, you can probably stream it.
Transactional Streaming: If you can compute it, you can probably stream it.Transactional Streaming: If you can compute it, you can probably stream it.
Transactional Streaming: If you can compute it, you can probably stream it.
 
Inventory management
Inventory managementInventory management
Inventory management
 
Inventory management
Inventory managementInventory management
Inventory management
 
Theory of High Frequency Trading Systems Testing
Theory of High Frequency Trading Systems TestingTheory of High Frequency Trading Systems Testing
Theory of High Frequency Trading Systems Testing
 
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013
Building Sexy Real-Time Analytics Systems - Erlang Factory NYC / Toronto 2013
 
Storytelling Through Charts w/ Clay Collins
Storytelling Through Charts w/ Clay CollinsStorytelling Through Charts w/ Clay Collins
Storytelling Through Charts w/ Clay Collins
 
Algorithmic trading
Algorithmic tradingAlgorithmic trading
Algorithmic trading
 
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017
Mayur Thakur, Managing Director, Goldman Sachs, at MLconf NYC 2017
 
Algorithmic & High-Frequency Trading
Algorithmic & High-Frequency TradingAlgorithmic & High-Frequency Trading
Algorithmic & High-Frequency Trading
 
Algo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with IpythonAlgo trading(Minor Project) strategy EMA with Ipython
Algo trading(Minor Project) strategy EMA with Ipython
 
Hidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency DynamicsHidden Treasure of High Frequency Dynamics
Hidden Treasure of High Frequency Dynamics
 
HTHFD
HTHFDHTHFD
HTHFD
 
Why do Active Funds that Trade Infrequently Make a Market more Efficient? --...
Why do Active Funds that Trade Infrequently Make a Market more Efficient?  --...Why do Active Funds that Trade Infrequently Make a Market more Efficient?  --...
Why do Active Funds that Trade Infrequently Make a Market more Efficient? --...
 
gatheral_financialrisks_paris2014.pdf
gatheral_financialrisks_paris2014.pdfgatheral_financialrisks_paris2014.pdf
gatheral_financialrisks_paris2014.pdf
 
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -How Many Orders does a Spoofer Need?  - Investigation by Agent-Based Model -
How Many Orders does a Spoofer Need? - Investigation by Agent-Based Model -
 

More from Tomasz Waszczyk

trading_automatyczny-waszczyk-probka
trading_automatyczny-waszczyk-probkatrading_automatyczny-waszczyk-probka
trading_automatyczny-waszczyk-probkaTomasz Waszczyk
 
Jens valloe christiansen
Jens valloe christiansenJens valloe christiansen
Jens valloe christiansenTomasz Waszczyk
 
Wzory portfel-inwestycyjnyrynek-kapitalowy
Wzory portfel-inwestycyjnyrynek-kapitalowyWzory portfel-inwestycyjnyrynek-kapitalowy
Wzory portfel-inwestycyjnyrynek-kapitalowyTomasz Waszczyk
 
C plus plus_for_quantitative_finance
C plus plus_for_quantitative_financeC plus plus_for_quantitative_finance
C plus plus_for_quantitative_financeTomasz Waszczyk
 
Sdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptSdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptTomasz Waszczyk
 
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...Tomasz Waszczyk
 
Zadania z programowania c
Zadania z programowania c  Zadania z programowania c
Zadania z programowania c Tomasz Waszczyk
 
Tadeusz czachórski modele kolejkowe w ocenie efektywności sieci i systemów ...
Tadeusz czachórski   modele kolejkowe w ocenie efektywności sieci i systemów ...Tadeusz czachórski   modele kolejkowe w ocenie efektywności sieci i systemów ...
Tadeusz czachórski modele kolejkowe w ocenie efektywności sieci i systemów ...Tomasz Waszczyk
 

More from Tomasz Waszczyk (20)

trading_automatyczny-waszczyk-probka
trading_automatyczny-waszczyk-probkatrading_automatyczny-waszczyk-probka
trading_automatyczny-waszczyk-probka
 
Jens valloe christiansen
Jens valloe christiansenJens valloe christiansen
Jens valloe christiansen
 
Wzory portfel-inwestycyjnyrynek-kapitalowy
Wzory portfel-inwestycyjnyrynek-kapitalowyWzory portfel-inwestycyjnyrynek-kapitalowy
Wzory portfel-inwestycyjnyrynek-kapitalowy
 
Lm mme090913
Lm mme090913Lm mme090913
Lm mme090913
 
1108.1170
1108.11701108.1170
1108.1170
 
Efficient projections
Efficient projectionsEfficient projections
Efficient projections
 
Hsieh etal spl
Hsieh etal splHsieh etal spl
Hsieh etal spl
 
Comparison
ComparisonComparison
Comparison
 
C plus plus_for_quantitative_finance
C plus plus_for_quantitative_financeC plus plus_for_quantitative_finance
C plus plus_for_quantitative_finance
 
4587 11094-1-pb
4587 11094-1-pb4587 11094-1-pb
4587 11094-1-pb
 
G
GG
G
 
Sdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skriptSdv 0405 design-pattern_thc_jps_skript
Sdv 0405 design-pattern_thc_jps_skript
 
Efficient projections
Efficient projectionsEfficient projections
Efficient projections
 
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...
In tech an-innovative_systematic_approach_to_financial_portfolio_management_v...
 
Trailingstop
TrailingstopTrailingstop
Trailingstop
 
Mvm
MvmMvm
Mvm
 
Elsholz stoll js_03_10
Elsholz stoll js_03_10Elsholz stoll js_03_10
Elsholz stoll js_03_10
 
Zadania z programowania c
Zadania z programowania c  Zadania z programowania c
Zadania z programowania c
 
Tadeusz czachórski modele kolejkowe w ocenie efektywności sieci i systemów ...
Tadeusz czachórski   modele kolejkowe w ocenie efektywności sieci i systemów ...Tadeusz czachórski   modele kolejkowe w ocenie efektywności sieci i systemów ...
Tadeusz czachórski modele kolejkowe w ocenie efektywności sieci i systemów ...
 
Repeat after me_8_14_13
Repeat after me_8_14_13Repeat after me_8_14_13
Repeat after me_8_14_13
 

Recently uploaded

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxpriyanshujha201
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756dollysharma2066
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Serviceritikaroy0888
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 

Recently uploaded (20)

M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 

Quant congressusa2011algotradinglast

  • 1. Algorithmic and High-frequency trading: an overview Marco Avellaneda New York University & Finance Concepts LLC Quant Congress USA 2011
  • 2. 0 10 20 30 40 50 60 70 80 90 2005 2006 2007 2008 2009 2010 PercentageofEquityVolume High Touch Orders Algorithmic (Auto Trading) DMA US Equities markets: percentage of orders generated by algorithms
  • 3.  US Equities volumes: 5 and 10 billion shares per day  1.2 – 2.5 Trillion shares per year  Annual volume: USD 30 – 70 trillion  At least 30% of the volume is algorithmic: 360 a 750 billion shares/year  Typical large ``sell side’’ broker trades between 1 and 5 USD Tri per year using algos  Each day, between 15,000 and 3,000 orders are processed  An algorithmic execution strategy can be divided into 500 – 1,000 small daughter orders The market in numbers
  • 4.  Algorithmic trading: the use of programs and computers to generate and execute (large) orders in markets with electronic access.  Orders come from institutional investors, hedge funds and Wall Street trading desks  The main objective of algo trading is not necessarily to maximize profits but rather to control execution costs and market risk.  Algorithms started as tools for institutional investors in the beginning of the 1990s. Decimalization, direct market access (DMA), 100% electronic exchanges, reduction of commissions and exchange fees, rebates, the creation of new markets aside from NYSE and NASDAQ and Reg NMS led to an explosion of algorithmic trading and the beginning of the decade. Today, brokers compete actively for the commission pool associated with algorithmic trading around the globe – a business estimated at USD 400 to 600 million per year. Algorithmic trading
  • 5.  Institutional clients need to trade large amounts of stocks . These amounts are often larger than what the market can absorb without impacting the price.  The demand for a large amount of liquidity will typically affect the cost of the trade in a negative fashion (``slippage’’)  Large orders need to be split into smaller orders which will be executed electronically over the course of minutes, hours, day.  The procedure for executing this order will affect the average cost per share, according to which algorithm is used.  In order to evaluate an algorithm, we should compare the average price obtained by trading with a market benchmark (``global average’’ of the daily price, closing price, opening price, ``alpha decay’’ of a quant strategy, etc). Why Algorithms?
  • 6.  The decision of how to split the order in smaller pieces is just one of several issues.  Once an algo is chosen the smaller orders need to be executed electronically  Execution strategies interact with the market and decide how to place orders (Limit, Market,etc) and at what prices  Objective: to achieve the ``best price’’ for each daughter order  Recent changes in the US equity market structure (in particular, different liquidity sources) make things more interesting and complicated  Dark Pools (liquidity pools that do not show the order book), ECNs (electronic communications networks), autonomous liquidity providers Main issues in Algorithmic Trading
  • 7. BrokerClient 1. ``Ancient’’ brokerage model Market Phone or internet portal Order communicated to the floorOld way of doing business
  • 8. BrokerClient 2. Electronic market Market Telephone or internet site 100% automatic execution algo interacting with order book
  • 9. Electronic order-management and execution system (client-broker)
  • 10. Client builds an order ticket which is communicated to the broker that executes it accordingly
  • 11. BrokerClient 3. Electronic execution model with API Market Program-generated orders (API) Algorithmic execution .placeOrder(1, IBM, BUY, $85.25, 200…) … … .placeOrder(2, IBM, SELL, $84.25, 100…) …
  • 12. BrokerClient 4. Direct Market Access (DMA) Market Client sends orders directly to the market Client interacts directly with the market order book
  • 13. ECNs, Dark Pools, Multiple Execution Venues BrokerageClient NYSE NASDAQ BATS ``Smart routing’’: algorithms look for the best venue to trade, in case more than one venue is available
  • 14. A few trading venues for US equity markets • ARCA-NYSE: electronic platform of NYSE (ex- Archipelago) • BATS: (Kansas) • BEX: Boston Equity Exchange • CBSX: CBOE Stock Exchange • CSXZ: Chicago Stock Exchange •DRCTEDGE: Direct Edge (Jersey City, NJ) • ISE: International Securities Exchange • ISLAND: Acquired by Nasdaq in 2003 • LAVA: belongs to Citigroup • NSX: National Stock Exchange (Chicago) • NYSE: New York Stock Exchange •TRACKECN: Track ECN
  • 15. Reg NMS (``National market system’’) Order Protection Rule (Trade-thru rule) - protects visible liquidity at the top of book of automated market centers (SROs + ADF participants) from being traded through by executions outside each market's BBO. Access Rule - caps access fees for top of book access at $.003 Sub-Penny Rule - prohibits market centers from accepting quotes or orders in fractions under $.01 for any security priced greater than $1.00. Market Data Rule - changes the allocation of market data revenue to SROs for quotes and trades SRO: NYSE, NASD, FINRA ADF: Alternative Display Facility/ consolidation of NYSE/NASDAQ
  • 16. Algorithmic trading strategy (Macrotrader) Smart routing in case of more than one available Trading venue Order placing algorithms (Microtrader) The three steps in algorithmic trading
  • 17. Time-weighted average price (TWAP) Equal amount of shares in each period of time. Example: 100,000 shares TWAP/all day 1300 500 5-minute consecutive intervals
  • 18. Volume-weighted average price (VWAP) Volume is greater in the beginning and at the end of the day
  • 19. Volume-weighted average price (VWAP) Volume changes in the course of the day (less volume in the middle). VWAP: To execute a large order, the way in which we split it depends on the time of day (minimize impact) Objetive: obtain an average price ``weighted by volume’’ Algorithm: 1. estimate the average volume traded in every 5 minute interval 2. In each time-interval, execute an amount proportional to the normative volume for that interval Properties: 1. the algorithm always concludes (trade sizes are known in advance) 2. volume function is estimated using historical data. This may not correspond exactly to ex-post VWAP.
  • 21.  The PoV (Percentage of Volume) algorithm addresses the problem of VWAP by using the actual traded volume of the day as benchmark. The idea is to have a contant percentage participation in the market along the trading period.  If the quantity that remains to be traded is Q, and the participation ratio is , the algo algo computes the volume V traded in the period (t- ΔT, t) and executes a quantity q = min(Q,V* ) Percentage of Volume (POV)   0 500 1000 1500 2000 2500 3000 9:30 10:05 10:40 11:15 11:50 12:25 13:00 13:35 14:10 14:45 15:20 Shares Time Pov Trading Traded Volume
  • 22.                      )( 0 )( )()()()( 00 0;0 0; )(,)()(min)()( quantity)initial)0((traded.beremain tothatsharesofnumber)( timetoupmarketin thetradedvolumetotal)( 00 00 TV tp dt dV Q tp dt dQ tp dt dV tp dt dQ tp dt dV tp dt dQ TVQTVQTQ dt dV dt dQ t dt dV tQ dt dQ t dt dV tQ dt dV dt dQ tQttVtVtQttQ QtQ ttV TT TT                     POV is similar to WVAP if ratio is small (Or is it? More later )
  • 23. Almgren-Chriss (``Expected Shortfall’’)                           VE dttQQV dt dt tdQ b dt tdQ tpdt dt tdQ tpE tvbtptp dt tdQ tvtdZdttavtdp Q T TTT                               min 0 )( )( )( 0 22 2 000 EE Dynamic price model with price impact (`permanent impact’) Execution price (`temporary impact’) Expected execution cost Execution risk Optimization problem Market impact combined with ``urgency in execution’’ ( price risk)
  • 24. Analytic solution              T t ba T Q tQ T ba tT ba QtQ                               ,, sinh 1sinh 0 sinh sinh 0 2 2 2 Omega: proportional to execution time, varies directly with risk-aversion and volatility, inversely to market impact elasticities Omega = (price risk)/(impact risk)
  • 25. Case , TWAP (VWAP) Quantitythat remainstotrade Time elapsed 0 Impact risk >> price risk Algorithm= TWAP or VWAP
  • 29. Generalizations of Almgren-Chriss order-splitting algorithm  Incorporate intraday volume in the impact model (modification of VWAP)  Incorporate drift in the price model (momentum)  Incorporate exchange fees, rebates and other costs  Almgren-Chriss & generalizations are now part of the standard toolkit that execution brokers offer to clients
  • 30. Examples of quant strategies that make use of algorithms  Index and ETF arbitrage  Statistical arbitrage (``Stat Arb’’)  Liquidity providing (``Market making’’)  Volume providing (``High-frequency, selective, market-making’’)  High frequency trading and price forecasting
  • 31. ETFs -- ETF: similar to mutual funds (holding vehicles) but which trade like stocks -- Short-selling, margin financing allowed. -- Began like equity index & basket trackers, then generalized to currencies and commodities -- Authorized participants may create or redeem ETF shares at NAV, enforcing the theoretical relationship between the ETF and the underlying basket -- ``creation units’’: 25K to 100K shares -- Authorized participants are typically market-makers in the ETFs (but not always).
  • 32. Arbitrage of ETFs against the underlying basket Stock 1 ETF Stock N Stock 3 Stock 2 * * * * 1. Buy/sell ETF against the underlying share holdings 2. Creation/redemption of ETFs to close the trade This requires high-frequency algorithmic trading to lock-in arbitrage opportunities
  • 33. Statistical Arbitrage Long-short shares/etfs – market neutral Sector ETF Num of Stocks Market Cap unit: 1M/usd Average Max Min Internet HHH 22 10,350 104,500 1,047 Real Estate IYR 87 4,789 47,030 1,059 Transportation IYT 46 4,575 49,910 1,089 Oil Exploration OIH 42 7,059 71,660 1,010 Regional Banks RKH 69 23,080 271,500 1,037 Retail RTH 60 13,290 198,200 1,022 Semiconductors SMH 55 7,303 117,300 1,033 Utilities UTH 75 7,320 41,890 1,049 Energy XLE 75 17,800 432,200 1,035 Financial XLF 210 9,960 187,600 1,000 Industrial XLI 141 10,770 391,400 1,034 Technology XLK 158 12,750 293,500 1,008 Consumer Staples XLP 61 17,730 204,500 1,016 Healthcare XLV 109 14,390 192,500 1,025 Consumer discretionary XLY 207 8,204 104,500 1,007 Total 1417 11,291 432,200 1,000 January, 2007
  • 34.                     tdWdttXmtdX tdXdtt t tI tdI tS tdS iiiiii iii ii i i       Statistical Arbitrage (II) Example of sampling window =3 months (~ 60 business days) Stock return is compared to the return on the corresponding sector ETF (regression, co-integration) Residuals: modeled as a mean-reverting process Ornstein-Ulembeck ( AR-1) systematic component idiosyncratic component
  • 35. X(t) process for JPM/XLF (Financial sector ETF from State Street) -3 -2 -1 0 1 2 3
  • 36. Constructing Stat Arb strategies -- Diversified universe of stocks, ``good choice ’’ of shares/ETF pairs -- Buy or sell the spread (pair) according to the statistical model -- Risk-management using real-time VaR -- Execution: VWAP -- Taking volume into account is important to avoid ``adverse selection’’ (the reason for divergence of X(t) in practice)
  • 37. Example of Stat-Arb portfolio ETF
  • 38. Liquidity providingStrategic placing of limit/cancel orders (liquidity) in the order book lLiquidity providing (high frequency)
  • 39. HF Pairs trading? Intraday evolution of FAZ & FAZ (inverse leveraged ETFs)
  • 40. Algorithmic trading and the ``flash crash’’ (May 6, 2010) 5 de Maio 2010 The reasons behind the ``crash of 2:15’’ were studied in a joint CFTC/SEC report available online. Institutional trader sold 75,000 S&P E-mini contracts in 15 minutes PoV. * Drop in S&P futures, SPY etf, etf components * Withdrawal of autonomous MMs; ``stub quotes’’ * HFTs provide a lot of volume but not a lot of liquidity (`hot potato trading’)
  • 41. Forecasting prices in HF? • Models for the dynamics of order books • Modeling hidden liquidity in the market (not visible in the OB) • Computing the probabilities of price changes (up or down) given liquidity on the bid side and ask-side (Avellaneda, Stoikov, Reed, 2010: pre-published in SSRN, Oct-10) Bid Q(bid)=x Ask Q(ask)=y 100.01 527 100.03 31   )(2 yxH xH P    Simple formula that we are testing with HF data H= ``hidden liquidity’’
  • 42. Price level Bid – 1 tick Best bid (Y) Best ask (X) Ask + 1 tick
  • 43. Price level New Bid - 1 tick New Bid (Y) New ask
  • 44. Price level Bid – 1 tick Best bid (Y) Best ask (X) Ask + 1 tick
  • 45. Level 1 Quotes Quote size depletion may be a precursor for a price move. Does imbalance predict prices?
  • 46. (-1,0) (+1,0) (0,+1) (0,-1) (0, 0) Bid size increases Ask size increases
  • 47. Mathematical framework: Diffusion Approximation for Quote Sizes (Level I) y x X= bid size Y = ask size   dtdZdWE ZY WX tt tt tt       t=T_0 t=T_1 A price change occurs when (i) one of the sizes vanishes and (ii) either there is a new bid or a new ask level
  • 48. Probability that the Ask queue depletes before the Bid queue          HyHxuHyxp yx x yxu y x yxu yx xy yxu                                                   ,,, ,1 tan 2 ,0 1 1 tan 1 1 tan 1 2 1 , 1 1 1        Probability of an upward price change. H=`hidden liquidity’.
  • 49. Estimating hidden liquidity in different exchanges (ability to forecast price moves) symbol date time bid ask bsize asize exchange QQQQ 1/4/2010 9:30:23 46.32 46.33 258 242 T QQQQ 1/4/2010 9:30:23 46.32 46.33 260 242 T QQQQ 1/4/2010 9:30:23 46.32 46.33 264 242 T QQQQ 1/4/2010 9:30:24 46.32 46.33 210 271 P QQQQ 1/4/2010 9:30:24 46.32 46.33 210 271 P QQQQ 1/4/2010 9:30:24 46.32 46.33 161 271 P Sample data Ticker NASDAQ NYSE BATS XLF 0.15 0.17 0.17 QQQQ 0.21 0.04 0.18 JPM 0.17 0.17 0.11 AAPL (s=1) 0.16 0.9 0.65 AAPL (s=2) 0.31 0.6 0.64 AAPL (s=3) 0.31 0.69 0.63 Estimated H across markets
  • 50. Estimation Procedure • Separate the data by exchange • One trading day at a time • Bucket the quotes (bid size, ask size) by deciles • For each bucket (i,j) compute the frequency of price increases u_ij • Count the number of occurrences of each bucket d_ij • Perform a least-squares fit with the model 2 10 1 1 1 , 1 1 tan 21 1 tan 1 2 1 min                                                       ij ijij H Hij ij ud     
  • 51. Empirical Probabilities for upward price move conditional on the quote (XLF)
  • 53. Difference between empirical and fitted probabilities
  • 54. Estimating hidden liquidity (H) across exchanges Ticker NASDAQ NYSE BATS XLF 0.15 0.17 0.17 QQQQ 0.21 0.04 0.18 JPM 0.17 0.17 0.11 AAPL (s=1) 0.16 0.9 0.65 AAPL (s=2) 0.31 0.6 0.64 AAPL (s=3) 0.31 0.69 0.63 Is H stable?
  • 57. Mini Bovespa Index Futures (WINc1)
  • 58. Conclusions • Over 50% of all trades in the US equity markets are algorithmic. Algorithmic execution of block trades is an important tool allowing for systematic and disciplined execution of size • The main idea is to split large orders into smaller ones according to available market liquidity, generally following volume (TWAP, VWAP, PoV) • Algorithmic trading is essential to implement quant strategies such as stat arb and ETF arb • With DMA and low-latency trading, we see the emergence of autonomous market-makers • HFT traders provide volume but not necessarily liquidity when needed. Neither do the autonomous MMs (flash crash). Can we detect ``good liquidity’’ ? • Regulation on HFT and electronic market-making is being drafted and implemented as we speak. Recently, stub quotes were forbidden by the SEC. Other measures to regulate HF trading will follow. • Algorithmic trading, DMA, autonomous market-making and HFT are here to stay and are rapidly expanding to new markets in Asia and Latin America.