bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
309 stars 220 forks source link

Expose local orderbook #156

Closed JacobPlaster closed 5 years ago

JacobPlaster commented 5 years ago

Exposes functions to allow the consumer to access the locally managed orderbook using the functions orderbook.Asks() and orderbook.Bids(). The book orders are de-referenced so the consumer is not able to accidentally change the values which would cause for the book to become out of sync and force a crc32 chekcsum invalidation reconnection.