From d811a73ec08a95350dd9d3dde3aa86623707478f Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Wed, 8 Sep 2021 00:20:40 -0600 Subject: [PATCH] new rpc message types --- freqtrade/enums/rpcmessagetype.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/freqtrade/enums/rpcmessagetype.py b/freqtrade/enums/rpcmessagetype.py index 9c59f6108..34b826ec9 100644 --- a/freqtrade/enums/rpcmessagetype.py +++ b/freqtrade/enums/rpcmessagetype.py @@ -5,13 +5,23 @@ class RPCMessageType(Enum): STATUS = 'status' WARNING = 'warning' STARTUP = 'startup' + BUY = 'buy' BUY_FILL = 'buy_fill' BUY_CANCEL = 'buy_cancel' + SELL = 'sell' SELL_FILL = 'sell_fill' 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): return self.value