Ejemplo n.º 1
0
 def __init__(self):
     """
     コンストラクタ
     :param periods:
     """
     BitMexStub.__init__(self, threading=False)
     self.enable_trade_log = False
     self.start_balance = self.get_balance()
Ejemplo n.º 2
0
 def __init__(self, account, pair):
     """
     constructor
     :account:
     :pair:
     :param periods:
     """
     BitMexStub.__init__(self, account, pair, threading=False)
     self.pair = pair
     self.enable_trade_log = False
     self.start_balance = self.get_balance()