def __init__(self): """ コンストラクタ :param periods: """ BitMexStub.__init__(self, threading=False) self.enable_trade_log = False self.start_balance = self.get_balance()
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()