Kraken: Fix websocket open orders orderType parsing (#1285)

This commit is contained in:
Gareth Kirwan
2023-07-28 04:16:11 +01:00
committed by GitHub
parent 4dd3008fd4
commit c5a1a88292

View File

@@ -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,