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

Sizer for partial units, crypto

  • Hello @backtrader,

    I'm struggling with sizer settings. Based on the documentation, in my understanding, sizers in bt are set to buy whole units. I've been trying to tweak it to float units, however without success. Also searched the topics, but haven't found this.

    Could you help me how/which classes/parameters shall I modify to let my strat buy partial units?

    Many thanks for your help.

Log in to reply