SlideShare a Scribd company logo
1 of 33
Информационные системы и
технологическая инфраструктура
биржевой торговли
Разработка и тестирование для
высоконагруженных трейдинговых систем
Main Technology and libraries:
• server, data processing, distributed systems
• java, c++, c#, javascript, Perl, bash
• Linux, Windows
• winapi, posix
• FPGA, System Verilog
Business Areas:
• Test Automation and Verification Tools
• Markets and Post Trade Simulators
• Monitoring and surveillance for trading
systems and exchanges
• Trading and Brokerage Front End Systems
• Algo Trading and Market Data
• Trading and Market Data gateways
Methodologies:
• agile, scrum, DevOps
• rapid delivery to end users
• continuous integration
Instruments:
• git, svn
• eclipse, visual studio
• Jenkins
• visual vm, valgrind
Web: html5, AJAX, JSF, ExtJS, JQuery, Tomcat, Play Framework
Distributed: Tibco RV, UMQ, ZeroMQ, RabbitMQ, akka, Boost Asio
DB: MySql, Postgres, Oracle DB, LevelDB, Hibernate
Communication protocols and APIs: FIX, ITCH, Reuters Foundation API, QuantHouse
ClearTH:
• Post-Trade testing tool
• Verifies each stage of the DLC
• Integrated schedule
• Automated matrices
• Can create multiple days test
scenarios
• Concurrent multiple tests
• Integrated simulators
• SWIFT ISO protocol support
Minirobots:
• Executes multithreaded java code
• Complexity of test algorithms is defined by
the test developer
• Supports multiple client fix connections, order
entry and market data via FIX
• Can use GUI to iterate through sent and
received messages
Dolphin:
• Model-based testing of market
surveillance systems
• Production-scale capacity and throughput
• Interactive real-time alerts and reports
Shsha:
• Post-transactional tool
• Analyzes clients' activity and forecasts system
response
• Parses and displays logs in a user-friendly way
• Parses messages and then puts each to a data
base table where each column corresponds to
each message field
• Allows making summarized reports, etc
• Easy to understand GUI
Load Injector:
• Simulates multiple client connections with a specified load shape for each
connection or a group of connections
• Up to 75K messages / second from a single CPU core
• Measures latencies in microsecond range
• Performance test reports
Sailfish:
• Can test Order Entry, Market Data and Post Trade
connections in one test scenario
• Each test scenario is independent
• Allows running test scripts in any sequence
• Simulation of multiple user connections
• Server simulators
• All messages are stored into a data base
• Generates test reports
Командировки
Информационные системы и
технологическая инфраструктура
биржевой торговли
Фондовая биржа – уникальная
технологическая система
• 100 – 200 m заявок в день
• 50 k заявок в секунду
• Трехзначное количество серверов в
ЦОД
• Миллисекундные всплески
• Время отклика порядка 100 uS
• 100 – 200 m заявок в день
• 50 k заявок в секунду
• Трехзначное количество серверов в
ЦОД
• Миллисекундные всплески
• Время отклика порядка 100 uS
Свет идет из Саратова в Москву в 24 раза дольше
Самолет успевает пролететь 2.5 сантиметра
Мгновение ока длится в 3000 раз дольше
Фондовая биржа – уникальная
технологическая система
• 100 – 200 m заявок в день
• 50 k заявок в секунду
• Трехзначное количество серверов в
ЦОД
• Миллисекундные всплески
• Время отклика порядка 100 uS
Одна секунда – 5 метров
Сутки – 20 километров
Миллисекунда – 25 сантиметров
Фондовая биржа – уникальная
технологическая система
Компоненты биржевой системы
Ускорение
• Убрать все лишнее с пути заявки
• Не освобождать память
• Максимально простой внутренний протокол
• Привязать потоки к ядрам процессора
• Посылать сообщения одновременно нескольким
получателям
Аппаратные методы
• Infiniband
• GPU
• Overclocking
• FPGA
• TOE
Отказоустойчивость
• Дублировать все компоненты
• Разносить компоненты по разным серверам
• Асинхронная запись информации для восстановления
Масштабирование
• Инструменты
• Участники
Базы данных
• Убрать все лишнее с пути заявки
• Асинхронная запись информации для восстановления
Mizuho Securities
12 October 2005, Tokyo
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
Nasdaq & ABN Amro
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
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; 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
• 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
Facebook IPO
Facebook IPO
Facebook IPO
Knight Capital
1 August 2012, New York
• 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
Knight Capital
Knight Capital
http://www.tmpaconf.org
Научно-исследовательская работа
Спасибо
Офис 401, 38/114, БЦ Ковчег
ул. Вавилова
+7 (8452) 338-908
http://www.exactpro.com

More Related Content

Similar to Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржевой торговли

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 AssuranceIosif Itkin
 
Company Introduction in Saratov State University
Company Introduction in Saratov State UniversityCompany Introduction in Saratov State University
Company Introduction in Saratov State UniversityIosif Itkin
 
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...Iosif Itkin
 
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
 
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, yamkoviDataFest Tbilisi
 
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 PulsarData Con LA
 
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 PulsarStreamlio
 
Foxtrot: Real time analytics
Foxtrot: Real time analyticsFoxtrot: Real time analytics
Foxtrot: Real time analyticsSantanu Sinha
 
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 FailuresIosif 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 FailuresAnna-Maria Kriger
 
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 TechnologiesAlejandro Hernández
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introductionLennartF
 
CQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applicationsCQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applicationsMichael Blackstock
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0Matt Lucas
 
Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018Arnaud Le Hors
 
Production Ready Microservices at Scale
Production Ready Microservices at ScaleProduction Ready Microservices at Scale
Production Ready Microservices at ScaleRajeev Bharshetty
 
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander Zaitsev
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander ZaitsevClickHouse in Real Life. Case Studies and Best Practices, by Alexander Zaitsev
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander ZaitsevAltinity Ltd
 
Migrating from a monolith to microservices – is it worth it?
Migrating from a monolith to microservices – is it worth it?Migrating from a monolith to microservices – is it worth it?
Migrating from a monolith to microservices – is it worth it?Katherine Golovinova
 
Aegis QC + Product Overview.pdf
Aegis QC + Product Overview.pdfAegis QC + Product Overview.pdf
Aegis QC + Product Overview.pdfnathan239786
 

Similar to Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржевой торговли (20)

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
 
Company Introduction in Saratov State University
Company Introduction in Saratov State UniversityCompany Introduction in Saratov State University
Company Introduction in Saratov State University
 
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...
QA Meet up in Saratov 25.07.15: Инструменты для тестирования и Лондонская фон...
 
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
 
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
 
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
 
Foxtrot: Real time analytics
Foxtrot: Real time analyticsFoxtrot: Real time analytics
Foxtrot: Real time analytics
 
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
 
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
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introduction
 
Scalable IoT platform
Scalable IoT platformScalable IoT platform
Scalable IoT platform
 
CQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applicationsCQRS and Event Sourcing for IoT applications
CQRS and Event Sourcing for IoT applications
 
IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0IBM Blockchain Platform - Architectural Good Practices v1.0
IBM Blockchain Platform - Architectural Good Practices v1.0
 
Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018
 
Production Ready Microservices at Scale
Production Ready Microservices at ScaleProduction Ready Microservices at Scale
Production Ready Microservices at Scale
 
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander Zaitsev
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander ZaitsevClickHouse in Real Life. Case Studies and Best Practices, by Alexander Zaitsev
ClickHouse in Real Life. Case Studies and Best Practices, by Alexander Zaitsev
 
Migrating from a monolith to microservices – is it worth it?
Migrating from a monolith to microservices – is it worth it?Migrating from a monolith to microservices – is it worth it?
Migrating from a monolith to microservices – is it worth it?
 
Aegis QC + Product Overview.pdf
Aegis QC + Product Overview.pdfAegis QC + Product Overview.pdf
Aegis QC + Product Overview.pdf
 

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 4Iosif 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 OraclesIosif 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 ProtocolIosif Itkin
 
Operational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market InfrastructuresOperational Resilience in Financial Market Infrastructures
Operational Resilience in Financial Market InfrastructuresIosif 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 SeasonIosif Itkin
 
Testing the Intelligence of your AI
Testing the Intelligence of your AITesting the Intelligence of your AI
Testing the Intelligence of your AIIosif 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 InfrastructuresIosif 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 ShamraiIosif 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 OpenIosif 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 TestingIosif 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 possibileIosif Itkin
 
2018 - Exactpro Year in Review
2018 - Exactpro Year in Review2018 - Exactpro Year in Review
2018 - Exactpro Year in ReviewIosif Itkin
 
Exactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and StrategyExactpro Discussion about Joy and Strategy
Exactpro Discussion about Joy and StrategyIosif 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 ChallengesIosif 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

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Лекция в СГТУ: Информационные системы и технологическая инфраструктура биржевой торговли

  • 1. Информационные системы и технологическая инфраструктура биржевой торговли
  • 2.
  • 3. Разработка и тестирование для высоконагруженных трейдинговых систем
  • 4.
  • 5.
  • 6.
  • 7. Main Technology and libraries: • server, data processing, distributed systems • java, c++, c#, javascript, Perl, bash • Linux, Windows • winapi, posix • FPGA, System Verilog Business Areas: • Test Automation and Verification Tools • Markets and Post Trade Simulators • Monitoring and surveillance for trading systems and exchanges • Trading and Brokerage Front End Systems • Algo Trading and Market Data • Trading and Market Data gateways Methodologies: • agile, scrum, DevOps • rapid delivery to end users • continuous integration Instruments: • git, svn • eclipse, visual studio • Jenkins • visual vm, valgrind Web: html5, AJAX, JSF, ExtJS, JQuery, Tomcat, Play Framework Distributed: Tibco RV, UMQ, ZeroMQ, RabbitMQ, akka, Boost Asio DB: MySql, Postgres, Oracle DB, LevelDB, Hibernate Communication protocols and APIs: FIX, ITCH, Reuters Foundation API, QuantHouse
  • 8. ClearTH: • Post-Trade testing tool • Verifies each stage of the DLC • Integrated schedule • Automated matrices • Can create multiple days test scenarios • Concurrent multiple tests • Integrated simulators • SWIFT ISO protocol support Minirobots: • Executes multithreaded java code • Complexity of test algorithms is defined by the test developer • Supports multiple client fix connections, order entry and market data via FIX • Can use GUI to iterate through sent and received messages Dolphin: • Model-based testing of market surveillance systems • Production-scale capacity and throughput • Interactive real-time alerts and reports Shsha: • Post-transactional tool • Analyzes clients' activity and forecasts system response • Parses and displays logs in a user-friendly way • Parses messages and then puts each to a data base table where each column corresponds to each message field • Allows making summarized reports, etc • Easy to understand GUI Load Injector: • Simulates multiple client connections with a specified load shape for each connection or a group of connections • Up to 75K messages / second from a single CPU core • Measures latencies in microsecond range • Performance test reports Sailfish: • Can test Order Entry, Market Data and Post Trade connections in one test scenario • Each test scenario is independent • Allows running test scripts in any sequence • Simulation of multiple user connections • Server simulators • All messages are stored into a data base • Generates test reports
  • 9.
  • 10.
  • 12.
  • 13. Информационные системы и технологическая инфраструктура биржевой торговли
  • 14. Фондовая биржа – уникальная технологическая система • 100 – 200 m заявок в день • 50 k заявок в секунду • Трехзначное количество серверов в ЦОД • Миллисекундные всплески • Время отклика порядка 100 uS
  • 15. • 100 – 200 m заявок в день • 50 k заявок в секунду • Трехзначное количество серверов в ЦОД • Миллисекундные всплески • Время отклика порядка 100 uS Свет идет из Саратова в Москву в 24 раза дольше Самолет успевает пролететь 2.5 сантиметра Мгновение ока длится в 3000 раз дольше Фондовая биржа – уникальная технологическая система
  • 16. • 100 – 200 m заявок в день • 50 k заявок в секунду • Трехзначное количество серверов в ЦОД • Миллисекундные всплески • Время отклика порядка 100 uS Одна секунда – 5 метров Сутки – 20 километров Миллисекунда – 25 сантиметров Фондовая биржа – уникальная технологическая система
  • 18. Ускорение • Убрать все лишнее с пути заявки • Не освобождать память • Максимально простой внутренний протокол • Привязать потоки к ядрам процессора • Посылать сообщения одновременно нескольким получателям Аппаратные методы • Infiniband • GPU • Overclocking • FPGA • TOE
  • 19. Отказоустойчивость • Дублировать все компоненты • Разносить компоненты по разным серверам • Асинхронная запись информации для восстановления Масштабирование • Инструменты • Участники
  • 20. Базы данных • Убрать все лишнее с пути заявки • Асинхронная запись информации для восстановления
  • 21. Mizuho Securities 12 October 2005, Tokyo 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
  • 22. Nasdaq & ABN Amro 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
  • 24. 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
  • 25. • 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 Facebook IPO
  • 29. 1 August 2012, New York • 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
  • 33. Спасибо Офис 401, 38/114, БЦ Ковчег ул. Вавилова +7 (8452) 338-908 http://www.exactpro.com