tensortrade.feed.core.feed module¶
-
class
tensortrade.feed.core.feed.DataFeed(*args, **kwargs)[source]¶ Bases:
tensortrade.feed.core.base.StreamA stream the compiles together streams to be run in an organized manner.
- Parameters
streams (List[Stream]) – A list of streams to be used in the data feed.
-
compile() → None[source]¶ Compiles all the given stream together.
Organizes the order in which streams should be run to get valid output.
-
forward() → dict[source]¶ Generates the next value from the underlying data streams.
- Returns
T – The next value in the stream.