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

Polygon day fix #446

Open
wants to merge 80 commits into
base: dev
Choose a base branch
from
Open

Polygon day fix #446

wants to merge 80 commits into from

Conversation

Canx
Copy link
Collaborator

@Canx Canx commented May 10, 2024

This fixes day polygon backtesting.

Adds and optional timestep parameter to PolygonDataBacktesting datasource that can be "minute" (default) or "day".
This parameter also can be added to backtest Strategy method:

old style:

strategy.backtest(...,timestep="day")

new style:

data_source = PolygonDataBacktesting(..., timestep="day")

Canx and others added 30 commits May 3, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants