Kraken: Fix websocket order updates (#1327)

* Kraken: Fix error on WS update without status

* Kraken: Fix parsing of WS updates without Desc

* Kraken: Fix WS market order handling

* Kraken: Fix tests in parallel using DataHandler

* WebsocketManager: Fix order summary printing

* Kraken: Fix parallel tests race with DataHandler

* Kraken: Issue a classification err on asset 404

* Kraken: Switch to testify and close fixture
This commit is contained in:
Gareth Kirwan
2023-09-05 04:22:34 +01:00
committed by GitHub
parent 052327343e
commit 253b9a5049
6 changed files with 563 additions and 576 deletions

View File

@@ -307,7 +307,7 @@ func (m *WebsocketRoutineManager) websocketDataHandler(exchName string, data int
if err != nil {
return err
}
m.printOrderSummary(d, true)
m.printOrderSummary(od, true)
}
case []order.Detail:
for x := range d {
@@ -330,7 +330,7 @@ func (m *WebsocketRoutineManager) websocketDataHandler(exchName string, data int
if err != nil {
return err
}
m.printOrderSummary(&d[x], true)
m.printOrderSummary(od, true)
}
}
case order.ClassificationError: