def load_bar(self, days: int, interval: Interval=Interval.MINUTE, callback: Callable=None, interval_num: int=1):
    '\n        Load historical bar data for initializing strategy.\n        '
    if (not callback):
        callback = self.on_bar
    self.cta_engine.load_bar(self.vt_symbol, days, interval, callback, interval_num)
Load historical bar data for initializing strategy.
def load_bar(self, days: int, interval: Interval=Interval.MINUTE, callback: Callable=None, interval_num: int=1):
    '\n        \n        '
    if (not callback):
        callback = self.on_bar
    self.cta_engine.load_bar(self.vt_symbol, days, interval, callback, interval_num)