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

Built-in RollingWindow in Consolidators #8425

Open
4 tasks done
AlexCatarino opened this issue Nov 22, 2024 · 0 comments
Open
4 tasks done

Built-in RollingWindow in Consolidators #8425

AlexCatarino opened this issue Nov 22, 2024 · 0 comments

Comments

@AlexCatarino
Copy link
Member

Expected Behavior

Consolidators have a built-in rolling window as Indicators.

self.ten_minute_trade = TradeBarConsolidator(10)
previous = self.ten_minute_trade[1]
self.ten_minute_trade.window.size = 10
first_in_range = self.ten_minute_trade[9]

Actual Behavior

Not supported.

Potential Solution

See #7314

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants