Files
gocryptotrader/engine
Vazha 73ac8b90dc Orderbook/RPCServer: Fix GetOrderbook/Retrieve race condition (refactored and sped up) (#555)
* 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>
2020-09-18 15:09:41 +10:00
..
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2020-07-24 13:18:09 +10:00
2019-11-22 16:07:30 +11:00
2020-07-24 13:18:09 +10:00
2019-05-22 17:06:38 +10:00
2020-07-24 13:18:09 +10:00