Skip to content

Order Status

Order Status is an enum that represents the status of an order.

Usage

You would normally not need to use it directly.

Structure

class OrderStatus(Enum):
"""
Enum for order status.
"""
CREATED = "created"
PENDING = "pending"
FILLED = "filled"
CANCELLED = "cancelled"
REJECTED = "rejected"
EXPIRED = "expired"
FAILED = "failed"
UNKNOWN = "unknown"