Skip to main content

strategy.strategies.tutorial_hello_world.models

Enum

Chain

Network

Protocol

PersistentStateBase

StrategyConfigBase

State Objects

class State(Enum)

Enum representing the state of the strategy.

INITIALIZATION

DISPLAY_MESSAGE

COMPLETED

A "Cycle" is completed in between Checks for Rebalance

TEARDOWN

TERMINATED

The Strategy is terminated (manual intervention required)

SubState Objects

class SubState(Enum)

Enum representing the substates of some of the strategy states. A state machine within a state machine.

NO_SUBSTATE

PersistentState Objects

class PersistentState(PersistentStateBase)

current_state

current_substate

last_message

StrategyConfig Objects

class StrategyConfig(StrategyConfigBase)

id

network

chain

protocol

initiate_teardown

pause_strategy

message