Skip to content

Built-in RollingWindow in Consolidators #8425

@AlexCatarino

Description

@AlexCatarino

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions