Esempio n. 1
0
 def run(self, klines, bid_price, ask_price, avg_price):
     StrategyBase.run(self, klines, bid_price, ask_price, avg_price)
Esempio 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)