mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 23:16:54 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user