tensortrade.feed.api.generic.warmup module¶
warmup.py contains classes for warm up stream operations.
-
class
tensortrade.feed.api.generic.warmup.WarmUp(*args, **kwargs)[source]¶ Bases:
tensortrade.feed.core.base.StreamA stream operator for warming up a given stream.
- Parameters
periods (int) – Number of periods to warm up.
-
forward() → T[source]¶ Generates the next value from the underlying data streams.
- Returns
T – The next value in the stream.