class_docstr: A stream that generates a rolling window of values from a stream.
  
  Parameters
  ----------
  window : int
      The size of the rolling window.
  min_periods : int, default 1
      The number of periods to wait before producing values from the aggregation
      function.
code: def forward(self) -> "List[float]":
      node = self.inputs[0]
  
      self.n += 1
      self.nan += int(node.value != node.value)
  
      self.history.insert(0, node.value)
  
      if len(self.history) > self.window:
          self.history.pop()
      return self.history
  
imports: from typing import List, Callable
  import numpy
  from tensortrade.feed.core.base import Stream
  from tensortrade.feed.api.float import Float
label_desc: Use image node_id 2 for calling the Rolling obj's underlying member method code with example usage: obj.forward() and returns: self