v1.0.2 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: BSD-2-Clause Imports: 14 Imported by: 0


Orderbook Delta Feed

This example subscribes to markets:86:book:deltas and shows how to use the resulting feed in conjunction with the REST API. It is recommended to hit the REST API for a full order book snapshot in case of a lost message in the delta feed. To specify a different market use the flags --exchange and --pair.

main.go subscribes to changes in an order book and locally applies them to a full book, making it continuously mirror the full book of the market.

orderbook.go contains the order book type definition, accompanying methods and some pretty-print functions.


# build the example app
make orderbook

# run the app
./bin/orderbook --exchange=kraken --pair=btceur


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL