froggleston / freqtrade_analysis_notebook

A Jupyter notebook to analyse freqtrade results
MIT License
88 stars 16 forks source link

FUTURES can be used when not shorting #7

Closed vaidab closed 11 months ago

vaidab commented 1 year ago

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

froggleston commented 1 year ago

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