Ejemplo n.º 1
0
 def run(self, klines, bid_price, ask_price, avg_price):
     StrategyBase.run(self, klines, bid_price, ask_price, avg_price)
Ejemplo n.º 2
0
 def run(self, klines, bid_price, ask_price, avg_price):
     if (self.run_flag == False):
         return
     StrategyBase.run(self, klines, bid_price, ask_price, avg_price)
     self.on_bar(klines)