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

Justify IntradayObserver #414

Open
abstractguy opened this issue Feb 28, 2022 · 1 comment
Open

Justify IntradayObserver #414

abstractguy opened this issue Feb 28, 2022 · 1 comment

Comments

@abstractguy
Copy link
Contributor

Justify IntradayObserver or remove from code (daily timesteps also work using the default observer)

@Haakam21
Copy link
Contributor

Haakam21 commented Apr 4, 2022

When using intraday data (minute, hourly, etc) and the default observer, the agent can hold overnight, during which equities experience large price swings. These price swings introduce significant noise into the reward function, preventing the agent from learning useful intraday strategies.

The IntradayOberserver prevents holding overnight by resetting for every trading day (each trading day is an episode).

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