Update strategy_version to INTERFACE_VERSION
This commit is contained in:
@@ -13,7 +13,7 @@ class DefaultStrategy(IStrategy):
|
||||
Default Strategy provided by freqtrade bot.
|
||||
You can override it with your own strategy
|
||||
"""
|
||||
strategy_version: int = 2
|
||||
INTERFACE_VERSION = 2
|
||||
|
||||
# Minimal ROI designed for the strategy
|
||||
minimal_roi = {
|
||||
|
@@ -62,9 +62,9 @@ class IStrategy(ABC):
|
||||
"""
|
||||
# Strategy interface version
|
||||
# Default to version 2
|
||||
# version 1 is the initial interface without metadata dict
|
||||
# Version 1 is the initial interface without metadata dict
|
||||
# Version 2 populate_* include metadata dict
|
||||
strategy_version: int = 2
|
||||
INTERFACE_VERSION: int = 2
|
||||
|
||||
_populate_fun_len: int = 0
|
||||
_buy_fun_len: int = 0
|
||||
|
Reference in New Issue
Block a user