orderbook/gateio: add field UpdatePushedAt and InsertedAt for specific websocket updates (#1590)

* Add in extra field for colocation monitoring

* rm tags

* populate through gateio orderbooks

* populate through incremental updates

* Add insert at field for orderbook depth

* I AM A BAD SPELLLLLLA

* add it in

* c change

---------

Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io>
This commit is contained in:
Ryan O'Hara-Reid
2024-08-15 16:11:22 +10:00
committed by GitHub
parent b602d54bbe
commit 91ff6c5c12
12 changed files with 103 additions and 66 deletions

View File

@@ -337,6 +337,7 @@ func (w *Orderbook) LoadSnapshot(book *orderbook.Base) error {
book.Asks,
book.LastUpdateID,
book.LastUpdated,
book.UpdatePushedAt,
false)
if err != nil {
return err