vnpy_portfoliostrategy/utility.py
def update_bars(self, bars: Dict[str, BarData]) -> None:
        """
        Update 1 minute bars into generator
        """
        if self.interval == Interval.MINUTE:
            self.update_bar_minute_window(bars)
        else:
            self.update_bar_hour_window(bars)

        Update 1 minute bars into generator
        
Update 1 minute bars into generator
Update 1 minute bars into generator
def update_bars(self, bars: Dict[str, BarData]) -> None:
        if self.interval == Interval.MINUTE:
            self.update_bar_minute_window(bars)
        else:
            self.update_bar_hour_window(bars)
def update_bars ( self , bars : Dict [ str , BarData ] ) -> None : if self . interval == Interval . MINUTE : self . update_bar_minute_window ( bars ) else : self . update_bar_hour_window ( bars )
Update 1 minute bars into generator
Update 1 minute bars into generator
"""
        Update 1 minute bars into generator
        """
self
bars
Dict[str, BarData]