SlideShare a Scribd company logo
EXANTE
                CROSS-ASSET PORTFOLIO MARGIN
                       RISK CALCULATION for HFT

                               Sergey Troshin, PhD,
                         Tech lead, Trading Platform
February 2013
Contents
1. Broker for algorithmic traders
  Internal architecture overview

2. Current risk scheme and its drawbacks
  Problems by design. Implementation problems.

3. Risk calculation and control proposal
  Cross-asset portfolio margin risk management in
     near real time mode.



                                                    2
EXANTE platform



• One client account for all products
• Trading terminal for Win, Mac, Unix
• FIX connection


                                        3
Presence in all major financial centres
• 50+ Exchanges
• 100K+ Instruments

                                          4
• 10+ data vendor gateways
• 10+ execution gateways
                             5
Parallel trading via many Gateways
                               using one Account
=> Accurate risk control is needed           6
Current Risks




                7
Current Risks
Initial startup




After each trade




                             8
Current Risks
Pros:
• Simple and extremely fast Gateway

Cons:
• Limits update are not fast enough because of
  heavy calculations on Back Office side
• Orders data are encapsulated in Gateway
• Portfolio Margin is not calculated
• High BO=>RA traffic (symbols * accounts)
• Gateway restart takes significant time
• Possible inaccurate limits
                                             9
Risks Requirements
•   100K symbols and 10K accounts
•   Fast risk calculation, updates and checks
•   Use orders data in risk processing
•   Portfolio margin calculation
•   Reasonable traffic (symbols + accounts)




                                            10
Risks Proposal
SymbolLimit = FreeMoney * LeverageRate *
  CrossCourse / Price
Definitions
• MarginCoefficient = CrossCourse / Price
  (initial margin to open position with quantity
  set to 1 and leverage rate set as 1)

Facts
• Margin Coefficient doesn’t depend on
  account
• LeverageRate is the same for many accounts
• CrossCourse and Price can not change         11
Risks Proposal
Initial startup




Trade processing




                            12
Free Money
Account Margin =
  SUM(Asset Margin) +
  SUM(Cross-Asset Margin)

Asset Margin =
  Quantity *
  LeverageRate *
  MarginCoefficient

Cross-Asset Margin = SPAN-like algorithm
  for same underlying
                                           13
Improvements
1. Move free money calculation to Risk Agent.
   Orders synchronization is needed.

2. Compute free money using cross margining
   info

3. Use margin data in ATP


                                           14
Proposed risks
Pros:
• Gateway is still very fast(<1ms)
• Orders are used in limits calculation
• Portfolio Margin can be calculated in different
  ways
• Cross margin data could be used
• All limits and leverage rates could be
  overridden
• Fast as light risk updates
• Backup gateways

Cons:                                          15
www.exante.eu

        Questions?

Sergey Troshin, PhD, Tech Lead (st@exante.eu)


                                         16

More Related Content

What's hot

Liquidity Fragmentation & SOR
Liquidity Fragmentation & SORLiquidity Fragmentation & SOR
Liquidity Fragmentation & SOR
Iosif Itkin
 
EXTENT-2016: Trading Technology Trends and Innovation
EXTENT-2016: Trading Technology Trends and InnovationEXTENT-2016: Trading Technology Trends and Innovation
EXTENT-2016: Trading Technology Trends and Innovation
Iosif Itkin
 
EXTENT-2015: Hyper-Fast Trading
EXTENT-2015: Hyper-Fast TradingEXTENT-2015: Hyper-Fast Trading
EXTENT-2015: Hyper-Fast Trading
Iosif Itkin
 
EXTENT-2015: The Four Essential Elements of LSEG QA Solutions
EXTENT-2015: The Four Essential Elements of  LSEG QA SolutionsEXTENT-2015: The Four Essential Elements of  LSEG QA Solutions
EXTENT-2015: The Four Essential Elements of LSEG QA Solutions
Iosif Itkin
 
Extent3 exactpro four_houses_test_tools_2012 (1)
Extent3 exactpro four_houses_test_tools_2012 (1)Extent3 exactpro four_houses_test_tools_2012 (1)
Extent3 exactpro four_houses_test_tools_2012 (1)
extentconf Tsoy
 
Coimbatore amibroker workshop 2014
Coimbatore amibroker workshop 2014Coimbatore amibroker workshop 2014
Coimbatore amibroker workshop 2014
Marketcalls
 
Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011
Iosif Itkin
 
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAre You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Alejandro Hernández
 
Alyona Lamash-Innovation in C&S
Alyona Lamash-Innovation in C&SAlyona Lamash-Innovation in C&S
Alyona Lamash-Innovation in C&S
Alexey Zverev
 
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFTExtent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
extentconf Tsoy
 
Fi Linkedin (1)
Fi Linkedin (1)Fi Linkedin (1)
Fi Linkedin (1)
finteractions
 

What's hot (11)

Liquidity Fragmentation & SOR
Liquidity Fragmentation & SORLiquidity Fragmentation & SOR
Liquidity Fragmentation & SOR
 
EXTENT-2016: Trading Technology Trends and Innovation
EXTENT-2016: Trading Technology Trends and InnovationEXTENT-2016: Trading Technology Trends and Innovation
EXTENT-2016: Trading Technology Trends and Innovation
 
EXTENT-2015: Hyper-Fast Trading
EXTENT-2015: Hyper-Fast TradingEXTENT-2015: Hyper-Fast Trading
EXTENT-2015: Hyper-Fast Trading
 
EXTENT-2015: The Four Essential Elements of LSEG QA Solutions
EXTENT-2015: The Four Essential Elements of  LSEG QA SolutionsEXTENT-2015: The Four Essential Elements of  LSEG QA Solutions
EXTENT-2015: The Four Essential Elements of LSEG QA Solutions
 
Extent3 exactpro four_houses_test_tools_2012 (1)
Extent3 exactpro four_houses_test_tools_2012 (1)Extent3 exactpro four_houses_test_tools_2012 (1)
Extent3 exactpro four_houses_test_tools_2012 (1)
 
Coimbatore amibroker workshop 2014
Coimbatore amibroker workshop 2014Coimbatore amibroker workshop 2014
Coimbatore amibroker workshop 2014
 
Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011
 
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
 
Alyona Lamash-Innovation in C&S
Alyona Lamash-Innovation in C&SAlyona Lamash-Innovation in C&S
Alyona Lamash-Innovation in C&S
 
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFTExtent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
Extent 2013 Obninsk Trading Systems: Testing at the Confluence of FT & NFT
 
Fi Linkedin (1)
Fi Linkedin (1)Fi Linkedin (1)
Fi Linkedin (1)
 

Viewers also liked

Extent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
Extent 2013 Obninsk Test Tools for Trading Systems: Evolution TheoryExtent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
Extent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
extentconf Tsoy
 
Extent 2013 Obninsk Managing Uncertain Data at Scale
Extent 2013 Obninsk Managing Uncertain Data at ScaleExtent 2013 Obninsk Managing Uncertain Data at Scale
Extent 2013 Obninsk Managing Uncertain Data at Scale
extentconf Tsoy
 
Extent 2013 Obninsk LSE - The Focus Beyond Low Latency
Extent 2013 Obninsk  LSE - The Focus Beyond Low LatencyExtent 2013 Obninsk  LSE - The Focus Beyond Low Latency
Extent 2013 Obninsk LSE - The Focus Beyond Low Latency
extentconf Tsoy
 
Extent3 prognoz practical_approach_lppl_model_2012
Extent3 prognoz practical_approach_lppl_model_2012Extent3 prognoz practical_approach_lppl_model_2012
Extent3 prognoz practical_approach_lppl_model_2012
extentconf Tsoy
 
EXTENT-2015: Blockchain New Frontiers
EXTENT-2015: Blockchain New FrontiersEXTENT-2015: Blockchain New Frontiers
EXTENT-2015: Blockchain New Frontiers
Iosif Itkin
 
EXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing AspectsEXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing Aspects
Iosif Itkin
 
EXTENT-2015: LSEG Technology Overview
EXTENT-2015: LSEG Technology Overview EXTENT-2015: LSEG Technology Overview
EXTENT-2015: LSEG Technology Overview
Iosif Itkin
 
EXTENT-2016: Testing the Architecture
EXTENT-2016: Testing the ArchitectureEXTENT-2016: Testing the Architecture
EXTENT-2016: Testing the Architecture
Iosif Itkin
 
EXTENT-2015: A Test Harness for Algo Trading Systems
EXTENT-2015: A Test Harness for Algo Trading Systems EXTENT-2015: A Test Harness for Algo Trading Systems
EXTENT-2015: A Test Harness for Algo Trading Systems
Iosif Itkin
 
EXTENT-2015: Big Button 2.0
EXTENT-2015: Big Button 2.0EXTENT-2015: Big Button 2.0
EXTENT-2015: Big Button 2.0
Iosif Itkin
 
EXTENT-2016: Industry Practices of Advanced Program Analysis
EXTENT-2016: Industry Practices of Advanced Program AnalysisEXTENT-2016: Industry Practices of Advanced Program Analysis
EXTENT-2016: Industry Practices of Advanced Program Analysis
Iosif Itkin
 
EXTENT-2015: Millennium Surveillance™ – Achieving Excellence
EXTENT-2015: Millennium Surveillance™ –  Achieving ExcellenceEXTENT-2015: Millennium Surveillance™ –  Achieving Excellence
EXTENT-2015: Millennium Surveillance™ – Achieving Excellence
Iosif Itkin
 
EXTENT-2015: UnaVista Technology 
EXTENT-2015: UnaVista Technology EXTENT-2015: UnaVista Technology 
EXTENT-2015: UnaVista Technology 
Iosif Itkin
 

Viewers also liked (13)

Extent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
Extent 2013 Obninsk Test Tools for Trading Systems: Evolution TheoryExtent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
Extent 2013 Obninsk Test Tools for Trading Systems: Evolution Theory
 
Extent 2013 Obninsk Managing Uncertain Data at Scale
Extent 2013 Obninsk Managing Uncertain Data at ScaleExtent 2013 Obninsk Managing Uncertain Data at Scale
Extent 2013 Obninsk Managing Uncertain Data at Scale
 
Extent 2013 Obninsk LSE - The Focus Beyond Low Latency
Extent 2013 Obninsk  LSE - The Focus Beyond Low LatencyExtent 2013 Obninsk  LSE - The Focus Beyond Low Latency
Extent 2013 Obninsk LSE - The Focus Beyond Low Latency
 
Extent3 prognoz practical_approach_lppl_model_2012
Extent3 prognoz practical_approach_lppl_model_2012Extent3 prognoz practical_approach_lppl_model_2012
Extent3 prognoz practical_approach_lppl_model_2012
 
EXTENT-2015: Blockchain New Frontiers
EXTENT-2015: Blockchain New FrontiersEXTENT-2015: Blockchain New Frontiers
EXTENT-2015: Blockchain New Frontiers
 
EXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing AspectsEXTENT-2015: Reconciliation Testing Aspects
EXTENT-2015: Reconciliation Testing Aspects
 
EXTENT-2015: LSEG Technology Overview
EXTENT-2015: LSEG Technology Overview EXTENT-2015: LSEG Technology Overview
EXTENT-2015: LSEG Technology Overview
 
EXTENT-2016: Testing the Architecture
EXTENT-2016: Testing the ArchitectureEXTENT-2016: Testing the Architecture
EXTENT-2016: Testing the Architecture
 
EXTENT-2015: A Test Harness for Algo Trading Systems
EXTENT-2015: A Test Harness for Algo Trading Systems EXTENT-2015: A Test Harness for Algo Trading Systems
EXTENT-2015: A Test Harness for Algo Trading Systems
 
EXTENT-2015: Big Button 2.0
EXTENT-2015: Big Button 2.0EXTENT-2015: Big Button 2.0
EXTENT-2015: Big Button 2.0
 
EXTENT-2016: Industry Practices of Advanced Program Analysis
EXTENT-2016: Industry Practices of Advanced Program AnalysisEXTENT-2016: Industry Practices of Advanced Program Analysis
EXTENT-2016: Industry Practices of Advanced Program Analysis
 
EXTENT-2015: Millennium Surveillance™ – Achieving Excellence
EXTENT-2015: Millennium Surveillance™ –  Achieving ExcellenceEXTENT-2015: Millennium Surveillance™ –  Achieving Excellence
EXTENT-2015: Millennium Surveillance™ – Achieving Excellence
 
EXTENT-2015: UnaVista Technology 
EXTENT-2015: UnaVista Technology EXTENT-2015: UnaVista Technology 
EXTENT-2015: UnaVista Technology 
 

Similar to Extent 2013 Obninsk Cross-Asset Portfolio Margin Risk Calculation for HFT

EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds TradingEXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE
 
Distributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache PulsarDistributed Crypto-Currency Trading with Apache Pulsar
Distributed Crypto-Currency Trading with Apache Pulsar
Streamlio
 
Distributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache PulsarDistributed crypto-currency trading with Apache Pulsar
Distributed crypto-currency trading with Apache Pulsar
Data Con LA
 
20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework
Hu Kenneth
 
Capital Cube- Contextual Treasury fueled by Composable NextGen Tech
Capital Cube- Contextual Treasury fueled by Composable NextGen TechCapital Cube- Contextual Treasury fueled by Composable NextGen Tech
Capital Cube- Contextual Treasury fueled by Composable NextGen Tech
Intellect Design Arena .
 
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Amazon Web Services
 
Public ripple (payment protocol) for blockchain - Anil Nayak
Public ripple (payment protocol) for blockchain - Anil NayakPublic ripple (payment protocol) for blockchain - Anil Nayak
Public ripple (payment protocol) for blockchain - Anil Nayak
Anil Nayak
 
James Tomaney - Automated Testing for the ATM Channel
James Tomaney - Automated Testing for the ATM Channel James Tomaney - Automated Testing for the ATM Channel
James Tomaney - Automated Testing for the ATM Channel
TEST Huddle
 
Building Wall St Risk Systems with Apache Geode
Building Wall St Risk Systems with Apache GeodeBuilding Wall St Risk Systems with Apache Geode
Building Wall St Risk Systems with Apache Geode
Andre Langevin
 
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
PivotalOpenSourceHub
 
c-quilibrium R forecasting integration
c-quilibrium R forecasting integrationc-quilibrium R forecasting integration
c-quilibrium R forecasting integration
AE - architects for business and ict
 
Ankur Jain Resume
Ankur Jain ResumeAnkur Jain Resume
Ankur Jain Resume
Ankur Jain
 
Fixed Income Trading Platform Architecture
Fixed Income Trading Platform ArchitectureFixed Income Trading Platform Architecture
Fixed Income Trading Platform Architecture
Khader Shaik
 
Wall Street Derivative Risk Solutions Using Apache Geode
Wall Street Derivative Risk Solutions Using Apache GeodeWall Street Derivative Risk Solutions Using Apache Geode
Wall Street Derivative Risk Solutions Using Apache Geode
Andre Langevin
 
Wall Street Derivative Risk Solutions Using Geode
Wall Street Derivative Risk Solutions Using GeodeWall Street Derivative Risk Solutions Using Geode
Wall Street Derivative Risk Solutions Using Geode
VMware Tanzu
 
ATM BLock Diagram and its design uses development.pptx
ATM BLock Diagram and its design uses development.pptxATM BLock Diagram and its design uses development.pptx
ATM BLock Diagram and its design uses development.pptx
keerthi975
 
How to Create a Crypto Exchange Platform - Simplified Guide.pptx
How to Create a Crypto Exchange Platform - Simplified Guide.pptxHow to Create a Crypto Exchange Platform - Simplified Guide.pptx
How to Create a Crypto Exchange Platform - Simplified Guide.pptx
ChrisL55
 
Fixed Income Trading System Architecture
Fixed Income Trading System ArchitectureFixed Income Trading System Architecture
Fixed Income Trading System Architecture
Khader Shaik
 
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Simone Onofri
 
Ecnpit a&b book systems
Ecnpit a&b book systemsEcnpit a&b book systems
Ecnpit a&b book systems
Vishal Doshi
 

Similar to Extent 2013 Obninsk Cross-Asset Portfolio Margin Risk Calculation for HFT (20)

EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds TradingEXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
EXANTE Cross-Asset Portfolio Margin Risk Calculation for Hedge Funds Trading
 
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
 
20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework20180714 workshop - Ethereum decentralized application with truffle framework
20180714 workshop - Ethereum decentralized application with truffle framework
 
Capital Cube- Contextual Treasury fueled by Composable NextGen Tech
Capital Cube- Contextual Treasury fueled by Composable NextGen TechCapital Cube- Contextual Treasury fueled by Composable NextGen Tech
Capital Cube- Contextual Treasury fueled by Composable NextGen Tech
 
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
Transforming Consumer Banking with a 100% Cloud-Based Bank (FSV204) - AWS re:...
 
Public ripple (payment protocol) for blockchain - Anil Nayak
Public ripple (payment protocol) for blockchain - Anil NayakPublic ripple (payment protocol) for blockchain - Anil Nayak
Public ripple (payment protocol) for blockchain - Anil Nayak
 
James Tomaney - Automated Testing for the ATM Channel
James Tomaney - Automated Testing for the ATM Channel James Tomaney - Automated Testing for the ATM Channel
James Tomaney - Automated Testing for the ATM Channel
 
Building Wall St Risk Systems with Apache Geode
Building Wall St Risk Systems with Apache GeodeBuilding Wall St Risk Systems with Apache Geode
Building Wall St Risk Systems with Apache Geode
 
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
#GeodeSummit - Wall St. Derivative Risk Solutions Using Geode
 
c-quilibrium R forecasting integration
c-quilibrium R forecasting integrationc-quilibrium R forecasting integration
c-quilibrium R forecasting integration
 
Ankur Jain Resume
Ankur Jain ResumeAnkur Jain Resume
Ankur Jain Resume
 
Fixed Income Trading Platform Architecture
Fixed Income Trading Platform ArchitectureFixed Income Trading Platform Architecture
Fixed Income Trading Platform Architecture
 
Wall Street Derivative Risk Solutions Using Apache Geode
Wall Street Derivative Risk Solutions Using Apache GeodeWall Street Derivative Risk Solutions Using Apache Geode
Wall Street Derivative Risk Solutions Using Apache Geode
 
Wall Street Derivative Risk Solutions Using Geode
Wall Street Derivative Risk Solutions Using GeodeWall Street Derivative Risk Solutions Using Geode
Wall Street Derivative Risk Solutions Using Geode
 
ATM BLock Diagram and its design uses development.pptx
ATM BLock Diagram and its design uses development.pptxATM BLock Diagram and its design uses development.pptx
ATM BLock Diagram and its design uses development.pptx
 
How to Create a Crypto Exchange Platform - Simplified Guide.pptx
How to Create a Crypto Exchange Platform - Simplified Guide.pptxHow to Create a Crypto Exchange Platform - Simplified Guide.pptx
How to Create a Crypto Exchange Platform - Simplified Guide.pptx
 
Fixed Income Trading System Architecture
Fixed Income Trading System ArchitectureFixed Income Trading System Architecture
Fixed Income Trading System Architecture
 
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
 
Ecnpit a&b book systems
Ecnpit a&b book systemsEcnpit a&b book systems
Ecnpit a&b book systems
 

More from extentconf Tsoy

Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
extentconf Tsoy
 
Extent april2012-kostroma social-networks-socialmedia-trading
Extent april2012-kostroma social-networks-socialmedia-tradingExtent april2012-kostroma social-networks-socialmedia-trading
Extent april2012-kostroma social-networks-socialmedia-trading
extentconf Tsoy
 
Extent3 exactpro testing_of_hft_gui
Extent3 exactpro testing_of_hft_guiExtent3 exactpro testing_of_hft_gui
Extent3 exactpro testing_of_hft_gui
extentconf Tsoy
 
Extent3 turquoise equity_trading_2012
Extent3 turquoise equity_trading_2012Extent3 turquoise equity_trading_2012
Extent3 turquoise equity_trading_2012
extentconf Tsoy
 
Extent3 witology prediction_markets_2012
Extent3 witology prediction_markets_2012Extent3 witology prediction_markets_2012
Extent3 witology prediction_markets_2012
extentconf Tsoy
 
Extent3 exactpro the_next_step_in_reconciliation_testing
Extent3 exactpro the_next_step_in_reconciliation_testingExtent3 exactpro the_next_step_in_reconciliation_testing
Extent3 exactpro the_next_step_in_reconciliation_testing
extentconf Tsoy
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Models
extentconf Tsoy
 
The Simple Matter of Project Management
The Simple Matter of Project ManagementThe Simple Matter of Project Management
The Simple Matter of Project Management
extentconf Tsoy
 
Exchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
Exchange Simulators for SOR / Algo Testing: Advantages vs. ShortcomingsExchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
Exchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
extentconf Tsoy
 
Behavior Driven Development Pros and Cons
Behavior Driven Development Pros and ConsBehavior Driven Development Pros and Cons
Behavior Driven Development Pros and Cons
extentconf Tsoy
 
Virtualization Technology for Test Automation
Virtualization Technology for Test AutomationVirtualization Technology for Test Automation
Virtualization Technology for Test Automation
extentconf Tsoy
 
Cost of Quality How to Save Money
Cost of Quality How to Save MoneyCost of Quality How to Save Money
Cost of Quality How to Save Money
extentconf Tsoy
 
Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011
extentconf Tsoy
 
Technical Testing Introduction
Technical Testing IntroductionTechnical Testing Introduction
Technical Testing Introduction
extentconf Tsoy
 
Financial Instruments EXTENT February 2011
Financial Instruments EXTENT February 2011Financial Instruments EXTENT February 2011
Financial Instruments EXTENT February 2011
extentconf Tsoy
 
Liquidity Fragmentation & SOR
Liquidity Fragmentation & SORLiquidity Fragmentation & SOR
Liquidity Fragmentation & SOR
extentconf Tsoy
 

More from extentconf Tsoy (16)

Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
Extent 2013 Obninsk How a Great QA Team Can Make a Disproportionate Contribut...
 
Extent april2012-kostroma social-networks-socialmedia-trading
Extent april2012-kostroma social-networks-socialmedia-tradingExtent april2012-kostroma social-networks-socialmedia-trading
Extent april2012-kostroma social-networks-socialmedia-trading
 
Extent3 exactpro testing_of_hft_gui
Extent3 exactpro testing_of_hft_guiExtent3 exactpro testing_of_hft_gui
Extent3 exactpro testing_of_hft_gui
 
Extent3 turquoise equity_trading_2012
Extent3 turquoise equity_trading_2012Extent3 turquoise equity_trading_2012
Extent3 turquoise equity_trading_2012
 
Extent3 witology prediction_markets_2012
Extent3 witology prediction_markets_2012Extent3 witology prediction_markets_2012
Extent3 witology prediction_markets_2012
 
Extent3 exactpro the_next_step_in_reconciliation_testing
Extent3 exactpro the_next_step_in_reconciliation_testingExtent3 exactpro the_next_step_in_reconciliation_testing
Extent3 exactpro the_next_step_in_reconciliation_testing
 
Verification of Financial Models
Verification of Financial ModelsVerification of Financial Models
Verification of Financial Models
 
The Simple Matter of Project Management
The Simple Matter of Project ManagementThe Simple Matter of Project Management
The Simple Matter of Project Management
 
Exchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
Exchange Simulators for SOR / Algo Testing: Advantages vs. ShortcomingsExchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
Exchange Simulators for SOR / Algo Testing: Advantages vs. Shortcomings
 
Behavior Driven Development Pros and Cons
Behavior Driven Development Pros and ConsBehavior Driven Development Pros and Cons
Behavior Driven Development Pros and Cons
 
Virtualization Technology for Test Automation
Virtualization Technology for Test AutomationVirtualization Technology for Test Automation
Virtualization Technology for Test Automation
 
Cost of Quality How to Save Money
Cost of Quality How to Save MoneyCost of Quality How to Save Money
Cost of Quality How to Save Money
 
Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011Exactpro Test Tools EXTENT Feb 2011
Exactpro Test Tools EXTENT Feb 2011
 
Technical Testing Introduction
Technical Testing IntroductionTechnical Testing Introduction
Technical Testing Introduction
 
Financial Instruments EXTENT February 2011
Financial Instruments EXTENT February 2011Financial Instruments EXTENT February 2011
Financial Instruments EXTENT February 2011
 
Liquidity Fragmentation & SOR
Liquidity Fragmentation & SORLiquidity Fragmentation & SOR
Liquidity Fragmentation & SOR
 

Recently uploaded

A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 

Recently uploaded (20)

A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 

Extent 2013 Obninsk Cross-Asset Portfolio Margin Risk Calculation for HFT

  • 1. EXANTE CROSS-ASSET PORTFOLIO MARGIN RISK CALCULATION for HFT Sergey Troshin, PhD, Tech lead, Trading Platform February 2013
  • 2. Contents 1. Broker for algorithmic traders Internal architecture overview 2. Current risk scheme and its drawbacks Problems by design. Implementation problems. 3. Risk calculation and control proposal Cross-asset portfolio margin risk management in near real time mode. 2
  • 3. EXANTE platform • One client account for all products • Trading terminal for Win, Mac, Unix • FIX connection 3
  • 4. Presence in all major financial centres • 50+ Exchanges • 100K+ Instruments 4
  • 5. • 10+ data vendor gateways • 10+ execution gateways 5
  • 6. Parallel trading via many Gateways using one Account => Accurate risk control is needed 6
  • 9. Current Risks Pros: • Simple and extremely fast Gateway Cons: • Limits update are not fast enough because of heavy calculations on Back Office side • Orders data are encapsulated in Gateway • Portfolio Margin is not calculated • High BO=>RA traffic (symbols * accounts) • Gateway restart takes significant time • Possible inaccurate limits 9
  • 10. Risks Requirements • 100K symbols and 10K accounts • Fast risk calculation, updates and checks • Use orders data in risk processing • Portfolio margin calculation • Reasonable traffic (symbols + accounts) 10
  • 11. Risks Proposal SymbolLimit = FreeMoney * LeverageRate * CrossCourse / Price Definitions • MarginCoefficient = CrossCourse / Price (initial margin to open position with quantity set to 1 and leverage rate set as 1) Facts • Margin Coefficient doesn’t depend on account • LeverageRate is the same for many accounts • CrossCourse and Price can not change 11
  • 13. Free Money Account Margin = SUM(Asset Margin) + SUM(Cross-Asset Margin) Asset Margin = Quantity * LeverageRate * MarginCoefficient Cross-Asset Margin = SPAN-like algorithm for same underlying 13
  • 14. Improvements 1. Move free money calculation to Risk Agent. Orders synchronization is needed. 2. Compute free money using cross margining info 3. Use margin data in ATP 14
  • 15. Proposed risks Pros: • Gateway is still very fast(<1ms) • Orders are used in limits calculation • Portfolio Margin can be calculated in different ways • Cross margin data could be used • All limits and leverage rates could be overridden • Fast as light risk updates • Backup gateways Cons: 15
  • 16. www.exante.eu Questions? Sergey Troshin, PhD, Tech Lead (st@exante.eu) 16