📅  最后修改于: 2022-03-11 14:58:39.752000             🧑  作者: Mango
env = MyTGym(episode_type='0', percent_goal_profit=2, percent_stop_loss=5, episode_duration_min=60) # set env.
state = env.reset() # initiate env and get state
next_state, reward, done, info = env.step(action) # Do action and get next step information