Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action_type claimed to be discrete but is a BOX #7

Open
ppanteliadis opened this issue Jan 10, 2020 · 1 comment
Open

action_type claimed to be discrete but is a BOX #7

ppanteliadis opened this issue Jan 10, 2020 · 1 comment

Comments

@ppanteliadis
Copy link

ppanteliadis commented Jan 10, 2020

If you are claiming a Discrete action space, I would expect something like

if action_type == 1: #BUY
elif action_type ==2: #SELL
else: # HOLD

Why the action_type is a float? I'm new in to gym environments. so maybe this is more of a question

@596227421
Copy link

If you are claiming a Discrete action space, I would expect something like

if action_type == 1: #BUY
elif action_type ==2: #SELL
else: # HOLD

Why the action_type is a float? I'm new in to gym environments. so maybe this is more of a question

如果您要声明一个离散动作空间,我会期望类似

if action_type == 1: #BUY
elif action_type ==2: #SELL
else: # HOLD

为什么 action_type 是浮点数?我是健身房环境的新手。所以也许这更像是一个问题


action_type == 0:#BUY
action_type == 1:#SELL
action_type == 2:#HOLD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants