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

How to include Taxes?



  • Hi

    I am making a strategy with dynamic allocation over time, for the type of asset I am modeling I must pay 15% taxes to the government on capital gains, I am also able to offset trade losses with tax credits. Any ideas on how I can include this in my strategy?



  • You will have to code that in manually yourself. After tax investing is not in the Backtrader mandate. Good luck.


Log in to reply
 

});