UpdatedUniverseResult#

API documentation for tradeexecutor.strategy.pandas_trader.decision_trigger.UpdatedUniverseResult Python class in Trading Strategy framework.

class UpdatedUniverseResult[source]#

Bases: object

Describe the result of universe waiting operation.

__init__(updated_universe, ready_at, time_waited, poll_cycles, max_diff)#
Parameters:
Return type:

None

Methods

__init__(updated_universe, ready_at, ...)

Attributes

updated_universe

Trading Universe with updated candles

ready_at

When we finished waiting

time_waited

How long we waited

poll_cycles

How many cycles we did waiting

max_diff

Maximum difference between timestamp and last available candle.

updated_universe: TradingStrategyUniverse#

Trading Universe with updated candles

ready_at: datetime#

When we finished waiting

time_waited: timedelta#

How long we waited

poll_cycles: int#

How many cycles we did waiting

max_diff: Optional[datetime]#

Maximum difference between timestamp and last available candle.

None if there was no poll cycles

__init__(updated_universe, ready_at, time_waited, poll_cycles, max_diff)#
Parameters:
Return type:

None