Files
spark/src/lib_python_interop/python_interop_plugins/spark_enums.py
T
John Colvin 968d33adb6 refactor: Manage all py plugins (md and exe) in one class
All calls to/from python are performed on one thread via a simple
message queue (necessary because of the global interpreter lock).
2025-06-09 06:33:29 +00:00

20 lines
279 B
Python

from enum import Enum
class OrderStatus(Enum):
NEW = 1
PENDING_NEW = 2
PARTIALLY_FILLED = 3
FILLED = 4
CANCELED = 5
REJECTED = 6
class ExecType(Enum):
NEW = 1
PENDING_NEW = 2
PARTIAL_FILL = 3
FILL = 4
CANCELED = 5
REJECTED = 6