For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Market maker commisions model

  • Some brokers like BitMEX supports the market maker model where you are rebated for putting a stop/limit order and have commissions for putting a market order.

    Are there any ideas how to implement this in Backtrader?

  • administrators

    Such thing is not supported, because order type is not part of the information considered to calculate commissions (rebates if the commission is negative)

Log in to reply