Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Trading at market speed with the latest Kafka features by Iñigo González at Big Data Spain


Published on

Not long ago only banks and hedge funds could afford doing automated and High Frequency Trading, that is, the ability to send buy commodities in microseconds intervals.

Big Data Spain 2017
November 16th - 17th Kinépolis Madrid

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Trading at market speed with the latest Kafka features by Iñigo González at Big Data Spain

  1. 1. Trading at market speed… …with the latest KAFKA features Íñigo González Ponce @exocert
  2. 2. Disclaimer • Very High risk • Don’t risk money you cannot afford to loose. • You’ll be exposed to markets with high volatility. • Software bugs might make you loose money 6/6Inversión de muy alto riesgo. Ud. Puede perder hasta la camisa por un error en su código.
  3. 3. Automated trading (late 80’s) The ability of trading in a market without continuous human intervention. You need: Something that watches the market Something able to execute orders based on your instructions.
  4. 4. High Frecuency trading Automated trading At milisecond speed Able to trade multiple exchanges at once *VERY* expensive to do: Software licenses for CEPs started at $10,000 for cpu core. - Now it’s different
  5. 5. HOW?
  6. 6. HOW to make money?
  7. 7. Meet the orderbook
  8. 8. The orderbook
  9. 9. The orderbook is a queue Think about a queue in a staircase. Every step is a bid/ask Price On every step you can have one or more orders in a queue. ORDERS are executed on a FIRST-COME- FIRST-SERVE basis.
  10. 10. Orderbook and Liquidity There is a STRONG incentive to be early in the orderbook… … because you’re the first in the line to execute your orders. BTW: Some markets have 0% comission for market MAKERS.
  11. 11. Strategy recap •Be early in the orderbook: send orders ASAP.
  12. 12. Example #1: Moving average
  13. 13. Example #2: Shotgun order
  14. 14. The big picture: What we need in the real world™ Get market data Store market data Replay market data Test strateg y Watch fror entry signals Watch for exit signals Execute trades Manage Risk Predict orderbo k change s
  15. 15. Thanks! Iñigo Gonzalez @exocert