INTERFACE_VERSION to 3

This commit is contained in:
Matthias
2022-03-05 14:26:18 +01:00
parent ee77ae3ada
commit 72fd937a74
6 changed files with 7 additions and 5 deletions

View File

@@ -62,7 +62,8 @@ class IStrategy(ABC, HyperStrategyMixin):
# Default to version 2
# Version 1 is the initial interface without metadata dict
# Version 2 populate_* include metadata dict
INTERFACE_VERSION: int = 2
# Version 3 - First version with short and leverage support
INTERFACE_VERSION: int = 3
_populate_fun_len: int = 0
_buy_fun_len: int = 0