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

Uploaded on

EXANTE - "Cross-Asset Portfolio Margin Risk Calculation for HFT" …

EXANTE - "Cross-Asset Portfolio Margin Risk Calculation for HFT"

Sergey Troshin, PhD, Tech lead, Trading Platform

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. EXANTE CROSS-ASSET PORTFOLIO MARGIN RISK CALCULATION for HFT Sergey Troshin, PhD, Tech lead, Trading PlatformFebruary 2013
  • 2. Contents1. Broker for algorithmic traders Internal architecture overview2. 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
  • 7. Current Risks 7
  • 8. Current RisksInitial startupAfter each trade 8
  • 9. Current RisksPros:• Simple and extremely fast GatewayCons:• 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 ProposalSymbolLimit = FreeMoney * LeverageRate * CrossCourse / PriceDefinitions• 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
  • 12. Risks ProposalInitial startupTrade processing 12
  • 13. Free MoneyAccount Margin = SUM(Asset Margin) + SUM(Cross-Asset Margin)Asset Margin = Quantity * LeverageRate * MarginCoefficientCross-Asset Margin = SPAN-like algorithm for same underlying 13
  • 14. Improvements1. Move free money calculation to Risk Agent. Orders synchronization is needed.2. Compute free money using cross margining info3. Use margin data in ATP 14
  • 15. Proposed risksPros:• 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 gatewaysCons: 15
  • 16. www.exante.eu Questions?Sergey Troshin, PhD, Tech Lead (st@exante.eu) 16