Merge pull request #6334 from samgermain/todo

Removed PrecisionFilter liquidation price TODO-lev
This commit is contained in:
Matthias 2022-01-31 19:09:07 +01:00 committed by GitHub
commit f10ef7f2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,6 @@ class PrecisionFilter(IPairList):
pairlist_pos: int) -> None: pairlist_pos: int) -> None:
super().__init__(exchange, pairlistmanager, config, pairlistconfig, pairlist_pos) super().__init__(exchange, pairlistmanager, config, pairlistconfig, pairlist_pos)
# TODO-lev: Liquidation price?
if 'stoploss' not in self._config: if 'stoploss' not in self._config:
raise OperationalException( raise OperationalException(
'PrecisionFilter can only work with stoploss defined. Please add the ' 'PrecisionFilter can only work with stoploss defined. Please add the '