I'm putting together a simple implementation that uses the SortedDictionary of Asks and Bids for Websockets (I guess it would work for REST too). I think this is consistent across all exchanges so I can contribute it but it seems like something that might already exist.
Kraken provides Checksum functionality to test your book hasn't gotten out of sync, not sure if others do this but ES doesn't currently expose this at all so I'd at least ad support in ExchangeOrderBook. Other than that it's basically just merging dictionaries.
I'm putting together a simple implementation that uses the
SortedDictionaryof Asks and Bids for Websockets (I guess it would work for REST too). I think this is consistent across all exchanges so I can contribute it but it seems like something that might already exist.Kraken provides Checksum functionality to test your book hasn't gotten out of sync, not sure if others do this but ES doesn't currently expose this at all so I'd at least ad support in
ExchangeOrderBook. Other than that it's basically just merging dictionaries.