Skip to main content

Installation

Add Havklo to your Cargo.toml:

Stream Your First Orderbook

1

Create the Client

Use the builder pattern to configure your connection:
2

Query Market Data

Access orderbook state at any time:
3

Run It

Output:

Process Events

For reactive processing, consume the event stream:
The SDK automatically validates CRC32 checksums on every update. If a mismatch is detected, it resyncs the orderbook transparently.

What’s Next?

Architecture

Understand how Havklo is structured

Multi-Symbol

Track multiple trading pairs

Browser / WASM

Run the orderbook in WebAssembly

L3 Orderbook

Track individual orders with queue position