diff --git a/pkg/exchange/max/convert.go b/pkg/exchange/max/convert.go index 2a6f9707d..e099126a3 100644 --- a/pkg/exchange/max/convert.go +++ b/pkg/exchange/max/convert.go @@ -150,6 +150,9 @@ func toLocalOrderType(orderType types.OrderType) (max.OrderType, error) { case types.OrderTypeMarket: return max.OrderTypeMarket, nil + + case types.OrderTypeIOCLimit: + return max.OrderTypeIOCLimit, nil } return "", fmt.Errorf("order type %s not supported", orderType)