diff --git a/exchanges/binance/binance_wrapper.go b/exchanges/binance/binance_wrapper.go index 99f099cc..894dfd4d 100644 --- a/exchanges/binance/binance_wrapper.go +++ b/exchanges/binance/binance_wrapper.go @@ -1403,10 +1403,6 @@ func (b *Binance) GetOrderHistory(ctx context.Context, req *order.GetOrdersReque continue } - pair, err := currency.NewPairFromString(resp[i].Symbol) - if err != nil { - return nil, err - } orders = append(orders, order.Detail{ Amount: resp[i].OrigQty, Date: resp[i].Time, @@ -1415,7 +1411,7 @@ func (b *Binance) GetOrderHistory(ctx context.Context, req *order.GetOrdersReque Side: orderSide, Type: orderType, Price: resp[i].Price, - Pair: pair, + Pair: req.Pairs[x], Status: order.Status(resp[i].Status), }) }