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).
This commit is contained in:
1 parent
c7db105533
commit
8c23665d65
29 files changed
+855
-602
No files matched your search
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in new issue
Block a user