rebal.function.default:
Example rebal.function for use by rebalance()
Description
Advances time by one rebalancing period, buys/sells assets according to rebalancing rules, and returns a new account function.
This example function should be adapted for your own use.