From 707a6507b55e3527203a8cb8ce3fdb4e651af7c7 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Sun, 2 Jan 2022 21:46:06 -0600 Subject: [PATCH] removed redundant todos --- freqtrade/exchange/gateio.py | 1 - freqtrade/exchange/kraken.py | 1 - freqtrade/exchange/okex.py | 1 - tests/strategy/strats/strategy_test_v3.py | 3 +-- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/freqtrade/exchange/gateio.py b/freqtrade/exchange/gateio.py index a445fd70a..720d96ae3 100644 --- a/freqtrade/exchange/gateio.py +++ b/freqtrade/exchange/gateio.py @@ -28,7 +28,6 @@ class Gateio(Exchange): _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ # TradingMode.SPOT always supported and not required in this list - # TODO-lev: Uncomment once supported # (TradingMode.MARGIN, Collateral.CROSS), # (TradingMode.FUTURES, Collateral.CROSS), # (TradingMode.FUTURES, Collateral.ISOLATED) diff --git a/freqtrade/exchange/kraken.py b/freqtrade/exchange/kraken.py index 40944d15b..f2e5e4476 100644 --- a/freqtrade/exchange/kraken.py +++ b/freqtrade/exchange/kraken.py @@ -27,7 +27,6 @@ class Kraken(Exchange): _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ # TradingMode.SPOT always supported and not required in this list - # TODO-lev: Uncomment once supported # (TradingMode.MARGIN, Collateral.CROSS), # (TradingMode.FUTURES, Collateral.CROSS) ] diff --git a/freqtrade/exchange/okex.py b/freqtrade/exchange/okex.py index 20e142824..137ce7e46 100644 --- a/freqtrade/exchange/okex.py +++ b/freqtrade/exchange/okex.py @@ -22,7 +22,6 @@ class Okex(Exchange): _supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [ # TradingMode.SPOT always supported and not required in this list - # TODO-lev: Uncomment once supported # (TradingMode.MARGIN, Collateral.CROSS), # (TradingMode.FUTURES, Collateral.CROSS), # (TradingMode.FUTURES, Collateral.ISOLATED) diff --git a/tests/strategy/strats/strategy_test_v3.py b/tests/strategy/strats/strategy_test_v3.py index 115211a7c..3125d3486 100644 --- a/tests/strategy/strats/strategy_test_v3.py +++ b/tests/strategy/strats/strategy_test_v3.py @@ -70,8 +70,7 @@ class StrategyTestV3(IStrategy): protection_enabled = BooleanParameter(default=True) protection_cooldown_lookback = IntParameter([0, 50], default=30) - # TODO-lev: Can we make this work with protection tests? - # TODO-lev: (Would replace HyperoptableStrategy implicitly ... ) + # TODO-lev: Can this work with protection tests? (replace HyperoptableStrategy implicitly ... ) # @property # def protections(self): # prot = []