Handle null output case for vlm chart mxmn
parent
d4e26c1a26
commit
f68b8c5987
|
@ -104,7 +104,9 @@ def chart_maxmin(
|
|||
|
||||
mx_vlm_in_view = 0
|
||||
if vlm_chart:
|
||||
_, mx_vlm_in_view = vlm_chart.maxmin()
|
||||
out = vlm_chart.maxmin()
|
||||
if out:
|
||||
_, mx_vlm_in_view = out
|
||||
|
||||
return (
|
||||
last_bars_range,
|
||||
|
|
Loading…
Reference in New Issue