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

Backtrader not closing trade and keeps trying to close it.



  • Hi,

    I'm testing a strategy and suddenly when it tries to close a position it cannot get it done. Then the strategy keeps trying to close the operation for ever, making the portfolio go to negative infinity.

    Edit : I was removed "pass" and it worked.


Log in to reply
 

});