SlideShare une entreprise Scribd logo
1  sur  19
Reconciliation Testing Aspects of
Trading Systems Software Failures
Anna-Maria Kriger, Kostroma State Technological University
Alyona Pochukalina, Obninsk Institute for Nuclear Power Engineering
Vladislav Isaev, Yuri Gagarin State Technical University of Saratov
Exactpro Systems
ANALYSIS OF IMAGES, SOCIAL NETWORKS, AND TEXTS
April, 10-12th, Yekaterinburg
Introduction
• Our team is performing functional and non functional testing for
electronic trading and post trade platforms
• We are collecting information available about software outages
and problems into our knowledge base to improve our test
coverage and design more efficient ways to do our work
• This paper describes the concept of reconciliation testing
• We studied two major software disasters in financial services
that led to substantial losses – Knight Capital and Facebook IPO
• This paper focuses only on reconciliation controls and testing
procedures relevant to these events
• We plan to proceed with researching data reconciliation tools
applicability in software testing and developing a reference
implementation of a scalable real-time tool for reconciliation
testing based on the proprietary market surveillance platform
Data Reconciliation
Reconciliation is a process of finding discrepancies in
data obtained from different sources.
In accounting, reconciliation refers to the process of
ensuring that two sets of records, usually account
balances, match each other.
In the financial markets, data reconciliation systems help
asset managers to reconcile trades, cash and security
flows, balances and positions between different systems,
e.g. internal data stored by the trading participant vs.
external data received from counterparties, brokers,
clearers, custodians, etc.
Reconciliation Testing
Reconciliation testing is a process of using data
reconciliation tools to validate the system in parallel with
other activities
Data Reconciliation Tools
The main aspects of data reconciliation tools are:
•Passive test tools
•Serve as test oracles
•Can be used with HiVAT methods
•Should be used during negative test cycles
•Require extra resources
Knight Capital Events
• 1 August 2012, USA
• Knight Capital – one of the most successful HFT firms
• Implemented changes related to Retail Liquidity
Program at NYSE
• SMARS – an ultra-fast order router
• Source code responsible for 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…
Knight Capital Events
Knight Capital Events
Knight Capital Stock Chart
Regulated Exchange
Facebook IPO on NASDAQ
• 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; then NASDAQ’s
matching engine matches the 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 was 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 would have to repeat the calculation
Facebook IPO on NASDAQ
• Over 496k orders participated in the cross, and its duration
exceeded 20ms
• Order cancellation arrived during this period, and the application
had to repeat the calculation. Two more cancellations arrived
during the second iteration, and four more - during the third one
• IPO Cross Application went into infinite loop at 11:05
• The 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 did not participate 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
Failover Proposal
Failover Proposal
Facebook IPO Stock Chart
Comparison
• Both Knight and NASDAQ had a set of reconciliation controls
• In both cases they were not properly covered by testing:
– Knight – reconciliation check stopped working years ago
– NASDAQ – control was working, but operational procedure
applicable to the case when it fails has not been tested
• In both cases, monitoring systems notified operational team about
a problem, however information provided was not enough to
identify the source of the problem and react appropriately
• In neither case a good balance between automatic and manual
processing existed:
– Some of Knight controls were not automatically connected to
block real-time processing and prevent sending erroneous
orders
– On the opposite, the NASDAQ ones automatically halted
processing, but the option to unblock the control wasn’t tested
Market Surveillance System
Market Surveillance System
It is possible and beneficial to use market surveillance system as a
reconciliation testing tool for the following reasons:
•all required data is collected from the system and available both
real-time and in the database;
•most of surveillance systems are configured as a downstream
component and do not affect the main transactional path;
•rules engine allows creating data reconciliation checks and raise
alerts when they fail;
•order book replay allows studying the exact source of the
discrepancy.
Questions and Answers
Thank you!
We look forward to seeing you there!

Contenu connexe

Tendances

Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
David Stokes
 
Implementing a new clinical system
Implementing a new clinical systemImplementing a new clinical system
Implementing a new clinical system
Shane Allen
 
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
Barun Kumar
 
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of TestingCuriosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software Ireland
 

Tendances (20)

Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
Controlling SOA in Support of Operational Improvement (ISPE PE Vol 31 No 4 - ...
 
Implementing a new clinical system
Implementing a new clinical systemImplementing a new clinical system
Implementing a new clinical system
 
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
 
How to build a change workflow process
How to build a change workflow processHow to build a change workflow process
How to build a change workflow process
 
What is BI Testing and The Importance of BI Report Testing
What is BI Testing and The Importance of BI Report TestingWhat is BI Testing and The Importance of BI Report Testing
What is BI Testing and The Importance of BI Report Testing
 
Audit
AuditAudit
Audit
 
Defects mining in exchanges - medvedev, klimakov, yamkovi
Defects mining in exchanges - medvedev, klimakov, yamkoviDefects mining in exchanges - medvedev, klimakov, yamkovi
Defects mining in exchanges - medvedev, klimakov, yamkovi
 
Data Conversions - Convert with Confidence
Data Conversions - Convert with ConfidenceData Conversions - Convert with Confidence
Data Conversions - Convert with Confidence
 
Data Migration Made Easy
Data Migration Made EasyData Migration Made Easy
Data Migration Made Easy
 
7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation
 
EXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing AspectsEXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing Aspects
 
Test Automation
Test AutomationTest Automation
Test Automation
 
EXTENT-2016: MiFID 2 Requirements for testing and business clocks
EXTENT-2016:  MiFID 2 Requirements for testing and business clocksEXTENT-2016:  MiFID 2 Requirements for testing and business clocks
EXTENT-2016: MiFID 2 Requirements for testing and business clocks
 
Using MS Excel In Your Next Audit - Top Basic & Intermediate Techniques
Using MS Excel In Your Next Audit - Top Basic & Intermediate Techniques Using MS Excel In Your Next Audit - Top Basic & Intermediate Techniques
Using MS Excel In Your Next Audit - Top Basic & Intermediate Techniques
 
Analytix Release Manager - Data-Sheet
Analytix Release Manager - Data-SheetAnalytix Release Manager - Data-Sheet
Analytix Release Manager - Data-Sheet
 
Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).Web Service Test Automation Framework (WSTAF).
Web Service Test Automation Framework (WSTAF).
 
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
GRCSG2014_Kumar_Lessons for ensuring_F2E [Compatibility Mode]
 
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of TestingCuriosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
 
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
 
How to manage your testing automation project ttm methodology
How to manage your testing automation project   ttm methodologyHow to manage your testing automation project   ttm methodology
How to manage your testing automation project ttm methodology
 

En vedette

Building an Intelligent Biobank to Power Research Decision-Making
Building an Intelligent Biobank to Power Research Decision-MakingBuilding an Intelligent Biobank to Power Research Decision-Making
Building an Intelligent Biobank to Power Research Decision-Making
Denodo
 

En vedette (6)

Reconciling your Enterprise Data Warehouse to Source Systems
Reconciling your Enterprise Data Warehouse to Source SystemsReconciling your Enterprise Data Warehouse to Source Systems
Reconciling your Enterprise Data Warehouse to Source Systems
 
The Art Of Testing Trading Platforms From AppLabs
The Art Of Testing Trading Platforms From AppLabsThe Art Of Testing Trading Platforms From AppLabs
The Art Of Testing Trading Platforms From AppLabs
 
Building an Intelligent Biobank to Power Research Decision-Making
Building an Intelligent Biobank to Power Research Decision-MakingBuilding an Intelligent Biobank to Power Research Decision-Making
Building an Intelligent Biobank to Power Research Decision-Making
 
Migration and Testing (EVO 2008)
Migration and Testing (EVO 2008)Migration and Testing (EVO 2008)
Migration and Testing (EVO 2008)
 
Akili Upstream Oil & Gas Data Conversion Solution
Akili Upstream Oil & Gas Data Conversion SolutionAkili Upstream Oil & Gas Data Conversion Solution
Akili Upstream Oil & Gas Data Conversion Solution
 
Migration testing
Migration testingMigration testing
Migration testing
 

Similaire à Reconciliation Testing Aspects of Trading Systems Software Failures

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
AIST
 
High Frequency Trading Infrastructure and Quality Assurance
High Frequency Trading Infrastructure and Quality AssuranceHigh Frequency Trading Infrastructure and Quality Assurance
High Frequency Trading Infrastructure and Quality Assurance
Iosif Itkin
 
Online e-voting
Online e-votingOnline e-voting
Online e-voting
aeioou
 
Resume (2) Modify
Resume (2) ModifyResume (2) Modify
Resume (2) Modify
vijay kumar
 

Similaire à Reconciliation Testing Aspects of Trading Systems Software Failures (20)

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
 
High Frequency Trading Infrastructure and Quality Assurance
High Frequency Trading Infrastructure and Quality AssuranceHigh Frequency Trading Infrastructure and Quality Assurance
High Frequency Trading Infrastructure and Quality Assurance
 
Real time Audit
Real time AuditReal time Audit
Real time Audit
 
Information system audit
Information system audit Information system audit
Information system audit
 
Test Data Approach
Test Data ApproachTest Data Approach
Test Data Approach
 
Online e-voting
Online e-votingOnline e-voting
Online e-voting
 
CISA_WK_4.pptx
CISA_WK_4.pptxCISA_WK_4.pptx
CISA_WK_4.pptx
 
Bankauditin it env
Bankauditin it envBankauditin it env
Bankauditin it env
 
Value-added it auditing
Value-added it auditingValue-added it auditing
Value-added it auditing
 
How to improve your system monitoring
How to improve your system monitoringHow to improve your system monitoring
How to improve your system monitoring
 
What is Platform Observability? An Overview
What is Platform Observability? An OverviewWhat is Platform Observability? An Overview
What is Platform Observability? An Overview
 
Run time Verification using formal methods
Run time Verification using formal methodsRun time Verification using formal methods
Run time Verification using formal methods
 
Resume (2) Modify
Resume (2) ModifyResume (2) Modify
Resume (2) Modify
 
Computer-Assisted Audit Tools and Techniques
Computer-Assisted Audit Tools and TechniquesComputer-Assisted Audit Tools and Techniques
Computer-Assisted Audit Tools and Techniques
 
3.42211- CIS Audit.pdf
3.42211- CIS Audit.pdf3.42211- CIS Audit.pdf
3.42211- CIS Audit.pdf
 
computer system validation
computer system validationcomputer system validation
computer system validation
 
Audit and Assurance
Audit and AssuranceAudit and Assurance
Audit and Assurance
 
Blockchain and Cybersecurity
Blockchain and Cybersecurity Blockchain and Cybersecurity
Blockchain and Cybersecurity
 
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржев...
 
Computer-Assisted Audit Tools and Techniques
Computer-Assisted Audit Tools and TechniquesComputer-Assisted Audit Tools and Techniques
Computer-Assisted Audit Tools and Techniques
 

Plus de Iosif Itkin

Plus de 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
 
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)
 
Sibos 2017: Disruptive functional testing - the next frontier in post-trade s...
Sibos 2017: Disruptive functional testing - the next frontier in post-trade s...Sibos 2017: Disruptive functional testing - the next frontier in post-trade s...
Sibos 2017: Disruptive functional testing - the next frontier in post-trade s...
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 

Reconciliation Testing Aspects of Trading Systems Software Failures

  • 1. Reconciliation Testing Aspects of Trading Systems Software Failures Anna-Maria Kriger, Kostroma State Technological University Alyona Pochukalina, Obninsk Institute for Nuclear Power Engineering Vladislav Isaev, Yuri Gagarin State Technical University of Saratov Exactpro Systems ANALYSIS OF IMAGES, SOCIAL NETWORKS, AND TEXTS April, 10-12th, Yekaterinburg
  • 2. Introduction • Our team is performing functional and non functional testing for electronic trading and post trade platforms • We are collecting information available about software outages and problems into our knowledge base to improve our test coverage and design more efficient ways to do our work • This paper describes the concept of reconciliation testing • We studied two major software disasters in financial services that led to substantial losses – Knight Capital and Facebook IPO • This paper focuses only on reconciliation controls and testing procedures relevant to these events • We plan to proceed with researching data reconciliation tools applicability in software testing and developing a reference implementation of a scalable real-time tool for reconciliation testing based on the proprietary market surveillance platform
  • 3. Data Reconciliation Reconciliation is a process of finding discrepancies in data obtained from different sources. In accounting, reconciliation refers to the process of ensuring that two sets of records, usually account balances, match each other. In the financial markets, data reconciliation systems help asset managers to reconcile trades, cash and security flows, balances and positions between different systems, e.g. internal data stored by the trading participant vs. external data received from counterparties, brokers, clearers, custodians, etc.
  • 4. Reconciliation Testing Reconciliation testing is a process of using data reconciliation tools to validate the system in parallel with other activities
  • 5. Data Reconciliation Tools The main aspects of data reconciliation tools are: •Passive test tools •Serve as test oracles •Can be used with HiVAT methods •Should be used during negative test cycles •Require extra resources
  • 6. Knight Capital Events • 1 August 2012, USA • Knight Capital – one of the most successful HFT firms • Implemented changes related to Retail Liquidity Program at NYSE • SMARS – an ultra-fast order router • Source code responsible for 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…
  • 11. Facebook IPO on NASDAQ • 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; then NASDAQ’s matching engine matches the 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 was 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 would have to repeat the calculation
  • 12. Facebook IPO on NASDAQ • Over 496k orders participated in the cross, and its duration exceeded 20ms • Order cancellation arrived during this period, and the application had to repeat the calculation. Two more cancellations arrived during the second iteration, and four more - during the third one • IPO Cross Application went into infinite loop at 11:05 • The 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 did not participate 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
  • 16. Comparison • Both Knight and NASDAQ had a set of reconciliation controls • In both cases they were not properly covered by testing: – Knight – reconciliation check stopped working years ago – NASDAQ – control was working, but operational procedure applicable to the case when it fails has not been tested • In both cases, monitoring systems notified operational team about a problem, however information provided was not enough to identify the source of the problem and react appropriately • In neither case a good balance between automatic and manual processing existed: – Some of Knight controls were not automatically connected to block real-time processing and prevent sending erroneous orders – On the opposite, the NASDAQ ones automatically halted processing, but the option to unblock the control wasn’t tested
  • 18. Market Surveillance System It is possible and beneficial to use market surveillance system as a reconciliation testing tool for the following reasons: •all required data is collected from the system and available both real-time and in the database; •most of surveillance systems are configured as a downstream component and do not affect the main transactional path; •rules engine allows creating data reconciliation checks and raise alerts when they fail; •order book replay allows studying the exact source of the discrepancy.
  • 19. Questions and Answers Thank you! We look forward to seeing you there!