@run-out thanks, I am using percentage sizer which should only use 100% of my cash. Or was it percentage of something else?
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Posts made by Tornar Yang
-
RE: Commission Setting
-
Commission Setting
Hi,
When I set a percentage commission in the engine, I get a lot of rejected trades.
cerebro.broker.setcash(10000) cerebro.broker.setcommission(commission=0.018,margin=False) cerebro.addsizer(bt.sizers.PercentSizer,percents=100)
If I set comission to 0, or set it to a low figure, I don't have this problem. Any advice what could have caused this?
Tornar