Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Writing human readable tests using Scala

Shannon
June 28, 2019

Writing human readable tests using Scala

Shannon

June 28, 2019
Tweet

More Decks by Shannon

Other Decks in Technology

Transcript

  1. Agenda Market book Introduction to an order book & OMS

    Our demouse case Challenges Live coding Q&A
  2. Introduction to an OMS Order Management System Exchange 1 WS

    API Exchange n REST API Exchange 1 REST API Exchange n FIX API . . . . . . Orders Orders Market Reports Market Data
  3. OMS-123: Making money with arbitrage ASK: 1 BTC = 7900

    USD Get 1.27 BTC ASK: 1 ETH = 0.03 BTC Get 42.33 ETH BID: 1 ETH = 250 USD Get 10582.5 USD Start with 10000 USD
  4. Challenges • Integration: Different APIs • Exchange reference data: min

    quantity, price rounding… • Trading logic: Do not buy 100000 BTC, Fills / Partial fills / Rejection… • External problems: Network failures, Market shutting down...
  5. Glossary • Ask: Price at which we buy • Bid:

    Price at which we sell • Order: What we want to execute in the market (bid/ask, quantity, currency pair, etc) • Market Report: What the market actually executed out of our Order (execution confirmation, rejection, etc)
  6. Q&A