SlideShare a Scribd company logo
High Frequency Trading
Infrastructure and Quality Assurance
Iosif Itkin, Exactpro Systems
20th
January 2014
Contents
• Quality Assurance and Risk Assessment
• High Frequency Trading Technology
• Fat Finger Problems
• Flash Crash
• Circuit Breakers
• Facebook IPO
• ABN and ATG on NASDAQ
• Knight Capital Events
• Monitoring Systems
2
Exactpro Systems Company Overview
3
• A specialist firm focused on functional and non
functional testing of securities data distribution,
trading systems, risk management and post-trade
infrastructures
• An independent company incorporated in 2009 with
10 people, now employing over 210 specialists
• A US company registered and head-quartered in San
Rafael, California, with four QA & development
centres in Russia and sales support in the UK
• We build software to verify trading and back-office
systems for exchanges, brokers and other companies
in securities industry
http://linkedin.com/in/iosifitkin
Quality Assurance and Risk Assessment
4
Minimal
Quality Assurance and Risk Assessment
5
Minimal Life & Health
Quality Assurance and Risk Assessment
Financial Services
Money and Reputation
6
Minimal Life & Health
Trading System Types
7
Achieving High Availability
• Minimize the number of faults and the effect/recovery time
of faults in a system
• Avoid a single-point-of-failure by utilizing redundant parts and
rerouting (failover)
• Have a comprehensive monitoring system in place
• Reduce the impact of environmental faults by using UPS and
off-site data mirroring and/or replication provided for "hot"
repair of failed components
8
Trading Architecture Sample from Cinnober
9
Ariane 5 First Launch
• 4 June 1996
• Maiden flight of Ariane 5 unmanned missile
• Loss of guidance and attitude information 37 seconds after
ignition Explosion at 3700 meters 3 seconds later
• Number conversion from 64 bits into 16 bits
• Ada language invalid operand error
• The same version of software was used for Ariane 4
• Horizontal velocity appeared to be much higher
• Testing using simulators without SRI itself
• Both primary and secondary systems failed
10
High Frequency Trading System
• Hundreds of millions of orders per day;
• Micro-bursts with thousands of transactions within
milliseconds;
• Latencies 3,000 times faster than the blink of an eye…
• …and equal to time it takes a flying passenger jet to cover the
distance of 2 cm or light getting from here to Frasne
11
Brokerage System
12
Mizuho Securities
• 12 October 2005
• Attempts to sell a single J-Com stock for 610,000 Yen ($5,041)
• Mistakenly price and quantity were swapped
• Risk systems failure:
– Mizuho Securities
– Tokyo Stock Exchange
• Estimated loss $225 millions
• This type of errors is called
Fat Finger
13
USS Yorktown
• 21 September 1997
• CG-47 Aegis pilot version for “Smart Ship” program
• All systems outage, including propulsion system for 2.5 hours
• Incorrect data entry into Remote Data Base Manager caused
overflow in the database, LAN shutdown and disconnection of
all controlling terminals
• Software defect – division by zero
14
Fat Finger Order on NASDAQ from ABN AMRO Client
• 18 September 2012, Stockholm. A trader had the intention of
posting a sell order for 5,000 SKF B shares. Due to an input
error with the Client, the order volume field was populated
with a negative value (-5,000)
• Instead of returning an error, the system converted the value
into a random 9-digit figure - 294,962,296
• The Sell Order corresponded to approximately 71 % of the
total outstanding volume in the SKF B share. The Sell Order
resulted in execution of 813,442 shares
15
Flash Crash
• 6 May 2010, Waddell & Reed hedges exposure in equities
• Algo to sell 75,000 E-mini contracts (~$4.1b) with 9% participation target
• No price or time constraints in the algo, only volume traded during the
previous minute
• Initial selling was absorbed by HFT and arbitrageurs - buy E-mini, sell SPY or
basket of equities. Lack of liquidity and hot-potato exchange between HFT
increased volumes and selling pressure from the algo
• Sharp decline in prices within 5 minutes. Trigger of across the board
volatility interruptions
• Participants are leaving the market, causing liquidity
crisis in equities and execution against stub quotes
• Market recovers within minutes
16
Limit Order Book
17
Limit Order Book
18
Limit Order Book
19
Limit Order Book
20
Price Boundaries
21
Price Boundaries
22
Price Boundaries
23
Price Boundaries
24
Circuit Breaker
25
Circuit Breaker
26
Circuit Breaker
27
Circuit Breaker
28
Circuit Breaker
29
Facebook IPO
• 18 May 2012, NASDAQ, One of the largest IPOs in history
• Secondary trading is preceded by a designate Display Only Period (DOP)
• Multi-component architecture that included Matching Engine, IPO Cross
Application and Execution Application
• At the end of the DOP, NASDAQ’s “IPO Cross Application” analyzes all of
the buy and sell orders to determine the price at which the largest
number of shares will trade and then NASDAQ’s matching engine
matches buy and sell orders at that price. Usually takes 1-2 ms
• NASDAQ allowed orders to be cancelled at any time up until the end of
the DOP – including the very brief interval during which the IPO cross
price is calculated. After calculation is completed the system performed
orders validation check between ME and “IPO Cross Application”. If any of
the orders were cancelled after the start of the cross, the system will have
to repeat the calculation
30
Facebook IPO
• Over 496k orders participated in the cross and its duration exceeded
20ms
• Order cancellation arrived during this period and application had to
repeat the calculation. Two more cancellations arrived during the second
iteration and four more during the third
• IPO Cross Application went into infinite loop at 11:05
• NASDAQ team switched off validation check on the secondary system and
performed failover 25 minutes after the start of the loop
• Unknown at that moment 38k orders submitted between 11:11 and 11:30
were stuck and had not participated in the uncross. It created another
discrepancy, this time with Execution App and Members who were not
able to receive confirmation for orders executed in the cross until 13:50
31
ABN and ATG Auction Uncross Problem on NASDAQ
• 28 August 2013 the SEB A share opened significantly lower
than on the previous day. The opening price was 51.80, which
was around 24% lower than the closing price
• A contributing factor was trading performed during the
opening auction by Algorithmic Trading Group (ATG), using a
certain algorithm that it had developed through Sponsored
Access arrangements with ABN Amro Clearing Bank
• Because of a shortcoming of the said algorithm, it registered,
amended and cancelled the orders as soon as the limit price
was equal or cross the equilibrium price of the order book
32
Knight Capital Events
• 1 August 2012, USA
• Knight Capital – one of the most successful HFT firms
• Implemented changes related to Retail Liquidity Program в
NYSE
• SMARS – ultra-fast order router
• Source code responsible for the legacy functionality
PowerPeg
• 212 parent orders, millions child orders
• Accumulated loss – $460m or $170k/sec
• Incorrectly configured risk systems
• Deployment on 7 servers instead of 8…
33
North American Blackout
• 14 August 2003, USA and Canada
• Cascade power outage
• Race conditions resulted in buffer overflow in alerting system
• Should operators disconnected 4% of the overall load the
losses estimated to be $10b could have been avoided
34
Market Surveillance and Monitoring
• Process all events
• Aggregate them
• Look for patterns using
flexible rules
• Replay for Investigation
• Store everything as
evidence
35
Thank You
• Program analysis
• Software verification
• Financial models validation
• Load distribution modeling
• Research of risk controls and circuit breakers
36
http://tmpaconf.org
References
• A Cinnober white paper on: Latency October 2009 update
• SEC Release No. 34-69655 / May 29, 2013
• SEC Release No. 34-70694 / October 16, 2013
• NASDAQ OMX Stockholm Disciplinary Committee DECISION 2013-02-21
• NASDAQ OMX Stockholm Disciplinary Committee DECISION 2014-01-13
• Findings Regarding the Market Events of May 6, 2010
• The Future of Computer Trading in Financial Markets
• TMPA-2013: Tools & Methods of Program Analysis
• Software Horror Stories
• Slide Share - http://www.slideshare.net/IosifItkin
37

More Related Content

Viewers also liked

EXTENT Trading Test Tools Evolution Theory
EXTENT Trading Test Tools Evolution TheoryEXTENT Trading Test Tools Evolution Theory
EXTENT Trading Test Tools Evolution Theory
Iosif Itkin
 
Delivering Large Post-Trade Initiatives: Quality Assurance and Key Challenges
Delivering Large Post-Trade Initiatives:  Quality Assurance and Key ChallengesDelivering Large Post-Trade Initiatives:  Quality Assurance and Key Challenges
Delivering Large Post-Trade Initiatives: Quality Assurance and Key Challenges
Iosif Itkin
 
Trading Systems: Testing at the Confluence of FT and NFT
Trading Systems: Testing at the Confluence of FT and NFTTrading Systems: Testing at the Confluence of FT and NFT
Trading Systems: Testing at the Confluence of FT and NFT
Iosif Itkin
 
EXTENT October 2011 - Test Automation for Trading Systems
EXTENT October 2011 - Test Automation for Trading SystemsEXTENT October 2011 - Test Automation for Trading Systems
EXTENT October 2011 - Test Automation for Trading Systems
Iosif Itkin
 
TMPA-2014: Exactpro Pep Talk
TMPA-2014: Exactpro Pep TalkTMPA-2014: Exactpro Pep Talk
TMPA-2014: Exactpro Pep TalkIosif Itkin
 
The next generation of testing tools for exchanges
The next generation of testing tools for exchangesThe next generation of testing tools for exchanges
The next generation of testing tools for exchangesIosif Itkin
 
Trading Clearing Systems Test Automation
Trading Clearing Systems Test AutomationTrading Clearing Systems Test Automation
Trading Clearing Systems Test AutomationIosif Itkin
 
Exactpro: Non-functional testing approach
Exactpro: Non-functional testing approachExactpro: Non-functional testing approach
Exactpro: Non-functional testing approach
Iosif Itkin
 
AIST 2013 - Data Analysis in Highload Trading Systems
AIST 2013 - Data Analysis in Highload Trading SystemsAIST 2013 - Data Analysis in Highload Trading Systems
AIST 2013 - Data Analysis in Highload Trading SystemsIosif Itkin
 
Virtualization Technology for Test Automation
Virtualization Technology for Test AutomationVirtualization Technology for Test Automation
Virtualization Technology for Test Automation
Iosif Itkin
 
Сложности и практики тестирования производительности
Сложности и практики тестирования производительностиСложности и практики тестирования производительности
Сложности и практики тестирования производительности
SQALab
 
The Simple Matter of Project Management
The Simple Matter of  Project Management The Simple Matter of  Project Management
The Simple Matter of Project Management
Iosif Itkin
 
Cost of Quality How to Save Money
Cost of Quality How to Save MoneyCost of Quality How to Save Money
Cost of Quality How to Save Money
Iosif Itkin
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Models
Iosif Itkin
 
Behavior Driven Development Pros and Cons
Behavior Driven Development Pros and ConsBehavior Driven Development Pros and Cons
Behavior Driven Development Pros and Cons
Iosif Itkin
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Modelsextentconf Tsoy
 
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
 
Exante algotrading
Exante algotradingExante algotrading
Exante algotrading
EXANTE
 

Viewers also liked (18)

EXTENT Trading Test Tools Evolution Theory
EXTENT Trading Test Tools Evolution TheoryEXTENT Trading Test Tools Evolution Theory
EXTENT Trading Test Tools Evolution Theory
 
Delivering Large Post-Trade Initiatives: Quality Assurance and Key Challenges
Delivering Large Post-Trade Initiatives:  Quality Assurance and Key ChallengesDelivering Large Post-Trade Initiatives:  Quality Assurance and Key Challenges
Delivering Large Post-Trade Initiatives: Quality Assurance and Key Challenges
 
Trading Systems: Testing at the Confluence of FT and NFT
Trading Systems: Testing at the Confluence of FT and NFTTrading Systems: Testing at the Confluence of FT and NFT
Trading Systems: Testing at the Confluence of FT and NFT
 
EXTENT October 2011 - Test Automation for Trading Systems
EXTENT October 2011 - Test Automation for Trading SystemsEXTENT October 2011 - Test Automation for Trading Systems
EXTENT October 2011 - Test Automation for Trading Systems
 
TMPA-2014: Exactpro Pep Talk
TMPA-2014: Exactpro Pep TalkTMPA-2014: Exactpro Pep Talk
TMPA-2014: Exactpro Pep Talk
 
The next generation of testing tools for exchanges
The next generation of testing tools for exchangesThe next generation of testing tools for exchanges
The next generation of testing tools for exchanges
 
Trading Clearing Systems Test Automation
Trading Clearing Systems Test AutomationTrading Clearing Systems Test Automation
Trading Clearing Systems Test Automation
 
Exactpro: Non-functional testing approach
Exactpro: Non-functional testing approachExactpro: Non-functional testing approach
Exactpro: Non-functional testing approach
 
AIST 2013 - Data Analysis in Highload Trading Systems
AIST 2013 - Data Analysis in Highload Trading SystemsAIST 2013 - Data Analysis in Highload Trading Systems
AIST 2013 - Data Analysis in Highload Trading Systems
 
Virtualization Technology for Test Automation
Virtualization Technology for Test AutomationVirtualization Technology for Test Automation
Virtualization Technology for Test Automation
 
Сложности и практики тестирования производительности
Сложности и практики тестирования производительностиСложности и практики тестирования производительности
Сложности и практики тестирования производительности
 
The Simple Matter of Project Management
The Simple Matter of  Project Management The Simple Matter of  Project Management
The Simple Matter of Project Management
 
Cost of Quality How to Save Money
Cost of Quality How to Save MoneyCost of Quality How to Save Money
Cost of Quality How to Save Money
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Models
 
Behavior Driven Development Pros and Cons
Behavior Driven Development Pros and ConsBehavior Driven Development Pros and Cons
Behavior Driven Development Pros and Cons
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Models
 
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)
 
Exante algotrading
Exante algotradingExante algotrading
Exante algotrading
 

Similar to High Frequency Trading Infrastructure and Quality Assurance

Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Iosif Itkin
 
Reconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software FailuresReconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software Failures
Iosif Itkin
 
Reconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software FailuresReconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software Failures
Anna-Maria Kriger
 
Iosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisIosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisAIST
 
Macola ICO Blockchain Presentation to SEC
Macola ICO Blockchain Presentation to SECMacola ICO Blockchain Presentation to SEC
Macola ICO Blockchain Presentation to SEC
Maco.la Management
 
EMERGING TECHNOLOGY TRENDS IN AGRICULTURE
EMERGING TECHNOLOGY TRENDS IN AGRICULTUREEMERGING TECHNOLOGY TRENDS IN AGRICULTURE
EMERGING TECHNOLOGY TRENDS IN AGRICULTURE
Chris Gamuyao
 
Exactpro Systems High Level Overview January 2014
Exactpro Systems High Level Overview January 2014Exactpro Systems High Level Overview January 2014
Exactpro Systems High Level Overview January 2014Iosif Itkin
 
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
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order Books
QuantInsti
 
Impact of Automation System in DSE & CSE
Impact of Automation System in DSE & CSE Impact of Automation System in DSE & CSE
Impact of Automation System in DSE & CSE
Syed Ahmed Harun
 
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
WSO2
 
Distributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache PulsarDistributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache Pulsar
Streamlio
 
Distributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache PulsarDistributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache Pulsar
Data Con LA
 
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
 
Buy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
Buy Side Challenges in the Field of Collateral Management - Marc Peter JahnckeBuy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
Buy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
László Árvai
 
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
confluent
 
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming ApplicationsMetrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
confluent
 
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, DigiledgeBizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
R3
 

Similar to High Frequency Trading Infrastructure and Quality Assurance (20)

Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
 
Reconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software FailuresReconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software Failures
 
Reconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software FailuresReconciliation Testing Aspects of Trading Systems Software Failures
Reconciliation Testing Aspects of Trading Systems Software Failures
 
Flopsar-UK (3)
Flopsar-UK (3)Flopsar-UK (3)
Flopsar-UK (3)
 
Iosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisIosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysis
 
Macola ICO Blockchain Presentation to SEC
Macola ICO Blockchain Presentation to SECMacola ICO Blockchain Presentation to SEC
Macola ICO Blockchain Presentation to SEC
 
EMERGING TECHNOLOGY TRENDS IN AGRICULTURE
EMERGING TECHNOLOGY TRENDS IN AGRICULTUREEMERGING TECHNOLOGY TRENDS IN AGRICULTURE
EMERGING TECHNOLOGY TRENDS IN AGRICULTURE
 
Exactpro Systems High Level Overview January 2014
Exactpro Systems High Level Overview January 2014Exactpro Systems High Level Overview January 2014
Exactpro Systems High Level Overview January 2014
 
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
 
Empirical Analysis of Limit Order Books
Empirical Analysis of Limit Order BooksEmpirical Analysis of Limit Order Books
Empirical Analysis of Limit Order Books
 
Impact of Automation System in DSE & CSE
Impact of Automation System in DSE & CSE Impact of Automation System in DSE & CSE
Impact of Automation System in DSE & CSE
 
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
[WSO2Con EU 2017] Fraud Prevention and Compliance in Financial Sector with WS...
 
Distributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache PulsarDistributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache Pulsar
 
Distributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache PulsarDistributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache Pulsar
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
 
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
 
Buy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
Buy Side Challenges in the Field of Collateral Management - Marc Peter JahnckeBuy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
Buy Side Challenges in the Field of Collateral Management - Marc Peter Jahncke
 
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
Digital Transformation in Healthcare with Kafka—Building a Low Latency Data P...
 
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming ApplicationsMetrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
 
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, DigiledgeBizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 

More from Iosif Itkin

Foundations of Software Testing Lecture 4
Foundations of Software Testing Lecture 4Foundations of Software Testing Lecture 4
Foundations of Software Testing Lecture 4
Iosif Itkin
 
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
Iosif Itkin
 
Exactpro FinTech Webinar - Global Exchanges Test Oracles
Exactpro FinTech Webinar - Global Exchanges Test OraclesExactpro FinTech Webinar - Global Exchanges Test Oracles
Exactpro FinTech Webinar - Global Exchanges Test Oracles
Iosif Itkin
 
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
Exactpro FinTech Webinar - Global Exchanges FIX ProtocolExactpro FinTech Webinar - Global Exchanges FIX Protocol
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
Iosif Itkin
 
Operational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market InfrastructuresOperational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market Infrastructures
Iosif Itkin
 
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
Iosif Itkin
 
Testing the Intelligence of your AI
Testing the Intelligence of your AITesting the Intelligence of your AI
Testing the Intelligence of your AI
Iosif Itkin
 
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
EXTENT 2019: Exactpro Quality Assurance for Financial Market InfrastructuresEXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
Iosif Itkin
 
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
Iosif Itkin
 
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan ShamraiEXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
Iosif Itkin
 
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference OpenEXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
Iosif Itkin
 
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
Iosif Itkin
 
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
Iosif Itkin
 
QA Community Saratov: Past, Present, Future (2019-02-08)
QA Community Saratov: Past, Present, Future (2019-02-08)QA Community Saratov: Past, Present, Future (2019-02-08)
QA Community Saratov: Past, Present, Future (2019-02-08)
Iosif Itkin
 
Machine Learning and RoboCop Testing
Machine Learning and RoboCop TestingMachine Learning and RoboCop Testing
Machine Learning and RoboCop Testing
Iosif Itkin
 
Behaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibileBehaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibile
Iosif Itkin
 
2018 - Exactpro Year in Review
2018 - Exactpro Year in Review2018 - Exactpro Year in Review
2018 - Exactpro Year in Review
Iosif Itkin
 
Exactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and StrategyExactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and Strategy
Iosif Itkin
 
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
FIX EMEA Conference 2018 - Post Trade Software Testing ChallengesFIX EMEA Conference 2018 - Post Trade Software Testing Challenges
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
Iosif Itkin
 
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
Iosif Itkin
 

More from Iosif Itkin (20)

Foundations of Software Testing Lecture 4
Foundations of Software Testing Lecture 4Foundations of Software Testing Lecture 4
Foundations of Software Testing Lecture 4
 
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
 
Exactpro FinTech Webinar - Global Exchanges Test Oracles
Exactpro FinTech Webinar - Global Exchanges Test OraclesExactpro FinTech Webinar - Global Exchanges Test Oracles
Exactpro FinTech Webinar - Global Exchanges Test Oracles
 
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
Exactpro FinTech Webinar - Global Exchanges FIX ProtocolExactpro FinTech Webinar - Global Exchanges FIX Protocol
Exactpro FinTech Webinar - Global Exchanges FIX Protocol
 
Operational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market InfrastructuresOperational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market Infrastructures
 
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
20 Simple Questions from Exactpro for Your Enjoyment This Holiday Season
 
Testing the Intelligence of your AI
Testing the Intelligence of your AITesting the Intelligence of your AI
Testing the Intelligence of your AI
 
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
EXTENT 2019: Exactpro Quality Assurance for Financial Market InfrastructuresEXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
EXTENT 2019: Exactpro Quality Assurance for Financial Market Infrastructures
 
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
ClearTH Test Automation Framework: Case Study in IRS & CDS Swaps Lifecycle Mo...
 
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan ShamraiEXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
EXTENT Talks 2019 Tbilisi: Failover and Recovery Test Automation - Ivan Shamrai
 
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference OpenEXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
EXTENT Talks QA Community Tbilisi 20 April 2019 - Conference Open
 
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
User-Assisted Log Analysis for Quality Control of Distributed Fintech Applica...
 
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
QAFF Chicago 2019 - Complex Post-Trade Systems, Requirements Traceability and...
 
QA Community Saratov: Past, Present, Future (2019-02-08)
QA Community Saratov: Past, Present, Future (2019-02-08)QA Community Saratov: Past, Present, Future (2019-02-08)
QA Community Saratov: Past, Present, Future (2019-02-08)
 
Machine Learning and RoboCop Testing
Machine Learning and RoboCop TestingMachine Learning and RoboCop Testing
Machine Learning and RoboCop Testing
 
Behaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibileBehaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibile
 
2018 - Exactpro Year in Review
2018 - Exactpro Year in Review2018 - Exactpro Year in Review
2018 - Exactpro Year in Review
 
Exactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and StrategyExactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and Strategy
 
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
FIX EMEA Conference 2018 - Post Trade Software Testing ChallengesFIX EMEA Conference 2018 - Post Trade Software Testing Challenges
FIX EMEA Conference 2018 - Post Trade Software Testing Challenges
 
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
BDD. The Outer Limits. Iosif Itkin at Youcon (in Russian)
 

Recently uploaded

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 

High Frequency Trading Infrastructure and Quality Assurance

  • 1. High Frequency Trading Infrastructure and Quality Assurance Iosif Itkin, Exactpro Systems 20th January 2014
  • 2. Contents • Quality Assurance and Risk Assessment • High Frequency Trading Technology • Fat Finger Problems • Flash Crash • Circuit Breakers • Facebook IPO • ABN and ATG on NASDAQ • Knight Capital Events • Monitoring Systems 2
  • 3. Exactpro Systems Company Overview 3 • A specialist firm focused on functional and non functional testing of securities data distribution, trading systems, risk management and post-trade infrastructures • An independent company incorporated in 2009 with 10 people, now employing over 210 specialists • A US company registered and head-quartered in San Rafael, California, with four QA & development centres in Russia and sales support in the UK • We build software to verify trading and back-office systems for exchanges, brokers and other companies in securities industry http://linkedin.com/in/iosifitkin
  • 4. Quality Assurance and Risk Assessment 4 Minimal
  • 5. Quality Assurance and Risk Assessment 5 Minimal Life & Health
  • 6. Quality Assurance and Risk Assessment Financial Services Money and Reputation 6 Minimal Life & Health
  • 8. Achieving High Availability • Minimize the number of faults and the effect/recovery time of faults in a system • Avoid a single-point-of-failure by utilizing redundant parts and rerouting (failover) • Have a comprehensive monitoring system in place • Reduce the impact of environmental faults by using UPS and off-site data mirroring and/or replication provided for "hot" repair of failed components 8
  • 9. Trading Architecture Sample from Cinnober 9
  • 10. Ariane 5 First Launch • 4 June 1996 • Maiden flight of Ariane 5 unmanned missile • Loss of guidance and attitude information 37 seconds after ignition Explosion at 3700 meters 3 seconds later • Number conversion from 64 bits into 16 bits • Ada language invalid operand error • The same version of software was used for Ariane 4 • Horizontal velocity appeared to be much higher • Testing using simulators without SRI itself • Both primary and secondary systems failed 10
  • 11. High Frequency Trading System • Hundreds of millions of orders per day; • Micro-bursts with thousands of transactions within milliseconds; • Latencies 3,000 times faster than the blink of an eye… • …and equal to time it takes a flying passenger jet to cover the distance of 2 cm or light getting from here to Frasne 11
  • 13. Mizuho Securities • 12 October 2005 • Attempts to sell a single J-Com stock for 610,000 Yen ($5,041) • Mistakenly price and quantity were swapped • Risk systems failure: – Mizuho Securities – Tokyo Stock Exchange • Estimated loss $225 millions • This type of errors is called Fat Finger 13
  • 14. USS Yorktown • 21 September 1997 • CG-47 Aegis pilot version for “Smart Ship” program • All systems outage, including propulsion system for 2.5 hours • Incorrect data entry into Remote Data Base Manager caused overflow in the database, LAN shutdown and disconnection of all controlling terminals • Software defect – division by zero 14
  • 15. Fat Finger Order on NASDAQ from ABN AMRO Client • 18 September 2012, Stockholm. A trader had the intention of posting a sell order for 5,000 SKF B shares. Due to an input error with the Client, the order volume field was populated with a negative value (-5,000) • Instead of returning an error, the system converted the value into a random 9-digit figure - 294,962,296 • The Sell Order corresponded to approximately 71 % of the total outstanding volume in the SKF B share. The Sell Order resulted in execution of 813,442 shares 15
  • 16. Flash Crash • 6 May 2010, Waddell & Reed hedges exposure in equities • Algo to sell 75,000 E-mini contracts (~$4.1b) with 9% participation target • No price or time constraints in the algo, only volume traded during the previous minute • Initial selling was absorbed by HFT and arbitrageurs - buy E-mini, sell SPY or basket of equities. Lack of liquidity and hot-potato exchange between HFT increased volumes and selling pressure from the algo • Sharp decline in prices within 5 minutes. Trigger of across the board volatility interruptions • Participants are leaving the market, causing liquidity crisis in equities and execution against stub quotes • Market recovers within minutes 16
  • 30. Facebook IPO • 18 May 2012, NASDAQ, One of the largest IPOs in history • Secondary trading is preceded by a designate Display Only Period (DOP) • Multi-component architecture that included Matching Engine, IPO Cross Application and Execution Application • At the end of the DOP, NASDAQ’s “IPO Cross Application” analyzes all of the buy and sell orders to determine the price at which the largest number of shares will trade and then NASDAQ’s matching engine matches buy and sell orders at that price. Usually takes 1-2 ms • NASDAQ allowed orders to be cancelled at any time up until the end of the DOP – including the very brief interval during which the IPO cross price is calculated. After calculation is completed the system performed orders validation check between ME and “IPO Cross Application”. If any of the orders were cancelled after the start of the cross, the system will have to repeat the calculation 30
  • 31. Facebook IPO • Over 496k orders participated in the cross and its duration exceeded 20ms • Order cancellation arrived during this period and application had to repeat the calculation. Two more cancellations arrived during the second iteration and four more during the third • IPO Cross Application went into infinite loop at 11:05 • NASDAQ team switched off validation check on the secondary system and performed failover 25 minutes after the start of the loop • Unknown at that moment 38k orders submitted between 11:11 and 11:30 were stuck and had not participated in the uncross. It created another discrepancy, this time with Execution App and Members who were not able to receive confirmation for orders executed in the cross until 13:50 31
  • 32. ABN and ATG Auction Uncross Problem on NASDAQ • 28 August 2013 the SEB A share opened significantly lower than on the previous day. The opening price was 51.80, which was around 24% lower than the closing price • A contributing factor was trading performed during the opening auction by Algorithmic Trading Group (ATG), using a certain algorithm that it had developed through Sponsored Access arrangements with ABN Amro Clearing Bank • Because of a shortcoming of the said algorithm, it registered, amended and cancelled the orders as soon as the limit price was equal or cross the equilibrium price of the order book 32
  • 33. Knight Capital Events • 1 August 2012, USA • Knight Capital – one of the most successful HFT firms • Implemented changes related to Retail Liquidity Program в NYSE • SMARS – ultra-fast order router • Source code responsible for the legacy functionality PowerPeg • 212 parent orders, millions child orders • Accumulated loss – $460m or $170k/sec • Incorrectly configured risk systems • Deployment on 7 servers instead of 8… 33
  • 34. North American Blackout • 14 August 2003, USA and Canada • Cascade power outage • Race conditions resulted in buffer overflow in alerting system • Should operators disconnected 4% of the overall load the losses estimated to be $10b could have been avoided 34
  • 35. Market Surveillance and Monitoring • Process all events • Aggregate them • Look for patterns using flexible rules • Replay for Investigation • Store everything as evidence 35
  • 36. Thank You • Program analysis • Software verification • Financial models validation • Load distribution modeling • Research of risk controls and circuit breakers 36 http://tmpaconf.org
  • 37. References • A Cinnober white paper on: Latency October 2009 update • SEC Release No. 34-69655 / May 29, 2013 • SEC Release No. 34-70694 / October 16, 2013 • NASDAQ OMX Stockholm Disciplinary Committee DECISION 2013-02-21 • NASDAQ OMX Stockholm Disciplinary Committee DECISION 2014-01-13 • Findings Regarding the Market Events of May 6, 2010 • The Future of Computer Trading in Financial Markets • TMPA-2013: Tools & Methods of Program Analysis • Software Horror Stories • Slide Share - http://www.slideshare.net/IosifItkin 37