I believe you need to set correct automargin parameter without modifying the class methods.
Check out the links
@giebels It seems I already made an error: rather then using mult you should use leverage which more accurately represents the circumstances of Binance futures.
I am looking to backtest option strategies (i.e. long/put) using futures/index data, exactly the same question you mentioned at the beginning of this thread.
Are you able to use backtrader to backtest options based on Futures? If yes, have you find any similar article? Thanks!
That's it! Thanks very much sir!