Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

TriggerDirection

Conditional-order trigger direction.

Definition

class TriggerDirection(StrEnum):
    ABOVE = "above"
    BELOW = "below"

Fields

  • ABOVE — trigger when price >= trigger_price.
  • BELOW — trigger when price <= trigger_price.

Construction

from dango.utils.types import TriggerDirection
 
direction = TriggerDirection.ABOVE

Notes

  • Wire values are lowercase, not uppercase.

See also