Hey everyone, I'm trying to figure out why the "Action(self.rebalance))" buys on market 100% of funds but over two different stocks. 

e.g. self.SetCash is (10000) 

But then the backtest under orders says:

2010-01-04 09:40:00BAMarket$42.910440804 USD209Buy

 ($8968.28)

2010-01-04 09:40:00PFEMarket$12.83388834 USD699Buy

($8968.17)

Total purchase for 2010-01-04 = $17,936.45, but should only be $10,000

I hope that makes sense,

Thanks

Author