new rpc message types
This commit is contained in:
parent
f8248f3771
commit
d811a73ec0
@ -5,13 +5,23 @@ class RPCMessageType(Enum):
|
|||||||
STATUS = 'status'
|
STATUS = 'status'
|
||||||
WARNING = 'warning'
|
WARNING = 'warning'
|
||||||
STARTUP = 'startup'
|
STARTUP = 'startup'
|
||||||
|
|
||||||
BUY = 'buy'
|
BUY = 'buy'
|
||||||
BUY_FILL = 'buy_fill'
|
BUY_FILL = 'buy_fill'
|
||||||
BUY_CANCEL = 'buy_cancel'
|
BUY_CANCEL = 'buy_cancel'
|
||||||
|
|
||||||
SELL = 'sell'
|
SELL = 'sell'
|
||||||
SELL_FILL = 'sell_fill'
|
SELL_FILL = 'sell_fill'
|
||||||
SELL_CANCEL = 'sell_cancel'
|
SELL_CANCEL = 'sell_cancel'
|
||||||
|
|
||||||
|
SHORT = 'short'
|
||||||
|
SHORT_FILL = 'short_fill'
|
||||||
|
SHORT_CANCEL = 'short_cancel'
|
||||||
|
|
||||||
|
EXIT_SHORT = 'exit_short'
|
||||||
|
EXIT_SHORT_FILL = 'exit_short_fill'
|
||||||
|
EXIT_SHORT_CANCEL = 'exit_short_cancel'
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user