mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Make mypy happy
This commit is contained in:
parent
ef92fd775c
commit
ed9cb4219d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user