📜  用于机器学习的 terading 健身房 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:39.752000             🧑  作者: Mango

代码示例1
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