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

Broker cash adjust delay

  • Hi,
    How could I simulate the following behavior in BT:

    Once a position is closed (D+0) and there is profit, the broker will pay you only 3 days after, in D+3 (these are the rules in Brazil)

    I need to incorporate this in my backtest. I guess it has to do with checksubmit, but how could I delay the cash adjust?

Log in to reply