diff --git a/pkg/exchange/max/stream.go b/pkg/exchange/max/stream.go index 12a9ae32f..766562ecf 100644 --- a/pkg/exchange/max/stream.go +++ b/pkg/exchange/max/stream.go @@ -91,7 +91,7 @@ func (s *Stream) handleConnect() { if len(sub.Options.Depth) > 0 { switch sub.Options.Depth { case types.DepthLevelFull: - depth = 0 + depth = 50 case types.DepthLevelMedium: depth = 20 @@ -102,6 +102,9 @@ func (s *Stream) handleConnect() { case types.DepthLevel5: depth = 5 + default: + depth = 20 + } }