froggleston/freqtrade_analysis_notebook

FUTURES can be used when not shorting

vaidab opened this issue · 1 comments

vaidab commented

I see this condition:

if short:
trading_mode = CandleType.FUTURES
stake = f"{stake_currency}:{stake_currency}"

But you can use leverage without shorting and the code needs to take into account the $stake later.
Would recommend renaming short to futures in:
short = False

Fair point - I'll update this in the next update.