def reset(self): #print('reset') self.index = data_interval-1 observation = self._get_observation() backtester = account.BackTesting() self.account = account.LocalAcount(backtester) return observation
def createAccount(self, account_type, username, pwd): self.account = account.LocalAcount(self) return self.account