Skip to main content

EntityPhase

What kind of state an EntityStatus.state is, independent of the entity's own state vocabulary. The console animates only IN_PROGRESS, so a healthy running bot (STEADY) no longer draws like a backtest in flight (IN_PROGRESS).

enum EntityPhase {
IN_PROGRESS
STEADY
ATTENTION
TERMINAL
FAILED
}

Values​

EntityPhase.IN_PROGRESS​

Work that resolves by itself: queued, provisioning, a task in flight.

EntityPhase.STEADY​

Continues until something changes it: a running bot, a connected exchange.

EntityPhase.ATTENTION​

Working but degraded, or waiting on the user.

EntityPhase.TERMINAL​

Finished, and not a failure: completed, cancelled, done.

EntityPhase.FAILED​

An error outcome.

Member Of​

EntityStatus object