For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Multiple Futures - Different Multipliers
-
I am trying to backtest Silver vs Gold and have no issues getting the feeds to work but am having an issue with the multipliers.
I use
cerebro.broker.setcommission(commission=2.0, margin=2000.0, mult=100.0)
But thats at the broker level.
Gold's multiplier per contract is 100x contract and Silver's is 5000x contract, can I extend the setcomission to each specific datafeed?
-