initial concept for replicate, basic leader and follower logic
This commit is contained in:
@@ -5,6 +5,7 @@ from freqtrade.enums.exitchecktuple import ExitCheckTuple
|
||||
from freqtrade.enums.exittype import ExitType
|
||||
from freqtrade.enums.marginmode import MarginMode
|
||||
from freqtrade.enums.ordertypevalue import OrderTypeValues
|
||||
from freqtrade.enums.replicate import LeaderMessageType, ReplicateModeType
|
||||
from freqtrade.enums.rpcmessagetype import RPCMessageType
|
||||
from freqtrade.enums.runmode import NON_UTIL_MODES, OPTIMIZE_MODES, TRADING_MODES, RunMode
|
||||
from freqtrade.enums.signaltype import SignalDirection, SignalTagType, SignalType
|
||||
|
11
freqtrade/enums/replicate.py
Normal file
11
freqtrade/enums/replicate.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class ReplicateModeType(str, Enum):
|
||||
leader = "leader"
|
||||
follower = "follower"
|
||||
|
||||
|
||||
class LeaderMessageType(str, Enum):
|
||||
Pairlist = "pairlist"
|
||||
Dataframe = "dataframe"
|
@@ -19,6 +19,8 @@ class RPCMessageType(Enum):
|
||||
|
||||
STRATEGY_MSG = 'strategy_msg'
|
||||
|
||||
EMIT_DATA = 'emit_data'
|
||||
|
||||
def __repr__(self):
|
||||
return self.value
|
||||
|
||||
|
Reference in New Issue
Block a user