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

AssertionError: Continuous action space must have a finite lower and upper bound #36

Closed
D-forti opened this issue Feb 26, 2023 · 4 comments

Comments

@D-forti
Copy link

D-forti commented Feb 26, 2023

Model seems working fine, when I try model.learn, I get the error.

If I adjust upper and lower bound in the action space (low=-1e10, high=1e10) the model does not place any order.

@AminHP
Copy link
Owner

AminHP commented Mar 13, 2023

Does this fix (#30) work for you?

@D-forti
Copy link
Author

D-forti commented Mar 14, 2023

yes! Now it works! thanks!

@AminHP
Copy link
Owner

AminHP commented Mar 17, 2023

The PR has been merged into the main branch. Please install the latest version (v1.3.0).

@AminHP AminHP closed this as completed Mar 17, 2023
@D-forti
Copy link
Author

D-forti commented Mar 18, 2023

Yes, it is working well now, however, I am struggling a lot to find a way to train an agent using RL for an intraday trading bot...

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