Skip to main content

strategy.strategy_id_iterator

itertools

StrategyIDIterator Objects

class StrategyIDIterator()

__new__

def __new__(cls)

initialize

@classmethod
def initialize(cls, strategy_ids)

get_active_strategy_id

@classmethod
def get_active_strategy_id(cls)

set_active_strategy_id

@classmethod
def set_active_strategy_id(cls, strategy_key)

update_to_next_strategy

@classmethod
def update_to_next_strategy(cls)