Analysing portfolio rebalancing using historical data