Always update ohlc (main source chart) on `trigger_all=True`
							parent
							
								
									ef8e71f628
								
							
						
					
					
						commit
						4a383795bf
					
				| 
						 | 
					@ -398,9 +398,11 @@ def graphics_update_cycle(
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (
 | 
					            if (
 | 
				
			||||||
                (xpx < update_uppx or i_diff > 0)
 | 
					                (
 | 
				
			||||||
 | 
					                    xpx < update_uppx or i_diff > 0
 | 
				
			||||||
 | 
					                    and liv
 | 
				
			||||||
 | 
					                )
 | 
				
			||||||
                or trigger_all
 | 
					                or trigger_all
 | 
				
			||||||
                and liv
 | 
					 | 
				
			||||||
            ):
 | 
					            ):
 | 
				
			||||||
                # TODO: make it so this doesn't have to be called
 | 
					                # TODO: make it so this doesn't have to be called
 | 
				
			||||||
                # once the $vlm is up?
 | 
					                # once the $vlm is up?
 | 
				
			||||||
| 
						 | 
					@ -494,6 +496,7 @@ def graphics_update_cycle(
 | 
				
			||||||
        if (
 | 
					        if (
 | 
				
			||||||
            xpx < update_uppx
 | 
					            xpx < update_uppx
 | 
				
			||||||
            or i_diff > 0
 | 
					            or i_diff > 0
 | 
				
			||||||
 | 
					            or trigger_all
 | 
				
			||||||
        ):
 | 
					        ):
 | 
				
			||||||
            chart.update_graphics_from_array(
 | 
					            chart.update_graphics_from_array(
 | 
				
			||||||
                chart.name,
 | 
					                chart.name,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue