Merge pull request #6254 from SmartManoj/patch-2
Spreadfilter log % fix
This commit is contained in:
commit
301b2e8a0f
@ -47,7 +47,7 @@ class SpreadFilter(IPairList):
|
|||||||
spread = 1 - ticker['bid'] / ticker['ask']
|
spread = 1 - ticker['bid'] / ticker['ask']
|
||||||
if spread > self._max_spread_ratio:
|
if spread > self._max_spread_ratio:
|
||||||
self.log_once(f"Removed {pair} from whitelist, because spread "
|
self.log_once(f"Removed {pair} from whitelist, because spread "
|
||||||
f"{spread * 100:.3%} > {self._max_spread_ratio:.3%}",
|
f"{spread:.3%} > {self._max_spread_ratio:.3%}",
|
||||||
logger.info)
|
logger.info)
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user