Machine Learning and Algorithmic Trading

Similar documents
High Frequency Trading Volumes Continue to Increase Throughout the World

Algorithmic Trading & DMA An introduction to direct access trading strategies.

Digitization of Financial Markets: Impact and Future

High Frequency Trading + Stochastic Latency and Regulation 2.0. Andrei Kirilenko MIT Sloan

White Paper Electronic Trading- Algorithmic & High Frequency Trading. PENINSULA STRATEGY, Namir Hamid

High Frequency Trading in FX

HIGH VELOCITY VOLUME COMPLEXITY. Addressing the challenges of Big Data in FX

Algorithmic Presentation to European Central Bank. Jean-Marc Orlando, EFX Global Head BNP PARIBAS

Toxic Equity Trading Order Flow on Wall Street

Bernard S. Donefer Distinguished Lecturer Baruch College, CUNY

Forex Brokerage Success Made Easy.

High Frequency Trading Background and Current Regulatory Discussion

ELECTRONIC TRADING GLOSSARY

HIGH-FREQUENCY TRADING

Fixed Income Trading and Platform Architecture. Khader Shaik

FX Trading: The Next Generation FX Trading and Technology Trends in 2010

Setting the Scene. FIX the Enabler & Electronic Trading

High-frequency trading, flash crashes & regulation Prof. Philip Treleaven

G100 VIEWS HIGH FREQUENCY TRADING. Group of 100

FE670 Algorithmic Trading Strategies. Stevens Institute of Technology

Equities Dealing, Brokerage and Market Making

SAXO BANK S BEST EXECUTION POLICY

From Particles To Electronic Trading. Simon Bevan

From Traditional Floor Trading to Electronic High Frequency Trading (HFT) Market Implications and Regulatory Aspects Prof. Dr. Hans Peter Burghof

This paper sets out the challenges faced to maintain efficient markets, and the actions that the WFE and its member exchanges support.

ASX Equity Trading Strategy

Millennium Exchange. Fast, flexible, multi-asset trading engine

Private Placement Programs & Trade Platforms

Foreign Exchange Contact Group The future of the e-forex. Macalli Louis. Frankfurt, 10th June 2009

Trading Services. Your Business Without Limits TM

Lecture Two Essentials of Trading. Andy Bower

TRADING & TREASURY MANAGEMENT SIMULATION TRAINING@THE DEALING ROOM

Investment Strategy On-Demand Webinar Series

FESE Input to the Commission High Frequency Trading

2013 FIXED INCOME TRADING

Algorithmic Trading Present and Future in Korea

FE670 Algorithmic Trading Strategies. Stevens Institute of Technology

High frequency trading

TRADING & FINANCIAL MARKET ANALYSIS 2015 A PRACTICAL EXPIERIENCE IN TRADING, RISK MANAGEMENT AND MARKET ANALYSIS

Algorithmic Trading Session 1 Introduction. Oliver Steinki, CFA, FRM

ORDER EXECUTION POLICY

Trade Execution Analysis Generated by Markit

Financial Econometrics and Volatility Models Introduction to High Frequency Data

Optimal trading? In what sense?

Algorithmic and advanced orders in SaxoTrader

1 DAY MANAGEMENT DEVELOPMENT PROGRAM ON "Systematic Trading Strategies

Fixed Income Arbitrage

Forecasting Trade Direction and Size of Future Contracts Using Deep Belief Network

FX Trading: A Changing Landscape FX Trading and Technology Trends in 2011

TRADING STRATEGIES Urs Rutschmann, COO Tbricks

Until recently, the majority of

Algorithmic Trading: A Quantitative Approach to Developing an Automated Trading System

Fast Trading and Prop Trading

INTRODUCTION TO TRADING AND INVESTING IN FIXED INCOME SIMULATION DEALING ROOM

Pairs Trading: A Professional Approach. Russell Wojcik Illinois Institute of Technology

FX Trading and Technology Trends 2012

Implied Matching. Functionality. One of the more difficult challenges faced by exchanges is balancing the needs and interests of

Fixed Income TCA. TCA and its use in fixed income reducing cost, bringing transparency and moving towards electronic trading in fixed income

Stock Trading Systems: A Comparison of US and China. April 30, 2016 Session 5 Joel Hasbrouck

STATEMENT OF GARY GENSLER CHAIRMAN, COMMODITY FUTURES TRADING COMMISSION BEFORE THE. May 20, 2010

The Institute of Trading and Finance. The Master in Trading Course (For futures)

Commodity Futures Trading Commission

2DAY EXECUTIVE WORKSHOP ON ALGORITHMIC TRADING

Trader Boot Camp Commodity Futures and Index Options

NDD execution: NDD can help remove the conflict of interest >>> providing a confl ict free environment for Retail FX traders CLIENT.

CFTC Technology Advisory Committee Sub-Committee on Automated and High Frequency Trading Working Group 1 Participants

smarttrade s FX trading system

Introduction to Trading

CONTENTS MODULE 1: INDUSTRY OVERVIEW 4 MODULE 2: ETHICS AND REGULATION 6 MODULE 3: INPUTS AND TOOLS 8 MODULE 4: INVESTMENT INSTRUMENTS 12

FI report. Investigation into high frequency and algorithmic trading

FIN 432 Investment Analysis and Management Review Notes for Midterm Exam

Execution Costs. Post-trade reporting. December 17, 2008 Robert Almgren / Encyclopedia of Quantitative Finance Execution Costs 1

The Impact of High Frequency Trading on the Canadian Market

Comments from NASDAQ OMX

Big Data to trade bonds/fx & Python demo on FX intraday vol

EXAMINING THE REVOLUTION: HOW TECHNOLOGY IS CHANGING THE TRADING LANDSCAPE. R-Finance Conference May 11, 2012 Chicago, IL Blair Hull

Valdi for Equity Trading High performance trading solutions for global markets

by Carol L. Clark, lead technical expert, Financial Markets Group

A Global Perspective on HFT and Market Making. Hans Pieterse March 2015, Sao Paulo

FE570 Financial Markets and Trading. Stevens Institute of Technology

Introduction, Forwards and Futures

FX Trading: A Changing Landscape

Treasury Floating Rate Notes

BEAR: A person who believes that the price of a particular security or the market as a whole will go lower.

The Need for Speed: It s Important, Even for VWAP Strategies

Heightened Bond Liquidity Risk is the New Normal. Shushanik Papanyan Senior Economist BBVA Research USA

Foreign Exchange Market INTERNATIONAL FINANCE. Function and Structure of FX Market. Market Characteristics. Market Attributes. Trading in Markets

Equity forecast: Predicting long term stock price movement using machine learning

Guidance on Best Execution and Management of Orders

September A Message to Morgan Stanley s Institutional Fixed Income Clients. Re: Fixed Income Trading Practices and Information

Slfl 01(0. Carley Garner. An Introduction to the World's Fastest Growing Market, Second Edition

INVESTMENT DICTIONARY

Valdi. Equity Trading

The matching engine for US Treasury Futures Spreads (CME).

FINANCIAL TRADING AND INVESTING

One Goal: Best Execution Trading and Services for Broker-Dealers

Welcome to the Next Generation of Trading Solutions by PandeLa - Intelligent Automated Trading.

Future of the Trading Platform

Towards an Automated Trading Ecosystem

Transcription:

Machine Learning and Algorithmic Trading In Fixed Income Markets Algorithmic Trading, computerized trading controlled by algorithms, is natural evolution of security markets. This area has evolved both in academic and real worlds. Most of academic studies suggest it has positive impact on market quality and efficiency. All major Algo players supply substantial liquidity and contribute to the price discovery for the benefits of all market participants. Like traders, Algorithms can be designed to observe market in real time and take trading decisions without human intervention. A variety of algorithms are used today to look for arbitrage opportunities, achieve optimal execution of large orders at minimum cost and market impact, seek alpha through a longer term strategies, and to acquire position for hedging. These algorithms could be cost driven or benchmark driven, risk-neutral or risk-averse, and use advance quantitative and computational techniques as they work through time and across markets. Spread Algorithms Spread trading is integral part of fixed income business. More about the algorithmic spread trading on Page 2 Machine Learning Machine learning is the most advanced data analysis technique applied in practically all fields today. More on Page 4 Market Making Market making desks across the streets are utilizing technology to keep their edge of constant narrowing spreads. More on Page 5

; Tweet Crash April 23 rd 1:08 PM: Stocks briefly erased a 125-point gain after a tweet from the Associated Press Twitter account erroneously claimed that there were two explosions in the White House and that President Barack Obama had been injured - Dow Jones Kaitlyn Kiernan These moves appear to be completely machine driven. These are probably the algos reading news headlines. Although there is a lesson learned here but this incident has clearly demonstrated the extent of use of machine in trading in today s world. The drive of automation has are producing suites of occurred in most industries. advanced execution Now it seems to be the turn of algorithms in some form. Treasury, Corporate Bonds, Barclay s BARX, Credit Muni, Commodities and Credit Suisse s Prime Trade (Onyx), products to take the leap. Deutsche Bank s AutoBahn, These markets are being Goldman s REDI MAST, confronted with both BlackRock s Alladin, regulatory pressure and need Quantitative Brokers s algo for a greater efficiency. platform and many more. Comparatively, these products Some are pure agency present their own unique business model, some are microstructures such as the focused on internalizing client Interest Rate Futures listed on flow and some for the Prime CME have implied quotes, Pro services business. Naturally, Rata order matching and have Algorithmic Trading now highly correlated nature. Yet accounts for 45% of overall the major theme of transition trading in U.S. Treasuries over remains the same. As a result, ICAP s BTec platform alone. most big players on the street Spread Trading Algorithms Algorithmic trading provides worked manually. However significant advantage in the evolution of technology trading spreads. Rates and continuous progress spreading algorithms target made by exchanges has on achieving a VWAP spread enabled computers to take among Treasury cash and over this task very efficiently. Futures to take advantage of Today almost all the their Relative Value brokers and dealers on the movements with respect to street have some flavor of the yield curve. spread execution algorithms. Traditionally, it was These algorithms are used for 2

Agricultural Energy Metals Stock Index Currency Interest Rate TOTAL ; 70% 60% 50% % Volume of Algo on CME, 2010 48% 63% 40% 34% 36% 30% 27% 20% 10% 16% 18% 0% Volume traded at CME in April 2010 Automated or algorithmic (algo) trading methodologies have steadily evolved since the time that electronic trading systems have become available CME Group executing complex spreads such as mis-weighted Butterfly, solve specific purpose such as rolling future positions and conditional trading based on market levels etc. For past few years, I have been developing execution algorithms for trading interest rates products T-Notes, T- Bonds, T-Future, Eurodollars. Most recently, I conceptualized a Multi-legger algorithm which allows trading duration neutral and custom combination of above products. Having such advanced algorithm in rates market in a paramount. Consider you have Cointegration signal to trade four points on the yield curve to take advantage of their relative movement from long-term levels. This condor trade could be easily done using the algo, which will work through the market movements to get the spread of their levels. Such algorithms are now widely available. Conceptually, such multi-legger can be further improved to another dimension by including cross products. An algorithm that can trade Multi-Asset Multi-Legged spreads. This will allow traders from various desks to co-ordinate among them and gain competitive advantage, while at the same time, reducing cost of having separate platforms. 3

; Machine Learning There are algorithms that use historical data along with incoming current market data to generate execution plans. For example a strategy trying to avoid negative price impact will generate an execution plan based on historical data analysis to optimize order placement. It will then scatter the orders over a period to dampen the market impact of over all position desired. There is news driven algorithms as well (as evident from the recent Tweet Crash). These algorithms depend on massive historical data and very fast event analysis. Machine learning is highly effective data mining technique and Artificial intelligence (AI) has many uses in Finance. Today the smartest trading algorithms heavily depend on AI and Machine learning. Such algorithms can process huge amount of data very quickly and continue training online with incoming data for making better decisions. They learn to react to market events, predict the movements and carefully filter out the noise, like the human traders do, but much faster and deterministically as programmed. In one independent research, I used the high frequency order book data for treasury futures for price discovery process. I discretized the data to frequency of one seconds and calculated some features. These features included Cross Sectional features such as order imbalance, bid ask pressure etc and Time Series features such as trade imbalance, exponential moving average of weighted mid, number of price increments during last N seconds etc. I computed various features and selected few, which had most predictive power. I used these features with Support Vector classifier, Logistic regression and one Ensemble classifier (Random Forest) to predict the mid price direction in next M seconds. The study was done using Python Scikit Learn module. In normal market conditions, all three were able to predict the mid price direction very well. This basic model can be improved to incorporate news events, auctions, trending markets and high volatile markets. Overall, machine learning is highly effective computational technique that is already playing a key role in Trading and its usage will further grow in future. Like Automated Trading Desk, RGM Advisors, and Renaissance before them, Getco started recruiting AI programmers skilled in machinelearning techniques. Highly sensitive programs would monitor reams of data coming from all corners of the market, learning dynamically on the fly which strategies worked best under a variety of circumstances. Dark Pools by Scott Patterson Renaissance uses computer-based models to predict price changes in easily-traded financial instruments. These models are based on analyzing as much data as can be gathered, then looking for non-random movements to make predictions - Wikipedia 4

Electronic Market Making High Frequency Automated Market Making for Fixed Income Products Algorithmic trading is critical for High frequency market making desks. HFT market making strategies utilize simple and faster inventory models to acquire and liquidate positions frequently to realize small profit but for large number of times. These strategies update orders very frequently and have no overnight positions. For successful edge retention, ultra-low latency connectivity to the exchanges and faster trading and order routing trading algorithms are a must. Machine learning based price discovery algorithms can provide the market makers better predictive power for the fair values in future. All the major broker-dealers are investing heavily in automating their business. The trend will further grow. Conclusion Despite the fact that there were recent disasters when machines went uncontrolled, this area is still growing. With the market share of Algorithmic Trading obviously growing, the regulators have been concerned with the reliability and efficiency in the markets. An added influence: Regulations aimed at moving more derivatives trading onto exchanges are seen as compounding the opportunities for electronic trading. But it is important to understand that Algorithmic Trading is way to efficiently trade and not a trading strategy by itself. History has shown that those, who innovate and adapt in the face of change, those who are able to invest and integrate new technology are more likely to come out ahead in long run. Author Ajitabh Kishore, CFA Masters in Computational Finance, Carnegie Mellon University (Expected Dec 2013) Email: ajitabhk@tepper.cmu.edu References Algorithmic Trading and DMA, Barry Johnson, Machine learning in Action, Peter Harrington, Financial Markets and Trading, Anatoly B. Schmidt, High Frequency Trading Irene Aldridge, Market Microstructure Bouchaud et al, High-Frequency Trading, http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1858626, The Predictive Power of Zero Intelligence in Financial Markets - http://tuvalu.santafe.edu/~jdf/papers/science2.pdf, Liquidity and Volatility in the U.S. Treasury Markhttp://www.unc.edu/~maguilar/metrics/Giang.pdf