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