mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
* Kraken - wsProcessOrderBook, the method was returning wrong bids data * additional map check to prevent panic * linter issue fix * The RPC method GetOrderbook has a race condition and causes panic - refactored and speed up * The method Retrieve (package orderbook) now return pointer of a copy of s.Books[exchange][p.Base.Item][p.Quote.Item][a].b * using extra var to optomize code * bids and asks slices filling optimisation Co-authored-by: Vazha Bezhanishvili <vazha.bezhanishvili@elegro.eu>