mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 23:16:54 +00:00
Kraken: Fix websocket open orders orderType parsing (#1285)
This commit is contained in:
@@ -571,7 +571,7 @@ func (k *Kraken) wsProcessOpenOrders(ownOrders interface{}) error {
|
||||
if strings.Contains(val.Description.Order, "sell") {
|
||||
oSide = order.Sell
|
||||
}
|
||||
oType, err := order.StringToOrderType(val.Description.Type)
|
||||
oType, err := order.StringToOrderType(val.Description.OrderType)
|
||||
if err != nil {
|
||||
k.Websocket.DataHandler <- order.ClassificationError{
|
||||
Exchange: k.Name,
|
||||
|
||||
Reference in New Issue
Block a user