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

No method "render()" in environment #426

Open
VladislavKravitski4888 opened this issue Oct 20, 2024 · 3 comments
Open

No method "render()" in environment #426

VladislavKravitski4888 opened this issue Oct 20, 2024 · 3 comments

Comments

@VladislavKravitski4888
Copy link

Hello,

in the examples/demo_FinRL_ElegantRL_China_A_shares.py is StockTradingEnv using. In the line 607 the method env.render() is called, but there is no method named "render()" in this environment. This is why you get an error running this script. Could you please fix or describe, what should be done at this place.

Thank you very much!

@hanggezhuai
Copy link

i have the same problem

@hanggezhuai
Copy link

it seems the author use a special ruler

@VladislavKravitski4888
Copy link
Author

env.render() seems to have the aim to visualize the environment, but not implemented yet. In the example it shouldn't be that important. You can switch it off by setting if_render=False in the line 705.

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