The Role of Technology in Quantitative Trading Research AlgoQuant Haksun Li

Slides:



Advertisements
Similar presentations
Computational Statistics. Basic ideas  Predict values that are hard to measure irl, by using co-variables (other properties from the same measurement.
Advertisements

33 CHAPTER BASIC APPLICATION SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: QUIZ#02 In Lecture Session # 9 (5.
Data Mining Methodology 1. Why have a Methodology  Don’t want to learn things that aren’t true May not represent any underlying reality ○ Spurious correlation.
Designing and Developing Decision Support Systems Chapter 4.
Applications of Stochastic Processes in Asset Price Modeling Preetam D’Souza.
Model calibration using. Pag. 5/3/20152 PEST program.
Chapter 1 Introduction to Modeling DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
The Role of Technology in Quantitative Trading Research AlgoQuant Haksun Li
Introduction to Algorithmic Trading Strategies Lecture 8 Risk Management Haksun Li
Introduction to Algorithmic Trading Strategies Lecture 7 Portfolio Optimization Haksun Li
ECE 8443 – Pattern Recognition Objectives: Course Introduction Typical Applications Resources: Syllabus Internet Books and Notes D.H.S: Chapter 1 Glossary.
Introduction to Algorithmic Trading Strategies Lecture 1 Overview of Algorithmic Trading Haksun Li
Numerical Method Inc. Ltd. URL: Presented by Ken Yiu.
Discrete-Event Simulation: A First Course Steve Park and Larry Leemis College of William and Mary.
QM Spring 2002 Business Statistics SPSS: A Summary & Review.
Value At Risk IEF 217a: Lecture Section 5 Fall 2002 Jorion Chapter 5.
1 Simulation Modeling and Analysis Verification and Validation.
FEC Financial Engineering Club. Trading Platform: Back Tester w/ Algorithmic Trading API Market Simulator and Click Trading UI and/or Algo API, link others.
AGEC 622 Mission is prepare you for a job in business Have you ever made a price forecast? How much confidence did you place on your forecast? Was it correct?
Feedback Control Systems (FCS)
Quantitative Trading Strategy based on Time Series Technical Analysis Group Member: Zhao Xia Jun Lorraine Wang Lu Xiao Zhang Le Yu.
Linear Regression/Correlation
Lecture 11 Implementation Issues – Part 2. Monte Carlo Simulation An alternative approach to valuing embedded options is simulation Underlying model “simulates”
Quantitative Business Analysis for Decision Making Multiple Linear RegressionAnalysis.
Application of SAS®! Enterprise Miner™ in Credit Risk Analytics
Algorithmic Trading as a Science Haksun Li
©2013 Cengage Learning. All Rights Reserved. Business Management, 13e Data Analysis and Decision Making Mathematics and Management Basic.
Research Terminology for The Social Sciences.  Data is a collection of observations  Observations have associated attributes  These attributes are.
Lecture 1 What is Modeling? What is Modeling? Creating a simplified version of reality Working with this version to understand or control some.
Haksun Li
Opening Keynote Presentation An Architecture for Intelligent Trading  Alessandro Petroni – Senior Principal Architect, Financial Services, TIBCO Software.
1 Validation & Verification Chapter VALIDATION & VERIFICATION Very Difficult Very Important Conceptually distinct, but performed simultaneously.
Modeling.
MBAD/F 619: Risk Analysis and Financial Modeling Instructor: Linda Leon Fall 2014
Mathematical Finance Seminar. What is Mathematical Finance Other Terms Financial Engineering Quantitative Finance Computational Finance Mathematical Finance.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Fourer et al., The NEOS Benchmarking Service INFORMS International, Puerto Rico, July 8-11, INFORMS International Session MC07, July 9, 2007 The.
Name: Angelica F. White WEMBA10. Teach students how to make sound decisions and recommendations that are based on reliable quantitative information During.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
Sponsor: Dr. K.C. Chang Tony Chen Ehsan Esmaeilzadeh Ali Jarvandi Ning Lin Ryan O’Neil Spring 2010.
Managerial Decision Making and Problem Solving
Language Objective: Students will be able to practice agreeing and disagreeing with partner or small group, interpret and discuss illustrations, identify.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Incorporating News into Algorithmic Market Trading Presented by Philip Gagner, Vice President RavenPack International, S.L. With the kind assistance of.
Haksun Li
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
1 - 1 The Art of Modeling With Spreadsheets Stephen G. Powell Kenneth R. Baker © John Wiley and Sons, Inc. PowerPoint Slides Prepared By: Tava Olsen Washington.
Regression Analysis1. 2 INTRODUCTION TO EMPIRICAL MODELS LEAST SQUARES ESTIMATION OF THE PARAMETERS PROPERTIES OF THE LEAST SQUARES ESTIMATORS AND ESTIMATION.
26134 Business Statistics Week 4 Tutorial Simple Linear Regression Key concepts in this tutorial are listed below 1. Detecting.
Lecture 5: Statistical Methods for Classification CAP 5415: Computer Vision Fall 2006.
1 Seattle University Master’s of Science in Business Analytics Key skills, learning outcomes, and a sample of jobs to apply for, or aim to qualify for,
Building Valid, Credible & Appropriately Detailed Simulation Models
Modelling & Simulation of Semiconductor Devices Lecture 1 & 2 Introduction to Modelling & Simulation.
26134 Business Statistics Week 4 Tutorial Simple Linear Regression Key concepts in this tutorial are listed below 1. Detecting.
Chapter 1: Introduction to Managerial Decision Modeling.
Lecture Slides Elementary Statistics Twelfth Edition
Advanced Data Analytics
Market-Risk Measurement
An Investigation of Market Dynamics and Wealth Distributions
CPSC 531: System Modeling and Simulation
Data Presentation Carey Williamson Department of Computer Science
Linear Regression/Correlation
1/18/2019 ST3131, Lecture 1.
MECH 3550 : Simulation & Visualization
Carey Williamson Department of Computer Science University of Calgary
Building Valid, Credible, and Appropriately Detailed Simulation Models
Introduction to algo quant, an integrated trading research tool
Presentation transcript:

The Role of Technology in Quantitative Trading Research AlgoQuant Haksun Li

Lecturer Profile  Haksun Li  CEO, Numerical Method Inc.Numerical Method Inc.  Quantitative Trader/Analyst, BNPP, UBS  PhD, Computer Science, University of Michigan Ann Arbor  M.S., Financial Mathematics, University of Chicago  B.S., Mathematics, University of Chicago 2

The Ingredients in Quantitative Trading 3  Financial insights about the market  Mathematical skill for modeling and analysis  IT skill?

The Research Process 4  Start with a market insight (hypothesis)  Quantify and translate English (idea) into Greek (mathematics)  Model validation (backtesting)  Understand why the model is working (or not)  Performance statistics  Calibration  Sensitivity Analysis  Iterative refinement  ……

Tools Available for Backtesting 5  Excel  Matlab/R/other scripting languages…  MetaTrader/Trader Workstation  RTS/other automated trading systems…

R/scripting languages Advantages 6  Most people already know it.  There are more people who know Java/C#/C++/C than Matlab, R, etc., combined.  It has a huge collection of math functions for math modeling and analysis.  Math libraries are also available in SuanShu (Java), Nmath (C#), Boost (C++), and Netlib (C).

R Disadvantages 7  TOO MANY!

Generate Trading strategy  Identify some “invariance” (properties) in historical data (in-sample without data snooping).  Create a quantitative model to describe those properties.  Verify if the properties are persistent (out-sample).  Create a trading strategy from the analysis. 8

Backtesting  Backtesting simulates a strategy (model) using historical or fake (controlled) data.  It gives an idea of how a strategy would work in the past.  It does not tell whether it will work in the future.  It gives an objective way to measure strategy performance.  It generates data and statistics that allow further analysis, investigation and refinement.  e.g., winning and losing trades, returns distribution  It helps choose take-profit and stoploss. 9

A Good Backtester (1)  allow easy strategy programming  allow plug-and-play multiple strategies  simulate using historical data  simulate using fake, artificial data  allow controlled experiments  e.g., bid/ask, execution assumptions, news 10

A Good Backtester (2)  generate standard and user customized statistics  have information other than prices  e.g., macro data, news and announcements  Auto calibration  Sensitivity analysis  Quick 11

Iterative Refinement  Backtesting generates a large amount of statistics and data for model analysis.  We may improve the model by  regress the winning/losing trades with factors  identify, delete/add (in)significant factors  check serial correlation among returns  check model correlations  the list goes on and on…… 12

Bootstrapping  We observe only one history.  What if the world had evolve different?  Simulate “similar” histories to get confidence interval.  White's reality check (White, H. 2000). 13

Some Performance Statistics  pnl  mean, stdev, corr  Sharpe ratio  confidence intervals  max drawdown  breakeven ratio  biggest winner/loser  breakeven bid/ask  slippage 14

Omega 15

Calibration  Most strategies require calibration to update parameters for the current trading regime.  Occam’s razor: the fewer parameters the better.  For strategies that take parameters from the Real line: Nelder-Mead, BFGS  For strategies that take integers: Mixed-integer non- linear programming (branch-and-bound, outer- approximation) 16

Sensitivity  How much does the performance change for a small change in parameters?  Avoid the optimized parameters merely being statistical artifacts.  A plot of measure vs. d(parameter) is a good visual aid to determine robustness.  We look for plateaus. 17

Summary  Algo trading is a rare field in quantitative finance where computer sciences is at least as important as mathematics, if not more.  Algo trading is a very competitive field in which technology is a decisive factor. 18