Always update ohlc (main source chart) on `trigger_all=True`

l1_precision_fix
Tyler Goodlet 2022-04-16 18:32:36 -04:00
parent ab8629aa11
commit d4e0d4463f
1 changed files with 5 additions and 2 deletions

View File

@ -398,9 +398,11 @@ def graphics_update_cycle(
)
if (
(xpx < update_uppx or i_diff > 0)
or trigger_all
(
xpx < update_uppx or i_diff > 0
and liv
)
or trigger_all
):
# TODO: make it so this doesn't have to be called
# once the $vlm is up?
@ -494,6 +496,7 @@ def graphics_update_cycle(
if (
xpx < update_uppx
or i_diff > 0
or trigger_all
):
chart.update_graphics_from_array(
chart.name,