Make mypy happy

This commit is contained in:
hroff-1902 2019-12-28 02:58:23 +03:00
parent ef92fd775c
commit ed9cb4219d

View File

@ -209,6 +209,7 @@ class FreqtradeBot:
Calculate stake amount for the trade
:return: float: Stake amount
"""
stake_amount: Optional[float]
if self.edge:
stake_amount = self.edge.stake_amount(
pair,