Before revision:  The set-up and methodology are sufficiently general to allow the analysis of problems with both finite-time and infinite-time horizon. Finally we apply our class of problems to a model for stock trading in two different market venues and we determine the optimal stopping rule in that case.
After revision:  We then apply our class of problems to a model for stock trading in two different market venues and we determine the optimal stopping rule in that case.