HFT
HFT
smcclure@excellerate4success.com
www.excellerate4success.com
Overview
Themes
Introducing Excellerate
Metrics
Real-Time BI and HFT
www.excellerate4success.com
About Us!
www.excellerate4success.com
Real -Time Business Intelligence
Real Time BI in various industries
www.excellerate4success.com
3
High Frequency Trading (HFT)
Best Case Study for “Real-Time” Intelligence
High
• Trading platform transacts
Execution Latency
large number of orders at Traditional long-
very fast speeds; term Investing
• Complex algorithms
analyze multiple markets and Algorithmic/
High-
execute orders based on electronic trading
frequency
market conditions; Trading
Date/time quote
originated
Provided by other
Highest price available for market participants
sale of the security through limit orders
• Timestamp
• Security ID Lowest price entered for
• Bid Price buying the security
• Ask Price
• Available bid volume Total demand
• Available ask volume
Total supply
• Last trade price
• Last trade size Price at which the last trade in the
• Option-specific data security cleared
quote processes
Duration models
trade processes
price processes
Estimate the factors affecting the
volume processes duration between ticks
High Trade
Duration
Higher likelihood of
unobserved bad
news
Low Trade
Low Price
Duration Low Volume
Duration
Higher likelihood Duration
Increased
of unobserved Increased Liquidity
Volatility
good news
Absence of Trade
Lack of news, low levels
of liquidity, trading halts,
www.excellerate4success.com
trader motivations
High Frequency Information
Data sampling methods overcome irregularities in high-frequency data
for ease of processing
Traditional Approach Linear Time-Weighted Interpolation7
Figure A Figure B
t tlast
quote qˆ t qt ,last qˆt qt ,last (qt ,next qt ,last )
t next tlast
Most modern computational techniques have been developed
to work with regularly spaced data (easy to process)
Many solid trading strategies exploit both the information leakage and
overshooting to generate consistent profits
HFT-based Strategies
Electronic
Statistical Liquidity Others
Liquidity
Arbitrage Detection
Provision
Cross
Asset, Cross Quote Matching Short Term
Rebates
Market & ETF Momentum
www.excellerate4success.com
High-Frequency Strategies
Liquidity Provision Strategies - Spread Capturing
Liquidity providers profit from the spread between bid and ask prices by
continuously buying and selling securities;
• Exploited by market-maker
traders;
buy sell • Depends on probability
distribution for arriving market
orders;
Direction of market price
movement • Shape can be estimated when
book not observable.
www.excellerate4success.com
buy sell
High-Frequency Strategies
Statistical Arbitrage
www.excellerate4success.com
High-Frequency Strategies
Detecting Statistical Anomalies in Price Levels Identify securities
that trade in
frequency unit
Once gap in prices
reverse, close out
position/stop loss
Measure difference
between prices of Sij ,t Si ,t S j ,t ,t 1, T
identified securities
Monitor and act
upon differences
in security prices
St Si , S j, E S 2 S
St Si , S j, E S 2 S Select most stable
T 2
relationships mini, j t 1
Sij ,t
T
Estimate T
1 2 distributional 1
St St E St E St St
T 1t properties of the T
1 t 1
www.excellerate4success.com difference
High-Frequency Strategies
Fundamental Arbitrage Strategies by Asset Class6
Common Types
1)
1) Market Aggressiveness Selection algorithms designed to choose between market
and limit orders for optimal execution;
2)
1) Price-Scaling algorithms designed to select the best execution price according to
the pre-specified trading benchmarks; and
3)
1) Size-optimization algorithms that determine the optimal ways to break down large
trading lots into smaller parcels to minimize adverse costs (cost of market impact)
www.excellerate4success.com
Executing Real-Time Systems
Execution Optimization Algorithms
Market Aggressiveness Price-Scaling Size Optimization
Selection
• Tries to obtain the best • Tries to trade with
• Balances passive and
price for the strategy position undetected
aggressive trading using
optimization Strike Algorithm
• Large order packets are
min Cost ( ) Risk( ) • Minimizes the cost of broken up for least
execution relative to a
benchmark
amount of market impact
Cost ( ) Eo P( ) Pb (“Stealth Trading”)
• Designed to capture gains in
Risk ( ) ( ( )) periods of favorable prices
P( ) P f ( X , ) g( X ) ( ) 2
min Et Pt 1 ( t ) Pb ,t
Pb Benchmark execution price t
6 2
Ensure trading costs incurred Apply back-tested
during execution are within econometric models to the
acceptable ranges tick data obtained in 1
Each functions built with
independent alert systems
that notify monitoring
personnel of problems,
5 unusual patterns etc.
Evaluate trading
performance relative to
predetermined benchmarks 3
Send orders and keep track of
open positions/P&L values
4
Monitor run-time trading
behavior, compare with predefined
parameters, manage the run-time
www.excellerate4success.com trading risk
Summary
Themes
www.excellerate4success.com
Thank You
Sean McClure, Ph.D.
Business Analytics, Excellerate Inc.
smcclure@excellerate4success.com
www.excellerate4success.com
References
1) Richard Hackathorn, "Active Data Warehousing: From Nice to Necessary," Teradata Magazine (June 2006), AR-4835
2) cdn.avangate.com/web/images/articles/fraud-lock.jpg
3) genesissolutions.com/wp-content/uploads/2009/10/3.3.3-MROSupply-307x195.jpg
4) partnerc.com/images/iStock_000007068822Small.jpg
5) http://www.economist.com/node/5475381?story_id=E1_VQSVPRT
6) High-Frrequency Trading, A Practical Guide to Algorithmic Strategies and Trading Systems, Aldridge, Wiley
Trading, 2010
7) Dacorogna, M.M., R. Gencay, U.A. Muller, R. Olsen and O.V. Pictet, 2001. An introduction to High-Frequency
Finance. Academic Press: San Diego, CA.
9) http://www.mathestate.com/tools/Financial/wp2/HowMarketsWork.html
10) Cao, C., O. Hansch and X. Wang, 2004. “The Informational Content of an Open Limit Order Book” Penn State
University.
www.excellerate4success.com