After some thought, the fraction, f, to use on a trade shall be a function of 3 variables for stocks, and 4 variables for options:
f = g(cratio, histf(strategy), recentf(strategy)) --stock
f = g(cratio, histf(strategy), recentf(strategy), daystoexp) --options
The...