strategy.strategies.troubleshoot_close_positions.models
Enum
List
UUID
Chain
Network
Protocol
InternalFlowStatus
PersistentStateBase
StrategyConfigBase
State Objects
class State(Enum)
Enum representing the state of the strategy.
INITIALIZATION
CHECK_POSITIONS
CLOSE_POSITION
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
current_flowstatus
current_actions
sadflow_counter
sadflow_actions
not_included_counter
position_to_close
StrategyConfig Objects
class StrategyConfig(StrategyConfigBase)