SlideShare a Scribd company logo
1 of 21
Download to read offline
Optimizing High-Performance Trading Solutions: An Engineering Perspective
                Matt Davey, CTO, Lab49 (www.lab49.com)
                Blog: http://mdavey.wordpress.com

                April 2011
                V0.84




Wednesday, 27 April 2011
About Lab49
                      Lab49 is a strategy, design and technology consulting firm. Lab49 deliver strategic consulting and advanced
                      solutions for the financial services industry. Our clients include many of the world’s largest investment banks,
                      hedge funds and exchanges.

                We design and deliver some of the most sophisticated and forward thinking financial applications in the industry today,
                and have an impeccable delivery record on mission critical systems. Our focus on innovation has led us to adopt user-
                centric practices that drive the design of solutions based on user needs and goals whilst delivering against the
                business requirements and delivery timescales. We achieve this through the combination of our industry leading
                Strategy Group, User Experience practice, Domain-Driven Development philosophy and Lean Agile processes.



                Our History
                Lab49 was founded in 2002 and now comprises over 200 people, with major offices in New York and London.

                We offer:
                 An exclusive focus on Financial Services
                 Emphasis on the development of Front Office Trading Systems
                 End-to-end solutions, from Strategy to User Interface to Server


                                                                               Copyright © 2011 Lab49 Inc.
                                                     May not be reproduced by any means without express permission. All rights reserved.   2

Wednesday, 27 April 2011
Overview
                Lab49 and          ‣Low Latency Trading - Statistical Arbitrage
                Solace Systems      Exchange-Traded Fund (ETF)


                                   ‣Single Dealer Platform (SDP) - Foreign
                                    Exchange




                                                           Copyright © 2011 Lab49 Inc.                                 3
                                 May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Low Latency Trading




                                      4

Wednesday, 27 April 2011
Overview - Statistical Arbitrage ETF (Equities)
                ‣ Challenge: To improve          ‣ Approach: Leveraging existing software pattern, a User Experience
                  scalability and lower            driven process and hardware appliances to deliver a solution to
                  latency within the               satisfy the business demand
                  statistical arbitrage ETF
                  space



                                                 Lab49 is the leading provider of innovative




                  Lab49 Innovation On Demand

                                                                         Copyright © 2011 Lab49 Inc.                                 5
                                               May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Problem Domain


                      Calculation of the sum of the Exchange-Traded Fund (ETF) parts
                      could show that the ETF is temporarily mispriced. There maybe
                      an opportunity for arbitrage while they re-converge.




                                                                Copyright © 2011 Lab49 Inc.                                 6
                                      May not be reproduced by any means without express permission. All rights reserved,

Wednesday, 27 April 2011
Solution


                           Lab49 Statistical Arbitrage Exchange-Traded Fund (ETF)
                                                                                =
                             Solace Systems Messaging Middleware (Hardware)
                                                                                +
                               Microsoft .NET TPL Dataflow Library (Software)




                                                                   Copyright © 2011 Lab49 Inc.                                 7
                                         May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Hardware: Appliance Driven Messaging Middleware

                Hardware Messaging Middleware
                Offers consistent out-of-the-box experience
                Options: Guaranteed Messaging, Message Caching, Geospatial Routing
                Lower deployment costs
                Unified API
                Inter-Process Communication (IPC) - shared memory channel




                  Solace Systems: Messaging Made Easy

                                                                      Copyright © 2011 Lab49 Inc.                                 8
                                            May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Software: Messaging & Dataflow Patterns
                We are all trained to think like machines in terms of sequential flow of operation on data,
                Microsoft .NET tasks are better than Operating System (OS) threads because tasks enable
                you to think in terms of chunks of work rather than execution flow.


                Tasks, however, still require coordination of state around shared data
                ‣ tasks/thread complexity increases with size of code base
                Writing to actor-message or dataflow patterns enable you to design around data flow
                avoiding shared state
                ‣ Value grows as system size and parallelism scales up




                  Microsoft .NET TPL Dataflow Library

                                                                         Copyright © 2011 Lab49 Inc.                                 9
                                               May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Statistical Arbitrage ETF Agent-Actor Architecture
                                                                                                                           OMS                          ...




                                          CCY               Per ETF
                                          Pair                        Per ETF
                                                     CCY
                                                     Pair
                                          Asset                                                                  Trade Signals
                                           Asset           Normal
                                                            Normal
                                            Asset             Normal          Virtual
                                                           isation
                                                      Asset isation Normal ETF
                                                       Assetisation Normal
                                                         Asset           Normal         Virtual
                                                                      isation
                                                                        isation
                                          Asset        Normal            isation
                                                                      Real               ETF
                                          (ETF)         isation       ETF                                                                         RIA
                                                      Asset
                                                      (ETF)
                                                                   Normal          Real      ETF Fabric
                                                                   isation         ETF
                                                               Trade
                                                                               Arb
                                                               Signal
                                                                          Trade
                                                                          Signal
                                                                                         Arb
                                                                                                ETF
                                                                                                                         CCY Pair
                                                                                                    ETF
                                                                                                                                  CCY Pair

                                                                                                 Asset                  Normalisaton            Virtual ETF
                                                                                                                                                                    Arbitrag
                                                                                                     Asset                  Normalisaton             Virtual ETF
                                                                                  FX/Equity/ETF Asset Data              Normalisaton            Real ETF
                Agent-Actor Architecture leveraging
                                            OMS
                                                                                                Market
                                                                                   and appropriate static data
                                                                                                                                                                         Arbitrag

                                                                                                       Asset                     Normalisaton        Real ETF
                both off-host and shared-memory                                                                                                                    Trade Signal

                low latency messaging                                                                                                                                   Trade Signal




                                                                           Copyright © 2011 Lab49 Inc.                                                                                 10
                                                 May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Demo - The Server




                                    11

Wednesday, 27 April 2011
Demo - The Client




                                    12

Wednesday, 27 April 2011
Single Dealer Platform
                Building Scalable Distributed Systems




                                                        13

Wednesday, 27 April 2011
Overview - Single Dealer Platform

                ‣ Challenge: Reduce the          ‣ Approach: Moving from, historically, software internet messaging
                  “last mile” message              push product solutions to hardware appliances to improve scalability
                  latency                          and reduce latency




                                                 Lab49 is the leading provider of innovative




                  Lab49 Innovation On Demand

                                                                         Copyright © 2011 Lab49 Inc.                                 14
                                               May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Problem Domain


                Wikipedia - A single-dealer platform (SDP) is software used by
                an investment bank dealing in the capital markets to deliver
                trading and associated services via the Web. The function of
                an SDP is to integrate pricing, liquidity, and pre-sales content
                from multiple sources within a bank and provide access to
                them via a single user interface. It is thus both an integration
                platform and a delivery platform.


                                                            Copyright © 2011 Lab49 Inc.                                 15
                                  May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Solution


                     Lab49 Foreign Exchange (FX) Single Dealer Platform (SDP)
                                                                             =
                              Solace Systems Web Streaming (Hardware)
                                                                             +
                           Paremus OSGi Service Fabric and Akka (Software)




                                                                Copyright © 2011 Lab49 Inc.                                 16
                                      May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Hardware: Web Streaming (‘Last Mile’)
                Performance
                ‣ 9,000 client connections and 900,000
                  messages per second throughput, average
                  latency of 37 microseconds and just 44
                  microseconds at the 99.9th percentile
                Lower deployment costs
                Unified API
                ‣ Full publisher/subscriber or request/reply
                  messaging semantics




                  Solace Systems Web Messaging

                                                                        Copyright © 2011 Lab49 Inc.                                  17
                                             May not be reproduced by e=any means without express permission. All rights reserved.

Wednesday, 27 April 2011
Software: Actor Composite Application
                Paremus Service Fabric
                ‣ Enables composite applications (OSGi, WAR or JEE) to be simply deployed, scaled and managed
                ‣ Utilise available resources dynamically
                ‣ Model-Driven to improve business agility and reduce labor intensive upgrades
                ‣ Robust self healing fabric
                ‣ Low latency DDS based distributed messaging backplane for service monitoring, discovery and
                  configuration
                Akka (Open Source)
                ‣ Actor framework for Java and Scala
                ‣ Software Transactional Memory


                  Paremus Service Fabric and Akka

                                                                         Copyright © 2011 Lab49 Inc.                                 18
                                               May not be reproduced by any means without express permission. All rights reserved.

Wednesday, 27 April 2011
SDP Architecture
                                                                                                Internet
                                             CCY                Per ETF
                                             Pair                         Per ETF
                                                        CCY
                                                        Pair
                                              Asset                                                                    Trade Signals
                                               Asset         Normal
                                                              Normal
                                                Asset           Normal          Virtual
                                                             isation
                                                        Asset isation Normal ETF
                                                         Assetisation Normal
                                                           Asset           Normal         Virtual
                                                                        isation
                                                                          isation
                                              Asset      Normal            isation
                                                                        Real               ETF
                                              (ETF)       isation       ETF                                                                        RIA
                                                        Asset        Normal          Real                                                                                     Authentication/
         HTML5 RIA                                      (ETF)        isation
                                                                 Trade
                                                                                     ETF
                                                                                                                                                                              Entitlements
                                                                 Signal
                                                                            Trade
                                                                                 Arb
                                                                                                                                       RIA Services Layer
                                                                                           Arb
                                                                            Signal



                World’s 1st FX SDP architecture
                leveraging Solace Systems Web
                Messaging (for ‘Last Mile’)   Internal sell-sideFX/Equity/ETF Market Data
                                                                 systems
                                                                                         and appropriate static data
                                               OMS
                                                      CCY              Per ETF
                                                      Pair                        Per ETF
                                                                CCY
                                                                Pair
                                                      Asset                                                                   Trade Signals                                        Credit
                                                       Asset          Normal
                                                                       Normal
                                                        Asset            Normal          Virtual
                                                                      isation
                                                                 Asset isation Normal ETF
                                                                  Assetisation Normal                                                                             Streaming
                                                                    Asset           Normal         Virtual
                                                      Asset       Normal
                                                                                 isation
                                                                                   isation
                                                                                    isation
                                                                                 Real               ETF                                                           Engine
                                                      (ETF)                                                                                                 RIA
                                                                   isation
                                                                 Asset
                                                                                 ETF
                                                                              Normal          Real                                                                                 Tiering
                                                                 (ETF)        isation         ETF
                                                                          Trade
                                                                                          Arb
                                                                          Signal
                                                                                     Trade
                                                                                                    Arb
                                                                                     Signal
                                                                Tick                      Trade                  Settlement/              Content           OMS   Pricing
                                                                Repository                Repository             Confirmation             Repository              Engine
                                                                                                                                                                                       19

Wednesday, 27 April 2011
Demo - Single Dealer Platform (Foreign Exchange)




                                                                   20

Wednesday, 27 April 2011
Demo - Price Failover




                                        21

Wednesday, 27 April 2011

More Related Content

Viewers also liked

The Road to Safety
The Road to SafetyThe Road to Safety
The Road to Safetyml285
 
Social Media Breakfast Montreal Talking Points
Social Media Breakfast Montreal Talking PointsSocial Media Breakfast Montreal Talking Points
Social Media Breakfast Montreal Talking PointsRay Hiltz
 
Small Solutions for Big Returns
Small Solutions for Big ReturnsSmall Solutions for Big Returns
Small Solutions for Big Returnsml285
 
Fortune 100 Procurement Practices: What every company needs to know about pro...
Fortune 100 Procurement Practices: What every company needs to know about pro...Fortune 100 Procurement Practices: What every company needs to know about pro...
Fortune 100 Procurement Practices: What every company needs to know about pro...Michaelle Gocko
 
Micro Procesadores
Micro ProcesadoresMicro Procesadores
Micro Procesadoreslautaro
 
Challenges And Opportunities With Bio And Nanotech
Challenges And Opportunities With Bio  And NanotechChallenges And Opportunities With Bio  And Nanotech
Challenges And Opportunities With Bio And NanotechTim Harper
 
Intro02 h השקעות בחינוך בישראל 2008
Intro02 h השקעות בחינוך בישראל 2008Intro02 h השקעות בחינוך בישראל 2008
Intro02 h השקעות בחינוך בישראל 2008Anochi.com.
 
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014Anochi.com.
 
Reuters Memos
Reuters MemosReuters Memos
Reuters Memosstu.Dio
 
Kirkstyles - Sustainable, Innovative and Affordable Construction
Kirkstyles - Sustainable, Innovative and Affordable ConstructionKirkstyles - Sustainable, Innovative and Affordable Construction
Kirkstyles - Sustainable, Innovative and Affordable ConstructionTim Harper
 
And iemerg 2014
And iemerg 2014And iemerg 2014
And iemerg 2014massican
 

Viewers also liked (20)

The Road to Safety
The Road to SafetyThe Road to Safety
The Road to Safety
 
Continuous delivery
Continuous deliveryContinuous delivery
Continuous delivery
 
10012010 palnning and crisis
10012010 palnning and crisis10012010 palnning and crisis
10012010 palnning and crisis
 
Islands as witness of changes in the quaternary
Islands as witness of changes in the quaternaryIslands as witness of changes in the quaternary
Islands as witness of changes in the quaternary
 
Social Media Breakfast Montreal Talking Points
Social Media Breakfast Montreal Talking PointsSocial Media Breakfast Montreal Talking Points
Social Media Breakfast Montreal Talking Points
 
Small Solutions for Big Returns
Small Solutions for Big ReturnsSmall Solutions for Big Returns
Small Solutions for Big Returns
 
Fortune 100 Procurement Practices: What every company needs to know about pro...
Fortune 100 Procurement Practices: What every company needs to know about pro...Fortune 100 Procurement Practices: What every company needs to know about pro...
Fortune 100 Procurement Practices: What every company needs to know about pro...
 
Volvo my10 c30
Volvo my10 c30Volvo my10 c30
Volvo my10 c30
 
Micro Procesadores
Micro ProcesadoresMicro Procesadores
Micro Procesadores
 
Selva
SelvaSelva
Selva
 
Challenges And Opportunities With Bio And Nanotech
Challenges And Opportunities With Bio  And NanotechChallenges And Opportunities With Bio  And Nanotech
Challenges And Opportunities With Bio And Nanotech
 
Intro02 h השקעות בחינוך בישראל 2008
Intro02 h השקעות בחינוך בישראל 2008Intro02 h השקעות בחינוך בישראל 2008
Intro02 h השקעות בחינוך בישראל 2008
 
10272010 rfid network as early warning system (gs radjou)
10272010 rfid network as early warning system (gs radjou)10272010 rfid network as early warning system (gs radjou)
10272010 rfid network as early warning system (gs radjou)
 
Joe & The Museum of London
Joe & The Museum of LondonJoe & The Museum of London
Joe & The Museum of London
 
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014
מגמות בהוראת מתמטיקה ומדעים בחטיבה העליונה בשנים: 2000-2014
 
2 feed black box to forecast hazard Analysis Critical Control Points
2 feed black box to forecast hazard Analysis Critical Control Points2 feed black box to forecast hazard Analysis Critical Control Points
2 feed black box to forecast hazard Analysis Critical Control Points
 
Reuters Memos
Reuters MemosReuters Memos
Reuters Memos
 
Kirkstyles - Sustainable, Innovative and Affordable Construction
Kirkstyles - Sustainable, Innovative and Affordable ConstructionKirkstyles - Sustainable, Innovative and Affordable Construction
Kirkstyles - Sustainable, Innovative and Affordable Construction
 
Why a dam building is profitable
Why a dam building is profitableWhy a dam building is profitable
Why a dam building is profitable
 
And iemerg 2014
And iemerg 2014And iemerg 2014
And iemerg 2014
 

Similar to Waters North American Trading Architecture Summit April 2011

Ecm mythbusters the_real_story_behind_vendor_marketing
Ecm mythbusters the_real_story_behind_vendor_marketingEcm mythbusters the_real_story_behind_vendor_marketing
Ecm mythbusters the_real_story_behind_vendor_marketingQuestexConf
 
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...Joao Barreto Fernandes
 
Coveo Search - Product Overview
Coveo Search - Product OverviewCoveo Search - Product Overview
Coveo Search - Product OverviewAmplexor
 
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)토드(Toad) 신제품 및 크로스 플랫폼 전략(1)
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)mosaicnet
 
Enterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive TechnologiesEnterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive TechnologiesDataWorks Summit
 
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundo
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundoPowered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundo
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundoGeneXus
 
Nuxeo introduction to ecr at the NYC Java meetup, April 2011
Nuxeo introduction to ecr at the NYC Java meetup, April 2011Nuxeo introduction to ecr at the NYC Java meetup, April 2011
Nuxeo introduction to ecr at the NYC Java meetup, April 2011Nuxeo
 
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value Splunk
 
WS: Kohler, Logica - Running operations devops style
WS: Kohler, Logica - Running operations devops styleWS: Kohler, Logica - Running operations devops style
WS: Kohler, Logica - Running operations devops styleCloudOps Summit
 
dlux - Splunk Technical Overview
dlux - Splunk Technical Overviewdlux - Splunk Technical Overview
dlux - Splunk Technical OverviewDavid Lutz
 
Guard time connect_estonia 21.03.2012
Guard time connect_estonia 21.03.2012Guard time connect_estonia 21.03.2012
Guard time connect_estonia 21.03.2012connectestonia
 
Deploying Enterprise Search in PLM Context with Aras
Deploying Enterprise Search in PLM Context with ArasDeploying Enterprise Search in PLM Context with Aras
Deploying Enterprise Search in PLM Context with ArasAras
 
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011darach
 
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...antonella Buonagurio
 
Finding the right_portal_for_e_government_services
Finding the right_portal_for_e_government_servicesFinding the right_portal_for_e_government_services
Finding the right_portal_for_e_government_servicesQuestexConf
 
IOC and AOP presentation
IOC and AOP presentationIOC and AOP presentation
IOC and AOP presentationthanhc0110m
 
IOC and AOP presentation
IOC and AOP presentationIOC and AOP presentation
IOC and AOP presentationthanhc0110m
 
Engineered Systems: Oracle's Vision for the Future
Engineered Systems: Oracle's Vision for the FutureEngineered Systems: Oracle's Vision for the Future
Engineered Systems: Oracle's Vision for the FutureBob Rhubart
 

Similar to Waters North American Trading Architecture Summit April 2011 (20)

Ecm mythbusters the_real_story_behind_vendor_marketing
Ecm mythbusters the_real_story_behind_vendor_marketingEcm mythbusters the_real_story_behind_vendor_marketing
Ecm mythbusters the_real_story_behind_vendor_marketing
 
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...
Executive Breakfast SysValue-NetApp-VMWare - 16 de Março de 2012 - Apresentaç...
 
Coveo Search - Product Overview
Coveo Search - Product OverviewCoveo Search - Product Overview
Coveo Search - Product Overview
 
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)토드(Toad) 신제품 및 크로스 플랫폼 전략(1)
토드(Toad) 신제품 및 크로스 플랫폼 전략(1)
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Enterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive TechnologiesEnterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive Technologies
 
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundo
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundoPowered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundo
Powered by Oracle! Te ayudamos a distribuir tu aplicación en todo el mundo
 
Nuxeo introduction to ecr at the NYC Java meetup, April 2011
Nuxeo introduction to ecr at the NYC Java meetup, April 2011Nuxeo introduction to ecr at the NYC Java meetup, April 2011
Nuxeo introduction to ecr at the NYC Java meetup, April 2011
 
TIRTA ERP
TIRTA ERPTIRTA ERP
TIRTA ERP
 
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value
SplunkLive: New Visibility=New Opportunity: How IT Can Drive Business Value
 
WS: Kohler, Logica - Running operations devops style
WS: Kohler, Logica - Running operations devops styleWS: Kohler, Logica - Running operations devops style
WS: Kohler, Logica - Running operations devops style
 
dlux - Splunk Technical Overview
dlux - Splunk Technical Overviewdlux - Splunk Technical Overview
dlux - Splunk Technical Overview
 
Guard time connect_estonia 21.03.2012
Guard time connect_estonia 21.03.2012Guard time connect_estonia 21.03.2012
Guard time connect_estonia 21.03.2012
 
Deploying Enterprise Search in PLM Context with Aras
Deploying Enterprise Search in PLM Context with ArasDeploying Enterprise Search in PLM Context with Aras
Deploying Enterprise Search in PLM Context with Aras
 
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
 
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...
La visione di Oracle per la Management Excellence e overview di Oracle Hyperi...
 
Finding the right_portal_for_e_government_services
Finding the right_portal_for_e_government_servicesFinding the right_portal_for_e_government_services
Finding the right_portal_for_e_government_services
 
IOC and AOP presentation
IOC and AOP presentationIOC and AOP presentation
IOC and AOP presentation
 
IOC and AOP presentation
IOC and AOP presentationIOC and AOP presentation
IOC and AOP presentation
 
Engineered Systems: Oracle's Vision for the Future
Engineered Systems: Oracle's Vision for the FutureEngineered Systems: Oracle's Vision for the Future
Engineered Systems: Oracle's Vision for the Future
 

Recently uploaded

VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...Call Girls in Nagpur High Profile
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...ssifa0344
 
The Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfThe Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfGale Pooley
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfGale Pooley
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyTyöeläkeyhtiö Elo
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfGale Pooley
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...makika9823
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Roomdivyansh0kumar0
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfGale Pooley
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...ssifa0344
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingAggregage
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfGale Pooley
 
00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptxFinTech Belgium
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxanshikagoel52
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptxFinTech Belgium
 

Recently uploaded (20)

VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
VVIP Pune Call Girls Katraj (7001035870) Pune Escorts Nearby with Complete Sa...
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
 
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
TEST BANK For Corporate Finance, 13th Edition By Stephen Ross, Randolph Weste...
 
The Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdfThe Economic History of the U.S. Lecture 17.pdf
The Economic History of the U.S. Lecture 17.pdf
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdf
 
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance CompanyInterimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
Interimreport1 January–31 March2024 Elo Mutual Pension Insurance Company
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdf
 
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
Independent Lucknow Call Girls 8923113531WhatsApp Lucknow Call Girls make you...
 
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130  Available With RoomVIP Kolkata Call Girl Serampore 👉 8250192130  Available With Room
VIP Kolkata Call Girl Serampore 👉 8250192130 Available With Room
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdf
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024Commercial Bank Economic Capsule - April 2024
Commercial Bank Economic Capsule - April 2024
 
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
Solution Manual for Financial Accounting, 11th Edition by Robert Libby, Patri...
 
How Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of ReportingHow Automation is Driving Efficiency Through the Last Mile of Reporting
How Automation is Driving Efficiency Through the Last Mile of Reporting
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdf
 
00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx
 
Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024Bladex Earnings Call Presentation 1Q2024
Bladex Earnings Call Presentation 1Q2024
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptx
 
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsHigh Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
High Class Call Girls Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx
 

Waters North American Trading Architecture Summit April 2011

  • 1. Optimizing High-Performance Trading Solutions: An Engineering Perspective Matt Davey, CTO, Lab49 (www.lab49.com) Blog: http://mdavey.wordpress.com April 2011 V0.84 Wednesday, 27 April 2011
  • 2. About Lab49 Lab49 is a strategy, design and technology consulting firm. Lab49 deliver strategic consulting and advanced solutions for the financial services industry. Our clients include many of the world’s largest investment banks, hedge funds and exchanges. We design and deliver some of the most sophisticated and forward thinking financial applications in the industry today, and have an impeccable delivery record on mission critical systems. Our focus on innovation has led us to adopt user- centric practices that drive the design of solutions based on user needs and goals whilst delivering against the business requirements and delivery timescales. We achieve this through the combination of our industry leading Strategy Group, User Experience practice, Domain-Driven Development philosophy and Lean Agile processes. Our History Lab49 was founded in 2002 and now comprises over 200 people, with major offices in New York and London. We offer: An exclusive focus on Financial Services Emphasis on the development of Front Office Trading Systems End-to-end solutions, from Strategy to User Interface to Server Copyright © 2011 Lab49 Inc. May not be reproduced by any means without express permission. All rights reserved. 2 Wednesday, 27 April 2011
  • 3. Overview Lab49 and ‣Low Latency Trading - Statistical Arbitrage Solace Systems Exchange-Traded Fund (ETF) ‣Single Dealer Platform (SDP) - Foreign Exchange Copyright © 2011 Lab49 Inc. 3 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 4. Low Latency Trading 4 Wednesday, 27 April 2011
  • 5. Overview - Statistical Arbitrage ETF (Equities) ‣ Challenge: To improve ‣ Approach: Leveraging existing software pattern, a User Experience scalability and lower driven process and hardware appliances to deliver a solution to latency within the satisfy the business demand statistical arbitrage ETF space Lab49 is the leading provider of innovative Lab49 Innovation On Demand Copyright © 2011 Lab49 Inc. 5 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 6. Problem Domain Calculation of the sum of the Exchange-Traded Fund (ETF) parts could show that the ETF is temporarily mispriced. There maybe an opportunity for arbitrage while they re-converge. Copyright © 2011 Lab49 Inc. 6 May not be reproduced by any means without express permission. All rights reserved, Wednesday, 27 April 2011
  • 7. Solution Lab49 Statistical Arbitrage Exchange-Traded Fund (ETF) = Solace Systems Messaging Middleware (Hardware) + Microsoft .NET TPL Dataflow Library (Software) Copyright © 2011 Lab49 Inc. 7 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 8. Hardware: Appliance Driven Messaging Middleware Hardware Messaging Middleware Offers consistent out-of-the-box experience Options: Guaranteed Messaging, Message Caching, Geospatial Routing Lower deployment costs Unified API Inter-Process Communication (IPC) - shared memory channel Solace Systems: Messaging Made Easy Copyright © 2011 Lab49 Inc. 8 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 9. Software: Messaging & Dataflow Patterns We are all trained to think like machines in terms of sequential flow of operation on data, Microsoft .NET tasks are better than Operating System (OS) threads because tasks enable you to think in terms of chunks of work rather than execution flow. Tasks, however, still require coordination of state around shared data ‣ tasks/thread complexity increases with size of code base Writing to actor-message or dataflow patterns enable you to design around data flow avoiding shared state ‣ Value grows as system size and parallelism scales up Microsoft .NET TPL Dataflow Library Copyright © 2011 Lab49 Inc. 9 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 10. Statistical Arbitrage ETF Agent-Actor Architecture OMS ... CCY Per ETF Pair Per ETF CCY Pair Asset Trade Signals Asset Normal Normal Asset Normal Virtual isation Asset isation Normal ETF Assetisation Normal Asset Normal Virtual isation isation Asset Normal isation Real ETF (ETF) isation ETF RIA Asset (ETF) Normal Real ETF Fabric isation ETF Trade Arb Signal Trade Signal Arb ETF CCY Pair ETF CCY Pair Asset Normalisaton Virtual ETF Arbitrag Asset Normalisaton Virtual ETF FX/Equity/ETF Asset Data Normalisaton Real ETF Agent-Actor Architecture leveraging OMS Market and appropriate static data Arbitrag Asset Normalisaton Real ETF both off-host and shared-memory Trade Signal low latency messaging Trade Signal Copyright © 2011 Lab49 Inc. 10 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 11. Demo - The Server 11 Wednesday, 27 April 2011
  • 12. Demo - The Client 12 Wednesday, 27 April 2011
  • 13. Single Dealer Platform Building Scalable Distributed Systems 13 Wednesday, 27 April 2011
  • 14. Overview - Single Dealer Platform ‣ Challenge: Reduce the ‣ Approach: Moving from, historically, software internet messaging “last mile” message push product solutions to hardware appliances to improve scalability latency and reduce latency Lab49 is the leading provider of innovative Lab49 Innovation On Demand Copyright © 2011 Lab49 Inc. 14 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 15. Problem Domain Wikipedia - A single-dealer platform (SDP) is software used by an investment bank dealing in the capital markets to deliver trading and associated services via the Web. The function of an SDP is to integrate pricing, liquidity, and pre-sales content from multiple sources within a bank and provide access to them via a single user interface. It is thus both an integration platform and a delivery platform. Copyright © 2011 Lab49 Inc. 15 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 16. Solution Lab49 Foreign Exchange (FX) Single Dealer Platform (SDP) = Solace Systems Web Streaming (Hardware) + Paremus OSGi Service Fabric and Akka (Software) Copyright © 2011 Lab49 Inc. 16 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 17. Hardware: Web Streaming (‘Last Mile’) Performance ‣ 9,000 client connections and 900,000 messages per second throughput, average latency of 37 microseconds and just 44 microseconds at the 99.9th percentile Lower deployment costs Unified API ‣ Full publisher/subscriber or request/reply messaging semantics Solace Systems Web Messaging Copyright © 2011 Lab49 Inc. 17 May not be reproduced by e=any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 18. Software: Actor Composite Application Paremus Service Fabric ‣ Enables composite applications (OSGi, WAR or JEE) to be simply deployed, scaled and managed ‣ Utilise available resources dynamically ‣ Model-Driven to improve business agility and reduce labor intensive upgrades ‣ Robust self healing fabric ‣ Low latency DDS based distributed messaging backplane for service monitoring, discovery and configuration Akka (Open Source) ‣ Actor framework for Java and Scala ‣ Software Transactional Memory Paremus Service Fabric and Akka Copyright © 2011 Lab49 Inc. 18 May not be reproduced by any means without express permission. All rights reserved. Wednesday, 27 April 2011
  • 19. SDP Architecture Internet CCY Per ETF Pair Per ETF CCY Pair Asset Trade Signals Asset Normal Normal Asset Normal Virtual isation Asset isation Normal ETF Assetisation Normal Asset Normal Virtual isation isation Asset Normal isation Real ETF (ETF) isation ETF RIA Asset Normal Real Authentication/ HTML5 RIA (ETF) isation Trade ETF Entitlements Signal Trade Arb RIA Services Layer Arb Signal World’s 1st FX SDP architecture leveraging Solace Systems Web Messaging (for ‘Last Mile’) Internal sell-sideFX/Equity/ETF Market Data systems and appropriate static data OMS CCY Per ETF Pair Per ETF CCY Pair Asset Trade Signals Credit Asset Normal Normal Asset Normal Virtual isation Asset isation Normal ETF Assetisation Normal Streaming Asset Normal Virtual Asset Normal isation isation isation Real ETF Engine (ETF) RIA isation Asset ETF Normal Real Tiering (ETF) isation ETF Trade Arb Signal Trade Arb Signal Tick Trade Settlement/ Content OMS Pricing Repository Repository Confirmation Repository Engine 19 Wednesday, 27 April 2011
  • 20. Demo - Single Dealer Platform (Foreign Exchange) 20 Wednesday, 27 April 2011
  • 21. Demo - Price Failover 21 Wednesday, 27 April 2011