Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Writing human readable tests using Scala
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shannon
June 28, 2019
Technology
0
150
Writing human readable tests using Scala
Shannon
June 28, 2019
Tweet
Share
More Decks by Shannon
See All by Shannon
Signify Bootcamp
signify
0
270
Event Sourcing Blockchains at TokenAnalyst
signify
0
150
The Last Frontier and Beyond
signify
0
140
Jon Pither
signify
0
250
How to write like Cats
signify
0
250
Kubernetes as a Streaming Data Platform with Kafka, Spark, and Scala
signify
0
92
Making Contracts Smart, Secure and Functional with DAML and Scala
signify
0
130
Ansible and Scala Projects
signify
0
290
Automatic differentiation in Scala by Xiayun Sun
signify
0
390
Other Decks in Technology
See All in Technology
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
1
360
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
330
GCASアップデート(202510-202601)
techniczna
0
240
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
400
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
4
670
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
210
AIとともに歩む情報セキュリティ / Information Security with AI
kanny
4
3k
Kubecon NA 2025: DRA 関連の Recap と社内 GPU 基盤での課題
kevin_namba
0
110
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
250
3分でわかる!新機能 AWS Transform custom
sato4mi
1
300
DEVCON 14 Report at AAMSX RU65: V9968, MSX0tab5, MSXDIY etc
mcd500
0
240
【NGK2026S】日本株のシステムトレードに入門してみた
kazuhitotakahashi
0
280
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Utilizing Notion as your number one productivity tool
mfonobong
2
210
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
100k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
RailsConf 2023
tenderlove
30
1.3k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
310
Designing for humans not robots
tammielis
254
26k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Are puppies a ranking factor?
jonoalderson
1
2.7k
Transcript
Cryptocurrency algo-trading testing in Scala by Bruno Bonanno
A set of green tests doesn’t necessarily means that the
software does what is supposed to.
Hello! I’m Bruno Bonanno Passionate developer, open source contributor, TDD
evangelist and creator of mockito-scala.
Agenda Market book Introduction to an order book & OMS
Our demouse case Challenges Live coding Q&A
Market book BIDS ASKS
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
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
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...
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)
None
Q&A
https://github.com/bbonanno/crypto-algo-trading-demo-test Thank you!