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
Shannon
June 28, 2019
Technology
160
0
Share
Writing human readable tests using Scala
Shannon
June 28, 2019
More Decks by Shannon
See All by Shannon
Signify Bootcamp
signify
0
280
Event Sourcing Blockchains at TokenAnalyst
signify
0
150
The Last Frontier and Beyond
signify
0
150
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
97
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
400
Other Decks in Technology
See All in Technology
社内RAGの導入で気を付けたポイント
yakumo
1
130
JTCでRedmine利用者2700人を実現した手法 第二部
nobuonakamura
0
150
RedmineをAIで効率的に使う検証
yoshiokacb
0
170
[みん強]AIの価値を最大化するデータ基盤戦略:Self-Service型Data Meshへの転換とAgentic AI Meshに向けた取り組み with Snowflake他
y_matsubara
1
160
データ分析基盤の信頼を支える視点と設計
yuki_saito
0
130
20260516_SecJAWS_Days
takuyay0ne
2
540
Claude Code で使える DuckDB Skills を試してみた / DuckDB Skills and Claude Code
masahirokawahara
1
1.9k
GitHub Copilot CLI で考える複数エージェント設計
tomokusaba
0
150
AWS WAFの運用を地道に改善し、自社で運用可能にするプラクティス
andpad
1
640
ECSのTerraformモジュールにコントリビュートした話
harukasakihara
0
270
AIコーディングエージェントの活用で、コードは静かに肥大化した
yosukeshinoda
1
130
20260515 OpenIDファウンデーション・ジャパンご紹介
oidfj
0
260
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
800
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
360
Ethics towards AI in product and experience design
skipperchong
2
280
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
290
Code Review Best Practice
trishagee
74
20k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
250
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.1k
A designer walks into a library…
pauljervisheath
211
24k
Building Applications with DynamoDB
mza
96
7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
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!