Title: On Stochastic Optimization Problems and an Application in Finance