2019-10-02: The community is currently in read-only mode
Multiple Futures - Different Multipliers
Osofuego last edited by
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.
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?
ab_trader last edited by