SlideShare a Scribd company logo
ULTRA FAST GP EVOLVED FINSTRUCTUREULTRA FAST GP EVOLVED FINSTRUCTURE
FROM UNSTRUCTURED GOOFROM UNSTRUCTURED GOO
TSL Version 1.1 ReviewTSL Version 1.1 Review
Michael L. Barna, CTAMichael L. Barna, CTA
Trading System LabTrading System Lab
PLEASE PUT YOUR PHONE ON MUTEPLEASE PUT YOUR PHONE ON MUTE
03/24/1703/24/17
REQUIRED DISCLAIMERREQUIRED DISCLAIMER
HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED
BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR
LOSSES SIMILAR TO THOSE SHOWN.
IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND
THE ACTUAL RESULTS ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF
HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF
HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL
TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR
EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF
TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS.
THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF
ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF
HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS.
03/24/1703/24/17
What is TSL?
• TSL is a platform for the automatic design of Trading
Strategies
• Code is written for you
• Trading Strategies are designed for you
• Strategies are tested OOS during design
• Written by traders (and machine learning scientists, mathematicians, engineers, programmers)
for traders
• TSL is fast, very fast
• TSL’s strategies are #1 as tracked by Futures Truth
• TSL has clients in 7 countries
03/24/1703/24/17
What Does TSL Emphasize?
1. Transparency
2. Uniqueness
3. Robustness
4. Speed
5. Portability
6. Diversity
03/24/1703/24/17
Transparency
• TSL systems can be “White Boxs”
• TSL systems show all forward and backtested trades
• Systems may be “turned off” at any time
• Risk/Stop Loss is completely transparent
• Poor Blind Tested Systems are not deployed
03/24/1703/24/17
Uniqueness
• TSL discovers new mathematical relationships
• Uses traditional or non traditional information
• Stochastic variability in solutions
• Simple to Complex behavior may be studied
• Fundamentals may be merged with Technicals
• Single or Multiple Market-Models deployed
03/24/1703/24/17
Robustness
(Over Fit Avoidance)
• Blind Testing (walk forward)
• Run Path Logs (path intelligence)
• Unbiased Terminal Set (directionless inputs)
• Multi-Run, Randomized Criteria (global optimum)
• Zero Point Origin (no predefined initial point)
• Parsimony Pressure (Occam’s razor)
03/24/1703/24/17
SpeedSpeed
• Higher Level Languages are too slow
• Targeted Fitness is an ENTIRE Trading System
• 20,000-100,000 Trading Systems needed/run
• 2.3 Million System-Bars/Second*
• <1 minute (10 yrs EOD)
• ~2-4 minutes (20 yrs EOD)
• ~5-30 minutes for daytrading system design
• Large Terminal Sets are accessed
• Large Function Sets are accessed
Intel Core i7 975 15% O.C. Single Thread. N-2NX Core Speedup Possible
Note: this is ~2 orders of magnitude faster than manual evaluators
03/24/1703/24/17
Portability
• Evolves code in:
– C
– C#
– JAVA
– ASSEMBLER
– TRADE STATION
– WEALTH LAB
– Other Languages through Translators
• Easily to implement in standard trading platforms
• Simulator results may be used for further analysis
• QuantHouse, TradeStation, WealthLab, Trading Blox, Apollo, others
03/24/1703/24/17
Diversity
• TSL Allows Diversification:
• Over Markets
• Over Systems
• Over Time Frames
• GP may assemble disparate blocks
03/24/1703/24/17
What do I get with TSL?What do I get with TSL?
• Unlimited number of systems*
• Unlimited number of time frames
• Unlimited number of markets
• Large selection of languages
• Fastest available speed
• Huge research capability
*The user builds the systems
03/24/1703/24/17
PARADIGM SHIFT*
• Machines taking on increasing roles on Wall Street
• Machine designed strategies are outperforming human designs*
• Machines are critical for HF trading
• HF Machine Trading is the most profitable category on Wall Street
• Machines allow low Latency, Alpha research and generation
• Machine inefficient markets exist in emerging countries
• Machines will mine world markets for alpha in the future
• Machines that are faster and more efficient are in high demand
• Customers demand more analysis capabilities in finance and trading
*First time machine designed systems took top ranking in third party blind testing
03/24/1703/24/17
TRADING AND ALGORITHMSTRADING AND ALGORITHMS
• In 2009, High Frequency Algorithmic trading accounts for 73% of all US equity trading
volume, but is conducted by only 2% of the firms
• The High Frequency Hedge Fund category is now the most profitable on Wall Street
• Futures and options:
- Easy to integrate algos.
- 20% of options volume expected to be algo by 2010
• CME quote time is now ~ 6 milliseconds
Clearly, the Futures markets are moving firmly towards Algorithmic trading as we have
seen in the equities
References:
Advanced Trading, Sept/Oct. 2009
http://en.wikipedia.org/wiki/Algorithmic_trading
http://www.informationweek.com/news/hardware/data_centers/showArticle.jhtml?articleID=219700577&cid=RSSfeed_IWK_All#
03/24/1703/24/17
TSL CRITICAL FEATURES
• Far faster and better than GA, tree GP’s or other AI
• Simultaneous Design/ Walk Forward during design time
• 56 inputs, full custom inputs possible
• 5 preprocessed fact sets
• 34 instruction sets, fully configurable
• 33 Fitness Functions, includes multi fitness
• 18 Entry tactics, including multi entry tactics
• 7 exit tactics, including GP adaptive stops and exits
• Risk/Size, Constant dollars embedded and evolved
• Money Management and Optional GP “f”
• Pairs, full hedge, partial hedge with evolved Money Management
• Portfolios, with evolved Money Management
• 17 Option Tactics and combinations (CRR-BTREE, Bjerk-Stens)
• Daytrading-custom ID preprocessing, DT entry/exit types
03/24/1703/24/17
TSL CRITICAL FEATURES
• 2.3 Million System-Bars/sec rate (measured Core i7 975)
• All time frames, overnight or daytrade
• HF, IF or LF systems
• C, C#, JAVA, ASSEMBLER, EL, WL, Blox, Others
• Max 20 markets in portfolio (Version 1.x)
• 60,000 bar limit EOD, ID systems (Version 1.x)
• 10,000 bar limit portfolios (Version 1.x)
03/24/1703/24/17
The Old Way of WritingThe Old Way of Writing
Trading StrategiesTrading Strategies
• Develop or use existing theory
• Use TA books, indicators, patterns, etc.
• Hand code the system
• Test, Optimize, Test, Optimize (curve fit?)
• Try to select best parameters
• Forward walk (maybe?)
• Implement and hope for the best
• Time of work flow: days to months
03/24/1703/24/17
The New Way of WritingThe New Way of Writing
Trading StrategiesTrading Strategies
• Select Market
• Run Strategy generation algorithm
• Observe Out of Sample performance
• Decide if adequate
• Implement
• Adjust, research, study, tweak, learn, etc.
• Time of work flow: minutes to hours
03/24/1703/24/17
MACHINE DESIGNED TRADINGMACHINE DESIGNED TRADING
SYSTEM TECHNOLOGYSYSTEM TECHNOLOGY
A Blend Of:
• Technical (and/or Fundamental) Analysis
• Data Mining
• Evolutionary Algorithms
• Trading Simulators
• HPC
Note: This is not possible with standard backtesting platforms
03/24/1703/24/17
REGISTER PROGRAM
GENOME STRING
Inputs-DNA(56) Outputs(8)
Outputs are used for basic and higher level learning:
1.Basic trading signals
2.Complex trading signals
3.Money management
4.Adaptive risk
5.Targets and stops
6.Optimal GP
                                                                                                                               
03/24/1703/24/17
Function Set
GP Operators
CPU CYCLES
How many CPU cycles does it take to compute the following?
X = Y + Z
High level languages: 20 Clock cycles
CGPS(LAIMGP): 1 Clock cycle
So, TSL should be at least 20 times
faster than higher level languages
Reference: Efficient Evolution of Machine Code for CISC Architectures using blocks and Homologous Crossover,
Peter Nordin, Wolfgang Banzhaf, Frank Francone
03/24/1703/24/17
PREPROCESSING AND THE GOOPREPROCESSING AND THE GOO
((Numeric or BooleanNumeric or Boolean))
• Example Preprocessing:
? Close >= Close[1]
Result: 0 or 1 (True or False, natural language of machines)
Categories:
News: Machine readable
Market Stack Data
Volatilities
Short term intraday patterns
Support and Resistance
Intermediate term patterns
Long term patterns
Oscillators-OBOS
Filters and Indicators
Regression and deviations
Transforms
Channels
Intermarket/Fundamentals
Domain Expertise-Systems/Ind.
56 Total Inputs. Only a few will be
Selected and used in the final design
by the machine
03/24/1703/24/17
THE GOO
Numeric or Boolean
56 inputs + Date, O, H, L, C, Time
(Boolean data shown below)
03/24/1703/24/17
THE INSTRUCTIONSTHE INSTRUCTIONS
• Arithmetic Functions:+, -, *, ÷, ABS, SQRT, CHS, SCALE
• Transcendental Functions: Trig, Log
• Exponential
• Stack Rotation
• Comparison
• Conditional Statements
• Jumps
• Subroutines-Headers
03/24/1703/24/17
THE OPERATORSTHE OPERATORS
• Crossover: Child shares parents genes
• Reproduction: Parent allowed to birth
• Mutation: Child genes altered
• Demes: Species Interbreed
03/24/1703/24/17
THE EVOLVED CODE
Translated to Easy Language, Wealth Lab, C#, VB, etc.Translated to Easy Language, Wealth Lab, C#, VB, etc.
• long double f[8];
• long double tmp = 0;
• int cflag = 0;
• f[0]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=0;
• L0: f[0]-=v[25];
• L1: f[0]+=v[43];
• L2: f[0]=fabs(f[0]);
• L3: f[0]-=v[13];
• L4: f[0]-=v[49];
• L5: f[0]-=v[41];
• L6: f[0]*=f[0];
• L7: f[1]-=f[0];
• L8: f[0]+=v[22];
• L9: tmp=f[1]; f[1]=f[0]; f[0]=tmp;
• L10: cflag=(f[0] < f[2]);
• L11: f[0]-=v[39];
• L12: f[0]+=v[10];
• L13: f[0]-=f[1];
• L14: if (!cflag) f[0] = f[3];
• L15: f[0]+=v[10];
• L16: f[0]+=f[0];
• L17: f[0]+=f[1];
• L18:
• if (!_finite(f[0])) f[0]=0;
• return f[0];
03/24/1703/24/17
THE ARCHITECTURETHE ARCHITECTURE
Development followed no specific model since noDevelopment followed no specific model since no
specific model was readily availablespecific model was readily available
•*GPU/G80, EP or Many Core Implementations
•**VC++.NET, VB, C#, EL
•***Assembler, C, C++
Real Time
or
Static Data
Machine
Readable
News
Market
Stack data Trading
System
Code
(C#, C++,
JAVA, EL)
03/24/1703/24/17
ASYNCHRONOUS “WINDOW”
MACHINE LEARNING
EVOLVED CODE IS UPDATED BASED ON RT FITNESSEVOLVED CODE IS UPDATED BASED ON RT FITNESS
DATA STREAM
DATA PP
WINDOW
GP
CODE
EXECUTED
PERFORMANCE
FITNESS
ADAPTIVE
ADAPTIVE
TSL
GP
03/24/1703/24/17
FITNESS CAN BE MULTI GOALFITNESS CAN BE MULTI GOAL
Machine Design Allows Us to Adjust Critical System MetricsMachine Design Allows Us to Adjust Critical System Metrics
as Targeted Fitness Functionas Targeted Fitness Function
Net Profit
Drawdown
Percent Accuracy
Profit Factor
Average Trade
PRODUCES
CODE
03/24/1703/24/17
EVOLUTIONARY TRADEREVOLUTIONARY TRADER
DESIGNDESIGN
• Traders must trade profitably or they are deleted
• Profitable traders compete with other profitable traders
• Profitable traders are allowed to reproduce
• Some will be subject to random mutations
• Offspring will be subject to crossover
• Traders will be tested on Out Of Sample* continually
* Blind sample testing during run may reflect “direction” of process
03/24/1703/24/17
PARAMETER OPTIMIZATIONPARAMETER OPTIMIZATION
• High risk of over fitting data
• Very, very slow
• Limits search to preprogrammed sets
• Requires an Existing System
03/24/1703/24/17
Summary of Evolutionary Algorithms
YEAR INVENTOR TECHNIQUE INDIVIDUAL
1958 Freidberg Learning Machine Virtual Assembler
1959 Samuel Mathematics Polynomial
1965 Fogel, Owens and Walsh Evolutionary Programming Automation
1965 Rechenberg, Schwefel Evolutionary Strategies Real-Numbered Vector
1975 Holland Genetic Algorithms Fixed Size Bit String
1978 Holland and Reitmann Genetic Classifier Systems Rules
1980 Smith Early Genetic Programming Var-Size Bit String
1985 Cramer Early Genetic Programming Tree
1986 Hicklin Early Genetic Programming LISP
1987 Fujiki and Dickinson Early Genetic Programming LISP
1987 Dickmanns, Schmidhuber and Winklhofer Early Genetic Programming Assembler
1992 Koza Genetic Programming Tree
03/24/1703/24/17
TSL GP MARKET
COMPARISON
*Speed may be proportional to inputs
**Million Input-System-Bars per Second
TSL-LAIMGP OTHER (GA/GP)
SPEED 129 MISBS** Way Slower
# Inputs* 56 5-?
# Functions 34 5-10
# Entries 18 1-5
# Exits 4 1-3
# Stops 3 1-3
Automatic OOS? YES NO
Daytrade? YES MAYBE
Pairs? YES NO
Portfolio/MM? YES MAYBE
Options? YES NO
# Preprocessors 5 1
H, Non H Cross? YES NO
Third Party Tracked? YES NO
03/24/1703/24/17
ES THEORETICAL TRADEES THEORETICAL TRADE
PERFORMANCEPERFORMANCE
For a 1 minute bar, Theoretical EV ~ tick size
However, the period alpha is inverse to interval
Bar Size, Minutes 405 135 60 15 1
Expected Value, $ 463 297 188 47 15
Total Trades/Day 0.6 0.75 1.6 5.7 77
Drawdown 8300 5225 4837 3062 1375
Period Alpha 277.8 222.75 300.8 267.9 1155
Reward/Risk 0.03 0.04 0.06 0.09 0.84
03/24/1703/24/17
MARKETS HAVE DIFFERENTMARKETS HAVE DIFFERENT
DESCRIPTIVE STATISTICSDESCRIPTIVE STATISTICS
So Why Design Symmetrical Systems?So Why Design Symmetrical Systems?
CME:E-MINI S&P CBOT:WHEAT
Power Spectral Density
Indicator Serial Correlation
Random Trend
03/24/1703/24/17
TSL GRAPHICS
03/24/1703/24/17
TRADING SYSTEM SETUP
03/24/1703/24/17
GENETIC PROGRAM SETUP
03/24/1703/24/17
TSL REPORTS
03/24/1703/24/17
TSL TRANSLATORS
03/24/1703/24/17
TSL PREPROCESSORS
03/24/1703/24/17
EVOLVED CODE EVALUATOR
03/24/1703/24/17
OPTIONS COMBINATIONS GP EVOLVEDOPTIONS COMBINATIONS GP EVOLVED
STRUCTURESSTRUCTURES
03/24/1703/24/17
SUMMARY
• TSL is patented, trademarked, licensed, restricted and exclusive
• TSL produces Daytrading, Pairs, Portfolios, Options and
Single Market Directional Systems
• TSL technology is unavailable anywhere else
• TSL strategies are #1, per Futures Truth
• TSL speed grows with CPU speed
• TSL can design many different types of strategies
• TSL produces code in a variety of languages
• TSL terminal set is customizable
• TSL sets a paradigm shift in strategy design
• TSL is used in many different countries and on many different
markets
03/24/1703/24/17
FUTURE PLANS
• Enhanced front and back end
• Strategic partnerships
• Hyper threaded simulator
• Version 2.x development
• Market depth strategy evolution
• Asynchronous: “evolution on the fly”
03/24/1703/24/17
EASY STEPS
1. Preprocess (TradeStation EL)
2. Evolve (TSL)
3. Implement (TradeStation OMS/EMS)
03/24/1703/24/17
Trading System Lab
End of Part 1
Questions?
03/24/1703/24/17
CONCLUSIONCONCLUSION
MACHINE DESIGNED TRADING
SYSTEMS ARE HERE!
www.tradingsystemlab.com
408-356-1800
03/24/1703/24/17

More Related Content

Similar to Tsl version 1.1_review

Exante algotrading
Exante algotradingExante algotrading
Exante algotrading
EXANTE
 
Presentation
PresentationPresentation
Presentation
Aanchal Batra
 
Striving for ultimate Low Latency
Striving for ultimate Low LatencyStriving for ultimate Low Latency
Striving for ultimate Low Latency
Mateusz Pusz
 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview
EXANTE
 
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
Deb prakash ganguly
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order Books
QuantInsti
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency trading
QuantInsti
 
Machine Learning trading bots
Machine Learning trading botsMachine Learning trading bots
Machine Learning trading bots
DataWorks Summit
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
EXANTE
 
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
Iosif Itkin
 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Antoine Savine
 
Extent3 exante broker_for_algorithmic_trading_2012
Extent3 exante broker_for_algorithmic_trading_2012Extent3 exante broker_for_algorithmic_trading_2012
Extent3 exante broker_for_algorithmic_trading_2012extentconf Tsoy
 
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAre You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Alejandro Hernández
 
Dynamics CRM high volume systems - lessons from the field
Dynamics CRM high volume systems - lessons from the fieldDynamics CRM high volume systems - lessons from the field
Dynamics CRM high volume systems - lessons from the field
Stéphane Dorrekens
 
Hacking The Trading Floor
Hacking The Trading FloorHacking The Trading Floor
Hacking The Trading Flooriffybird_099
 
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
Iosif Itkin
 
Data Structures for High Resolution, Real-time Telemetry at Scale
Data Structures for High Resolution, Real-time Telemetry at ScaleData Structures for High Resolution, Real-time Telemetry at Scale
Data Structures for High Resolution, Real-time Telemetry at Scale
ScyllaDB
 
Monomi: Practical Analytical Query Processing over Encrypted Data
Monomi: Practical Analytical Query Processing over Encrypted DataMonomi: Practical Analytical Query Processing over Encrypted Data
Monomi: Practical Analytical Query Processing over Encrypted Data
Mostafa Arjmand
 
Inside Augur
Inside AugurInside Augur
Inside Augur
Nils Frantzell
 
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
Data Science Society
 

Similar to Tsl version 1.1_review (20)

Exante algotrading
Exante algotradingExante algotrading
Exante algotrading
 
Presentation
PresentationPresentation
Presentation
 
Striving for ultimate Low Latency
Striving for ultimate Low LatencyStriving for ultimate Low Latency
Striving for ultimate Low Latency
 
Algorithmic Trading: an Overview
Algorithmic Trading: an Overview Algorithmic Trading: an Overview
Algorithmic Trading: an Overview
 
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
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order Books
 
Order book dynamics in high frequency trading
Order book dynamics in high frequency tradingOrder book dynamics in high frequency trading
Order book dynamics in high frequency trading
 
Machine Learning trading bots
Machine Learning trading botsMachine Learning trading bots
Machine Learning trading bots
 
Algorithmic Trading and FIX Protocol
Algorithmic Trading and FIX ProtocolAlgorithmic Trading and FIX Protocol
Algorithmic Trading and FIX Protocol
 
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
 
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
Notes for Computational Finance lectures, Antoine Savine at Copenhagen Univer...
 
Extent3 exante broker_for_algorithmic_trading_2012
Extent3 exante broker_for_algorithmic_trading_2012Extent3 exante broker_for_algorithmic_trading_2012
Extent3 exante broker_for_algorithmic_trading_2012
 
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAre You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
 
Dynamics CRM high volume systems - lessons from the field
Dynamics CRM high volume systems - lessons from the fieldDynamics CRM high volume systems - lessons from the field
Dynamics CRM high volume systems - lessons from the field
 
Hacking The Trading Floor
Hacking The Trading FloorHacking The Trading Floor
Hacking The Trading Floor
 
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
Trading Day Logs Replay at TMPA-2014 (Trading Systems Testing)
 
Data Structures for High Resolution, Real-time Telemetry at Scale
Data Structures for High Resolution, Real-time Telemetry at ScaleData Structures for High Resolution, Real-time Telemetry at Scale
Data Structures for High Resolution, Real-time Telemetry at Scale
 
Monomi: Practical Analytical Query Processing over Encrypted Data
Monomi: Practical Analytical Query Processing over Encrypted DataMonomi: Practical Analytical Query Processing over Encrypted Data
Monomi: Practical Analytical Query Processing over Encrypted Data
 
Inside Augur
Inside AugurInside Augur
Inside Augur
 
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline[Data Meetup] Data Science in Finance -  Building a Quant ML pipeline
[Data Meetup] Data Science in Finance - Building a Quant ML pipeline
 

Recently uploaded

Celebrating World-environment-day-2024.pdf
Celebrating  World-environment-day-2024.pdfCelebrating  World-environment-day-2024.pdf
Celebrating World-environment-day-2024.pdf
rohankumarsinghrore1
 
UNDERSTANDING WHAT GREEN WASHING IS!.pdf
UNDERSTANDING WHAT GREEN WASHING IS!.pdfUNDERSTANDING WHAT GREEN WASHING IS!.pdf
UNDERSTANDING WHAT GREEN WASHING IS!.pdf
JulietMogola
 
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdfPresentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
Innovation and Technology for Development Centre
 
How about Huawei mobile phone-www.cfye-commerce.shop
How about Huawei mobile phone-www.cfye-commerce.shopHow about Huawei mobile phone-www.cfye-commerce.shop
How about Huawei mobile phone-www.cfye-commerce.shop
laozhuseo02
 
alhambra case study Islamic gardens part-2.pptx
alhambra case study Islamic gardens part-2.pptxalhambra case study Islamic gardens part-2.pptx
alhambra case study Islamic gardens part-2.pptx
CECOS University Peshawar, Pakistan
 
Sustainable Rain water harvesting in india.ppt
Sustainable Rain water harvesting in india.pptSustainable Rain water harvesting in india.ppt
Sustainable Rain water harvesting in india.ppt
chaitaliambole
 
NRW Board Paper - DRAFT NRW Recreation Strategy
NRW Board Paper - DRAFT NRW Recreation StrategyNRW Board Paper - DRAFT NRW Recreation Strategy
NRW Board Paper - DRAFT NRW Recreation Strategy
Robin Grant
 
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business VenturesWillie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
greendigital
 
AGRICULTURE Hydrophonic FERTILISER PPT.pptx
AGRICULTURE Hydrophonic FERTILISER PPT.pptxAGRICULTURE Hydrophonic FERTILISER PPT.pptx
AGRICULTURE Hydrophonic FERTILISER PPT.pptx
BanitaDsouza
 
Natural farming @ Dr. Siddhartha S. Jena.pptx
Natural farming @ Dr. Siddhartha S. Jena.pptxNatural farming @ Dr. Siddhartha S. Jena.pptx
Natural farming @ Dr. Siddhartha S. Jena.pptx
sidjena70
 
International+e-Commerce+Platform-www.cfye-commerce.shop
International+e-Commerce+Platform-www.cfye-commerce.shopInternational+e-Commerce+Platform-www.cfye-commerce.shop
International+e-Commerce+Platform-www.cfye-commerce.shop
laozhuseo02
 
growbilliontrees.com-Trees for Granddaughter (1).pdf
growbilliontrees.com-Trees for Granddaughter (1).pdfgrowbilliontrees.com-Trees for Granddaughter (1).pdf
growbilliontrees.com-Trees for Granddaughter (1).pdf
yadavakashagra
 
ppt on beauty of the nature by Palak.pptx
ppt on  beauty of the nature by Palak.pptxppt on  beauty of the nature by Palak.pptx
ppt on beauty of the nature by Palak.pptx
RaniJaiswal16
 
Environmental Science Book By Dr. Y.K. Singh
Environmental Science Book By Dr. Y.K. SinghEnvironmental Science Book By Dr. Y.K. Singh
Environmental Science Book By Dr. Y.K. Singh
AhmadKhan917612
 
Q&A with the Experts: The Food Service Playbook
Q&A with the Experts: The Food Service PlaybookQ&A with the Experts: The Food Service Playbook
Q&A with the Experts: The Food Service Playbook
World Resources Institute (WRI)
 
Summary of the Climate and Energy Policy of Australia
Summary of the Climate and Energy Policy of AustraliaSummary of the Climate and Energy Policy of Australia
Summary of the Climate and Energy Policy of Australia
yasmindemoraes1
 
Alert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
Alert-driven Community-based Forest monitoring: A case of the Peruvian AmazonAlert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
Alert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
CIFOR-ICRAF
 
Sustainable farming practices in India .pptx
Sustainable farming  practices in India .pptxSustainable farming  practices in India .pptx
Sustainable farming practices in India .pptx
chaitaliambole
 
Daan Park Hydrangea flower season I like it
Daan Park Hydrangea flower season I like itDaan Park Hydrangea flower season I like it
Daan Park Hydrangea flower season I like it
a0966109726
 
DRAFT NRW Recreation Strategy - People and Nature thriving together
DRAFT NRW Recreation Strategy - People and Nature thriving togetherDRAFT NRW Recreation Strategy - People and Nature thriving together
DRAFT NRW Recreation Strategy - People and Nature thriving together
Robin Grant
 

Recently uploaded (20)

Celebrating World-environment-day-2024.pdf
Celebrating  World-environment-day-2024.pdfCelebrating  World-environment-day-2024.pdf
Celebrating World-environment-day-2024.pdf
 
UNDERSTANDING WHAT GREEN WASHING IS!.pdf
UNDERSTANDING WHAT GREEN WASHING IS!.pdfUNDERSTANDING WHAT GREEN WASHING IS!.pdf
UNDERSTANDING WHAT GREEN WASHING IS!.pdf
 
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdfPresentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
Presentación Giulio Quaggiotto-Diálogo improbable .pptx.pdf
 
How about Huawei mobile phone-www.cfye-commerce.shop
How about Huawei mobile phone-www.cfye-commerce.shopHow about Huawei mobile phone-www.cfye-commerce.shop
How about Huawei mobile phone-www.cfye-commerce.shop
 
alhambra case study Islamic gardens part-2.pptx
alhambra case study Islamic gardens part-2.pptxalhambra case study Islamic gardens part-2.pptx
alhambra case study Islamic gardens part-2.pptx
 
Sustainable Rain water harvesting in india.ppt
Sustainable Rain water harvesting in india.pptSustainable Rain water harvesting in india.ppt
Sustainable Rain water harvesting in india.ppt
 
NRW Board Paper - DRAFT NRW Recreation Strategy
NRW Board Paper - DRAFT NRW Recreation StrategyNRW Board Paper - DRAFT NRW Recreation Strategy
NRW Board Paper - DRAFT NRW Recreation Strategy
 
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business VenturesWillie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business Ventures
 
AGRICULTURE Hydrophonic FERTILISER PPT.pptx
AGRICULTURE Hydrophonic FERTILISER PPT.pptxAGRICULTURE Hydrophonic FERTILISER PPT.pptx
AGRICULTURE Hydrophonic FERTILISER PPT.pptx
 
Natural farming @ Dr. Siddhartha S. Jena.pptx
Natural farming @ Dr. Siddhartha S. Jena.pptxNatural farming @ Dr. Siddhartha S. Jena.pptx
Natural farming @ Dr. Siddhartha S. Jena.pptx
 
International+e-Commerce+Platform-www.cfye-commerce.shop
International+e-Commerce+Platform-www.cfye-commerce.shopInternational+e-Commerce+Platform-www.cfye-commerce.shop
International+e-Commerce+Platform-www.cfye-commerce.shop
 
growbilliontrees.com-Trees for Granddaughter (1).pdf
growbilliontrees.com-Trees for Granddaughter (1).pdfgrowbilliontrees.com-Trees for Granddaughter (1).pdf
growbilliontrees.com-Trees for Granddaughter (1).pdf
 
ppt on beauty of the nature by Palak.pptx
ppt on  beauty of the nature by Palak.pptxppt on  beauty of the nature by Palak.pptx
ppt on beauty of the nature by Palak.pptx
 
Environmental Science Book By Dr. Y.K. Singh
Environmental Science Book By Dr. Y.K. SinghEnvironmental Science Book By Dr. Y.K. Singh
Environmental Science Book By Dr. Y.K. Singh
 
Q&A with the Experts: The Food Service Playbook
Q&A with the Experts: The Food Service PlaybookQ&A with the Experts: The Food Service Playbook
Q&A with the Experts: The Food Service Playbook
 
Summary of the Climate and Energy Policy of Australia
Summary of the Climate and Energy Policy of AustraliaSummary of the Climate and Energy Policy of Australia
Summary of the Climate and Energy Policy of Australia
 
Alert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
Alert-driven Community-based Forest monitoring: A case of the Peruvian AmazonAlert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
Alert-driven Community-based Forest monitoring: A case of the Peruvian Amazon
 
Sustainable farming practices in India .pptx
Sustainable farming  practices in India .pptxSustainable farming  practices in India .pptx
Sustainable farming practices in India .pptx
 
Daan Park Hydrangea flower season I like it
Daan Park Hydrangea flower season I like itDaan Park Hydrangea flower season I like it
Daan Park Hydrangea flower season I like it
 
DRAFT NRW Recreation Strategy - People and Nature thriving together
DRAFT NRW Recreation Strategy - People and Nature thriving togetherDRAFT NRW Recreation Strategy - People and Nature thriving together
DRAFT NRW Recreation Strategy - People and Nature thriving together
 

Tsl version 1.1_review

  • 1. ULTRA FAST GP EVOLVED FINSTRUCTUREULTRA FAST GP EVOLVED FINSTRUCTURE FROM UNSTRUCTURED GOOFROM UNSTRUCTURED GOO TSL Version 1.1 ReviewTSL Version 1.1 Review Michael L. Barna, CTAMichael L. Barna, CTA Trading System LabTrading System Lab PLEASE PUT YOUR PHONE ON MUTEPLEASE PUT YOUR PHONE ON MUTE 03/24/1703/24/17
  • 2. REQUIRED DISCLAIMERREQUIRED DISCLAIMER HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR TO ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS. 03/24/1703/24/17
  • 3. What is TSL? • TSL is a platform for the automatic design of Trading Strategies • Code is written for you • Trading Strategies are designed for you • Strategies are tested OOS during design • Written by traders (and machine learning scientists, mathematicians, engineers, programmers) for traders • TSL is fast, very fast • TSL’s strategies are #1 as tracked by Futures Truth • TSL has clients in 7 countries 03/24/1703/24/17
  • 4. What Does TSL Emphasize? 1. Transparency 2. Uniqueness 3. Robustness 4. Speed 5. Portability 6. Diversity 03/24/1703/24/17
  • 5. Transparency • TSL systems can be “White Boxs” • TSL systems show all forward and backtested trades • Systems may be “turned off” at any time • Risk/Stop Loss is completely transparent • Poor Blind Tested Systems are not deployed 03/24/1703/24/17
  • 6. Uniqueness • TSL discovers new mathematical relationships • Uses traditional or non traditional information • Stochastic variability in solutions • Simple to Complex behavior may be studied • Fundamentals may be merged with Technicals • Single or Multiple Market-Models deployed 03/24/1703/24/17
  • 7. Robustness (Over Fit Avoidance) • Blind Testing (walk forward) • Run Path Logs (path intelligence) • Unbiased Terminal Set (directionless inputs) • Multi-Run, Randomized Criteria (global optimum) • Zero Point Origin (no predefined initial point) • Parsimony Pressure (Occam’s razor) 03/24/1703/24/17
  • 8. SpeedSpeed • Higher Level Languages are too slow • Targeted Fitness is an ENTIRE Trading System • 20,000-100,000 Trading Systems needed/run • 2.3 Million System-Bars/Second* • <1 minute (10 yrs EOD) • ~2-4 minutes (20 yrs EOD) • ~5-30 minutes for daytrading system design • Large Terminal Sets are accessed • Large Function Sets are accessed Intel Core i7 975 15% O.C. Single Thread. N-2NX Core Speedup Possible Note: this is ~2 orders of magnitude faster than manual evaluators 03/24/1703/24/17
  • 9. Portability • Evolves code in: – C – C# – JAVA – ASSEMBLER – TRADE STATION – WEALTH LAB – Other Languages through Translators • Easily to implement in standard trading platforms • Simulator results may be used for further analysis • QuantHouse, TradeStation, WealthLab, Trading Blox, Apollo, others 03/24/1703/24/17
  • 10. Diversity • TSL Allows Diversification: • Over Markets • Over Systems • Over Time Frames • GP may assemble disparate blocks 03/24/1703/24/17
  • 11. What do I get with TSL?What do I get with TSL? • Unlimited number of systems* • Unlimited number of time frames • Unlimited number of markets • Large selection of languages • Fastest available speed • Huge research capability *The user builds the systems 03/24/1703/24/17
  • 12. PARADIGM SHIFT* • Machines taking on increasing roles on Wall Street • Machine designed strategies are outperforming human designs* • Machines are critical for HF trading • HF Machine Trading is the most profitable category on Wall Street • Machines allow low Latency, Alpha research and generation • Machine inefficient markets exist in emerging countries • Machines will mine world markets for alpha in the future • Machines that are faster and more efficient are in high demand • Customers demand more analysis capabilities in finance and trading *First time machine designed systems took top ranking in third party blind testing 03/24/1703/24/17
  • 13. TRADING AND ALGORITHMSTRADING AND ALGORITHMS • In 2009, High Frequency Algorithmic trading accounts for 73% of all US equity trading volume, but is conducted by only 2% of the firms • The High Frequency Hedge Fund category is now the most profitable on Wall Street • Futures and options: - Easy to integrate algos. - 20% of options volume expected to be algo by 2010 • CME quote time is now ~ 6 milliseconds Clearly, the Futures markets are moving firmly towards Algorithmic trading as we have seen in the equities References: Advanced Trading, Sept/Oct. 2009 http://en.wikipedia.org/wiki/Algorithmic_trading http://www.informationweek.com/news/hardware/data_centers/showArticle.jhtml?articleID=219700577&cid=RSSfeed_IWK_All# 03/24/1703/24/17
  • 14. TSL CRITICAL FEATURES • Far faster and better than GA, tree GP’s or other AI • Simultaneous Design/ Walk Forward during design time • 56 inputs, full custom inputs possible • 5 preprocessed fact sets • 34 instruction sets, fully configurable • 33 Fitness Functions, includes multi fitness • 18 Entry tactics, including multi entry tactics • 7 exit tactics, including GP adaptive stops and exits • Risk/Size, Constant dollars embedded and evolved • Money Management and Optional GP “f” • Pairs, full hedge, partial hedge with evolved Money Management • Portfolios, with evolved Money Management • 17 Option Tactics and combinations (CRR-BTREE, Bjerk-Stens) • Daytrading-custom ID preprocessing, DT entry/exit types 03/24/1703/24/17
  • 15. TSL CRITICAL FEATURES • 2.3 Million System-Bars/sec rate (measured Core i7 975) • All time frames, overnight or daytrade • HF, IF or LF systems • C, C#, JAVA, ASSEMBLER, EL, WL, Blox, Others • Max 20 markets in portfolio (Version 1.x) • 60,000 bar limit EOD, ID systems (Version 1.x) • 10,000 bar limit portfolios (Version 1.x) 03/24/1703/24/17
  • 16. The Old Way of WritingThe Old Way of Writing Trading StrategiesTrading Strategies • Develop or use existing theory • Use TA books, indicators, patterns, etc. • Hand code the system • Test, Optimize, Test, Optimize (curve fit?) • Try to select best parameters • Forward walk (maybe?) • Implement and hope for the best • Time of work flow: days to months 03/24/1703/24/17
  • 17. The New Way of WritingThe New Way of Writing Trading StrategiesTrading Strategies • Select Market • Run Strategy generation algorithm • Observe Out of Sample performance • Decide if adequate • Implement • Adjust, research, study, tweak, learn, etc. • Time of work flow: minutes to hours 03/24/1703/24/17
  • 18. MACHINE DESIGNED TRADINGMACHINE DESIGNED TRADING SYSTEM TECHNOLOGYSYSTEM TECHNOLOGY A Blend Of: • Technical (and/or Fundamental) Analysis • Data Mining • Evolutionary Algorithms • Trading Simulators • HPC Note: This is not possible with standard backtesting platforms 03/24/1703/24/17
  • 19. REGISTER PROGRAM GENOME STRING Inputs-DNA(56) Outputs(8) Outputs are used for basic and higher level learning: 1.Basic trading signals 2.Complex trading signals 3.Money management 4.Adaptive risk 5.Targets and stops 6.Optimal GP                                                                                                                                 03/24/1703/24/17 Function Set GP Operators
  • 20. CPU CYCLES How many CPU cycles does it take to compute the following? X = Y + Z High level languages: 20 Clock cycles CGPS(LAIMGP): 1 Clock cycle So, TSL should be at least 20 times faster than higher level languages Reference: Efficient Evolution of Machine Code for CISC Architectures using blocks and Homologous Crossover, Peter Nordin, Wolfgang Banzhaf, Frank Francone 03/24/1703/24/17
  • 21. PREPROCESSING AND THE GOOPREPROCESSING AND THE GOO ((Numeric or BooleanNumeric or Boolean)) • Example Preprocessing: ? Close >= Close[1] Result: 0 or 1 (True or False, natural language of machines) Categories: News: Machine readable Market Stack Data Volatilities Short term intraday patterns Support and Resistance Intermediate term patterns Long term patterns Oscillators-OBOS Filters and Indicators Regression and deviations Transforms Channels Intermarket/Fundamentals Domain Expertise-Systems/Ind. 56 Total Inputs. Only a few will be Selected and used in the final design by the machine 03/24/1703/24/17
  • 22. THE GOO Numeric or Boolean 56 inputs + Date, O, H, L, C, Time (Boolean data shown below) 03/24/1703/24/17
  • 23. THE INSTRUCTIONSTHE INSTRUCTIONS • Arithmetic Functions:+, -, *, ÷, ABS, SQRT, CHS, SCALE • Transcendental Functions: Trig, Log • Exponential • Stack Rotation • Comparison • Conditional Statements • Jumps • Subroutines-Headers 03/24/1703/24/17
  • 24. THE OPERATORSTHE OPERATORS • Crossover: Child shares parents genes • Reproduction: Parent allowed to birth • Mutation: Child genes altered • Demes: Species Interbreed 03/24/1703/24/17
  • 25. THE EVOLVED CODE Translated to Easy Language, Wealth Lab, C#, VB, etc.Translated to Easy Language, Wealth Lab, C#, VB, etc. • long double f[8]; • long double tmp = 0; • int cflag = 0; • f[0]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=0; • L0: f[0]-=v[25]; • L1: f[0]+=v[43]; • L2: f[0]=fabs(f[0]); • L3: f[0]-=v[13]; • L4: f[0]-=v[49]; • L5: f[0]-=v[41]; • L6: f[0]*=f[0]; • L7: f[1]-=f[0]; • L8: f[0]+=v[22]; • L9: tmp=f[1]; f[1]=f[0]; f[0]=tmp; • L10: cflag=(f[0] < f[2]); • L11: f[0]-=v[39]; • L12: f[0]+=v[10]; • L13: f[0]-=f[1]; • L14: if (!cflag) f[0] = f[3]; • L15: f[0]+=v[10]; • L16: f[0]+=f[0]; • L17: f[0]+=f[1]; • L18: • if (!_finite(f[0])) f[0]=0; • return f[0]; 03/24/1703/24/17
  • 26. THE ARCHITECTURETHE ARCHITECTURE Development followed no specific model since noDevelopment followed no specific model since no specific model was readily availablespecific model was readily available •*GPU/G80, EP or Many Core Implementations •**VC++.NET, VB, C#, EL •***Assembler, C, C++ Real Time or Static Data Machine Readable News Market Stack data Trading System Code (C#, C++, JAVA, EL) 03/24/1703/24/17
  • 27. ASYNCHRONOUS “WINDOW” MACHINE LEARNING EVOLVED CODE IS UPDATED BASED ON RT FITNESSEVOLVED CODE IS UPDATED BASED ON RT FITNESS DATA STREAM DATA PP WINDOW GP CODE EXECUTED PERFORMANCE FITNESS ADAPTIVE ADAPTIVE TSL GP 03/24/1703/24/17
  • 28. FITNESS CAN BE MULTI GOALFITNESS CAN BE MULTI GOAL Machine Design Allows Us to Adjust Critical System MetricsMachine Design Allows Us to Adjust Critical System Metrics as Targeted Fitness Functionas Targeted Fitness Function Net Profit Drawdown Percent Accuracy Profit Factor Average Trade PRODUCES CODE 03/24/1703/24/17
  • 29. EVOLUTIONARY TRADEREVOLUTIONARY TRADER DESIGNDESIGN • Traders must trade profitably or they are deleted • Profitable traders compete with other profitable traders • Profitable traders are allowed to reproduce • Some will be subject to random mutations • Offspring will be subject to crossover • Traders will be tested on Out Of Sample* continually * Blind sample testing during run may reflect “direction” of process 03/24/1703/24/17
  • 30. PARAMETER OPTIMIZATIONPARAMETER OPTIMIZATION • High risk of over fitting data • Very, very slow • Limits search to preprogrammed sets • Requires an Existing System 03/24/1703/24/17
  • 31. Summary of Evolutionary Algorithms YEAR INVENTOR TECHNIQUE INDIVIDUAL 1958 Freidberg Learning Machine Virtual Assembler 1959 Samuel Mathematics Polynomial 1965 Fogel, Owens and Walsh Evolutionary Programming Automation 1965 Rechenberg, Schwefel Evolutionary Strategies Real-Numbered Vector 1975 Holland Genetic Algorithms Fixed Size Bit String 1978 Holland and Reitmann Genetic Classifier Systems Rules 1980 Smith Early Genetic Programming Var-Size Bit String 1985 Cramer Early Genetic Programming Tree 1986 Hicklin Early Genetic Programming LISP 1987 Fujiki and Dickinson Early Genetic Programming LISP 1987 Dickmanns, Schmidhuber and Winklhofer Early Genetic Programming Assembler 1992 Koza Genetic Programming Tree 03/24/1703/24/17
  • 32. TSL GP MARKET COMPARISON *Speed may be proportional to inputs **Million Input-System-Bars per Second TSL-LAIMGP OTHER (GA/GP) SPEED 129 MISBS** Way Slower # Inputs* 56 5-? # Functions 34 5-10 # Entries 18 1-5 # Exits 4 1-3 # Stops 3 1-3 Automatic OOS? YES NO Daytrade? YES MAYBE Pairs? YES NO Portfolio/MM? YES MAYBE Options? YES NO # Preprocessors 5 1 H, Non H Cross? YES NO Third Party Tracked? YES NO 03/24/1703/24/17
  • 33. ES THEORETICAL TRADEES THEORETICAL TRADE PERFORMANCEPERFORMANCE For a 1 minute bar, Theoretical EV ~ tick size However, the period alpha is inverse to interval Bar Size, Minutes 405 135 60 15 1 Expected Value, $ 463 297 188 47 15 Total Trades/Day 0.6 0.75 1.6 5.7 77 Drawdown 8300 5225 4837 3062 1375 Period Alpha 277.8 222.75 300.8 267.9 1155 Reward/Risk 0.03 0.04 0.06 0.09 0.84 03/24/1703/24/17
  • 34. MARKETS HAVE DIFFERENTMARKETS HAVE DIFFERENT DESCRIPTIVE STATISTICSDESCRIPTIVE STATISTICS So Why Design Symmetrical Systems?So Why Design Symmetrical Systems? CME:E-MINI S&P CBOT:WHEAT Power Spectral Density Indicator Serial Correlation Random Trend 03/24/1703/24/17
  • 42. OPTIONS COMBINATIONS GP EVOLVEDOPTIONS COMBINATIONS GP EVOLVED STRUCTURESSTRUCTURES 03/24/1703/24/17
  • 43. SUMMARY • TSL is patented, trademarked, licensed, restricted and exclusive • TSL produces Daytrading, Pairs, Portfolios, Options and Single Market Directional Systems • TSL technology is unavailable anywhere else • TSL strategies are #1, per Futures Truth • TSL speed grows with CPU speed • TSL can design many different types of strategies • TSL produces code in a variety of languages • TSL terminal set is customizable • TSL sets a paradigm shift in strategy design • TSL is used in many different countries and on many different markets 03/24/1703/24/17
  • 44. FUTURE PLANS • Enhanced front and back end • Strategic partnerships • Hyper threaded simulator • Version 2.x development • Market depth strategy evolution • Asynchronous: “evolution on the fly” 03/24/1703/24/17
  • 45. EASY STEPS 1. Preprocess (TradeStation EL) 2. Evolve (TSL) 3. Implement (TradeStation OMS/EMS) 03/24/1703/24/17
  • 46. Trading System Lab End of Part 1 Questions? 03/24/1703/24/17
  • 47. CONCLUSIONCONCLUSION MACHINE DESIGNED TRADING SYSTEMS ARE HERE! www.tradingsystemlab.com 408-356-1800 03/24/1703/24/17