Flake8 compatibility

This commit is contained in:
Reigo Reinmets
2021-12-18 11:00:25 +02:00
parent cc28f73d7f
commit 30673f84f9
5 changed files with 22 additions and 33 deletions

View File

@@ -8,6 +8,7 @@ from freqtrade.strategy.interface import IStrategy
from freqtrade.persistence import Trade
from datetime import datetime
class StrategyTestV2(IStrategy):
"""
Strategy used by tests freqtrade bot.
@@ -163,7 +164,7 @@ class StrategyTestV2(IStrategy):
for order in trade.orders:
if order.ft_is_open:
return None
return self.wallets.get_trade_stake_amount(pair, None)
return None