On-line portfolio selection using stochastic programming