That's very helpful. Thank you @ab_trader and @backtrader
How can I use it to trade a portfolio of futures? Every contract has a different multiplier and different margin. So multiplier and margin should be linked to data rather than broker. Or is there another way to do it?