Foreign exchange trading and management with the stochastic dual dynamic programming method | Synapse