Oh... Thanks for the answer, but now I am a bit confused.
In the
portfolio management section of the tutorial the variables
Capital and
ProfitClosed are used to determine how much to reinvest at any given time. If these variables are actually supposed to be input only and therefore always constant, how to reconcile this with the tutorial?