IDEAS home Printed from https://ideas.repec.org/a/spr/fininn/v9y2023i1d10.1186_s40854-022-00433-7.html
   My bibliography  Save this article

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

Author

Listed:
  • Lorenzo Reus

    (Universidad Adolfo Ibáñez)

  • Guillermo Alexander Sepúlveda-Hurtado

    (Universidad Adolfo Ibáñez)

Abstract

We present a novel tool for generating speculative and hedging foreign exchange (FX) trading policies. Our solution provides a schedule that determines trades in each rebalancing period based on future currency prices, net foreign account positions, and incoming (outgoing) flows from business operations. To obtain such policies, we construct a multistage stochastic programming (MSP) model and solve it using the stochastic dual dynamic programming (SDDP) numerical method, which specializes in solving high-dimensional MSP models. We construct our methodology within an open-source SDDP package, avoiding implementing the method from scratch. To measure the performance of our policies, we model FX prices as a mean-reverting stochastic process with random events that incorporate stochastic trends. We calibrate this price model on seven currency pairs, demonstrating that our trading policies not only outperform the benchmarks for each currency, but may also be close to ex-post optimal solutions. We also show how the tool can be used to generate more or less conservative strategies by adjusting the risk tolerance, and how it can be used in a variety of contexts and time scales, ranging from intraday speculative trading to monthly hedging for business operations. Finally, we examine the impact of increasing trade policy uncertainty (TPU) levels on our findings. Our findings show that the volatility of currencies from emerging economies rises in comparison to currencies from developed markets. We discover that an increase in the TPU level has no effect on the average profit obtained by our method. However, the risk exposure of the policies increases (decreases) for the group of currencies from emerging (developed) markets.

Suggested Citation

  • Lorenzo Reus & Guillermo Alexander Sepúlveda-Hurtado, 2023. "Foreign exchange trading and management with the stochastic dual dynamic programming method," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-38, December.
  • Handle: RePEc:spr:fininn:v:9:y:2023:i:1:d:10.1186_s40854-022-00433-7
    DOI: 10.1186/s40854-022-00433-7
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1186/s40854-022-00433-7
    File Function: Abstract
    Download Restriction: no

    File URL: https://libkey.io/10.1186/s40854-022-00433-7?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Homem-de-Mello, Tito & Pagnoncelli, Bernardo K., 2016. "Risk aversion in multistage stochastic programming: A modeling and algorithmic perspective," European Journal of Operational Research, Elsevier, vol. 249(1), pages 188-199.
    2. Martin Eichenbaum & Charles L. Evans, 1995. "Some Empirical Evidence on the Effects of Shocks to Monetary Policy on Exchange Rates," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 110(4), pages 975-1009.
    3. Shapiro, Alexander & Tekaya, Wajdi & da Costa, Joari Paulo & Soares, Murilo Pereira, 2013. "Risk neutral and risk averse Stochastic Dual Dynamic Programming method," European Journal of Operational Research, Elsevier, vol. 224(2), pages 375-391.
    4. Guglielmo Maria Caporale & Luis A. Gil‐Alana, 2004. "Fractional cointegration and real exchange rates," Review of Financial Economics, John Wiley & Sons, vol. 13(4), pages 327-340.
    5. Coakley, Jerry & Marzano, Michele & Nankervis, John, 2016. "How profitable are FX technical trading rules?," International Review of Financial Analysis, Elsevier, vol. 45(C), pages 273-282.
    6. Al-Thaqeb, Saud Asaad & Algharabali, Barrak Ghanim, 2019. "Economic policy uncertainty: A literature review," The Journal of Economic Asymmetries, Elsevier, vol. 20(C).
    7. Lothian, James R., 1997. "Multi-country evidence on the behavior of purchasing power parity under the current float," Journal of International Money and Finance, Elsevier, vol. 16(1), pages 19-35, February.
    8. Daning Hu & Gerhard Schwabe & Xiao Li, 2015. "Systemic risk management and investment analysis with financial network analytics: research opportunities and challenges," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 1(1), pages 1-9, December.
    9. Jorion, Philippe & Sweeney, Richard J., 1996. "Mean reversion in real exchange rates: evidence and implications for forecasting," Journal of International Money and Finance, Elsevier, vol. 15(4), pages 535-550, August.
    10. Scott R. Baker & Nicholas Bloom & Steven J. Davis, 2016. "Measuring Economic Policy Uncertainty," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 131(4), pages 1593-1636.
    11. Giorgio Consigli & Vittorio Moriggia & Sebastiano Vitali & Lorenzo Mercuri, 2018. "Optimal insurance portfolios risk-adjusted performance through dynamic stochastic programming," Computational Management Science, Springer, vol. 15(3), pages 599-632, October.
    12. Lang Zhang & Haiqing Hu & Dan Zhang, 2015. "A credit risk assessment model based on SVM for small and medium enterprises in supply chain finance," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 1(1), pages 1-21, December.
    13. Andy Philpott & Vitor de Matos & Erlon Finardi, 2013. "On Solving Multistage Stochastic Programs with Coherent Risk Measures," Operations Research, INFORMS, vol. 61(4), pages 957-970, August.
    14. Coutinho, João Ricardo Ribeiro & Sheng, Hsia Hua & Lora, Mayra Ivanoff, 2012. "The use of Fx derivatives and the cost of capital: Evidence of Brazilian companies," Emerging Markets Review, Elsevier, vol. 13(4), pages 411-423.
    15. Vasicek, Oldrich, 1977. "An equilibrium characterization of the term structure," Journal of Financial Economics, Elsevier, vol. 5(2), pages 177-188, November.
    16. Colombo, Emilio & Pelagatti, Matteo, 2020. "Statistical learning and exchange rate forecasting," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1260-1289.
    17. Sims, Christopher A., 1992. "Interpreting the macroeconomic time series facts : The effects of monetary policy," European Economic Review, Elsevier, vol. 36(5), pages 975-1000, June.
    18. Roy Kwon & Jonathan Li, 2016. "A stochastic semidefinite programming approach for bounds on option pricing under regime switching," Annals of Operations Research, Springer, vol. 237(1), pages 41-75, February.
    19. David R. Cariño & Terry Kent & David H. Myers & Celine Stacy & Mike Sylvanus & Andrew L. Turner & Kouji Watanabe & William T. Ziemba, 1994. "The Russell-Yasuda Kasai Model: An Asset/Liability Model for a Japanese Insurance Company Using Multistage Stochastic Programming," Interfaces, INFORMS, vol. 24(1), pages 29-49, February.
    20. Christian Brownlees & Robert F. Engle, 2017. "SRISK: A Conditional Capital Shortfall Measure of Systemic Risk," The Review of Financial Studies, Society for Financial Studies, vol. 30(1), pages 48-79.
    21. Michelle Bandarra & Vincent Guigues, 2021. "Single cut and multicut stochastic dual dynamic programming with cut selection for multistage stochastic linear programs: convergence proof and numerical experiments," Computational Management Science, Springer, vol. 18(2), pages 125-148, June.
    22. Rossella Agliardi, 2018. "Value-at-risk under ambiguity aversion," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 4(1), pages 1-13, December.
    23. Philpott, A.B. & de Matos, V.L., 2012. "Dynamic sampling algorithms for multi-stage stochastic programs with risk aversion," European Journal of Operational Research, Elsevier, vol. 218(2), pages 470-483.
    24. Reus, Lorenzo & Pagnoncelli, Bernardo & Armstrong, Margaret, 2019. "Better management of production incidents in mining using multistage stochastic optimization," Resources Policy, Elsevier, vol. 63(C), pages 1-1.
    25. Woo Chang Kim & Do-Gyun Kwon & Yongjae Lee & Jang Ho Kim & Changle Lin, 2020. "Personalized goal-based investing via multi-stage stochastic goal programming," Quantitative Finance, Taylor & Francis Journals, vol. 20(3), pages 515-526, March.
    26. Vincent Guigues, 2014. "SDDP for some interstage dependent risk-averse problems and application to hydro-thermal planning," Computational Optimization and Applications, Springer, vol. 57(1), pages 167-203, January.
    27. Guigues, Vincent, 2017. "Dual Dynamic Programing with cut selection: Convergence proof and numerical experiments," European Journal of Operational Research, Elsevier, vol. 258(1), pages 47-57.
    28. Hong, Yongmiao & Li, Haitao & Zhao, Feng, 2007. "Can the random walk model be beaten in out-of-sample density forecasts? Evidence from intraday foreign exchange rates," Journal of Econometrics, Elsevier, vol. 141(2), pages 736-776, December.
    29. Cho, Jae-Beom & Min, Hong-Ghi & McDonald, Judith Ann, 2020. "Volatility and dynamic currency hedging," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 64(C).
    30. Kido, Yosuke, 2016. "On the link between the US economic policy uncertainty and exchange rates," Economics Letters, Elsevier, vol. 144(C), pages 49-52.
    31. Soares, Murilo Pereira & Street, Alexandre & Valladão, Davi Michel, 2017. "On the solution variability reduction of Stochastic Dual Dynamic Programming applied to energy planning," European Journal of Operational Research, Elsevier, vol. 258(2), pages 743-760.
    32. Davi Valladão & Thuener Silva & Marcus Poggi, 2019. "Time-consistent risk-constrained dynamic portfolio optimization with transactional costs and time-dependent returns," Annals of Operations Research, Springer, vol. 282(1), pages 379-405, November.
    33. Markus K. Brunnermeier & Stefan Nagel & Lasse H. Pedersen, 2009. "Carry Trades and Currency Crashes," NBER Chapters, in: NBER Macroeconomics Annual 2008, Volume 23, pages 313-347, National Bureau of Economic Research, Inc.
    34. Vasicek, Oldrich Alfonso, 1977. "Abstract: An Equilibrium Characterization of the Term Structure," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 12(4), pages 627-627, November.
    35. Ionuţ Florescu & Frederi Viens, 2008. "Stochastic Volatility: Option Pricing using a Multinomial Recombining Tree," Applied Mathematical Finance, Taylor & Francis Journals, vol. 15(2), pages 151-181.
    36. Manahov, Viktor & Hudson, Robert & Gebka, Bartosz, 2014. "Does high frequency trading affect technical analysis and market efficiency? And if so, how?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 28(C), pages 131-157.
    37. Peter Reinhard Hansen & Zhuo Huang & Howard Howan Shek, 2012. "Realized GARCH: a joint model for returns and realized measures of volatility," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 27(6), pages 877-906, September.
    38. Zarrabi, Nima & Snaith, Stuart & Coakley, Jerry, 2017. "FX technical trading rules can be profitable sometimes!," International Review of Financial Analysis, Elsevier, vol. 49(C), pages 113-127.
    39. Roy H. Kwon & Jonathan Y. Li, 2016. "A stochastic semidefinite programming approach for bounds on option pricing under regime switching," Annals of Operations Research, Springer, vol. 237(1), pages 41-75, February.
    40. Allayannis, George & Lel, Ugur & Miller, Darius P., 2012. "The use of foreign currency derivatives, corporate governance, and firm value around the world," Journal of International Economics, Elsevier, vol. 87(1), pages 65-79.
    41. Tsai, Ming-Feng & Wang, Chuan-Ju, 2017. "On the risk prediction and analysis of soft information in finance reports," European Journal of Operational Research, Elsevier, vol. 257(1), pages 243-250.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Lorenzo Reus & Rodolfo Prado, 2022. "Need to Meet Investment Goals? Track Synthetic Indexes with the SDDP Method," Computational Economics, Springer;Society for Computational Economics, vol. 60(1), pages 47-69, June.
    2. Guigues, Vincent & Shapiro, Alexander & Cheng, Yi, 2023. "Duality and sensitivity analysis of multistage linear stochastic programs," European Journal of Operational Research, Elsevier, vol. 308(2), pages 752-767.
    3. W. Ackooij & X. Warin, 2020. "On conditional cuts for stochastic dual dynamic programming," EURO Journal on Computational Optimization, Springer;EURO - The Association of European Operational Research Societies, vol. 8(2), pages 173-199, June.
    4. Thuener Silva & Davi Valladão & Tito Homem-de-Mello, 2021. "A data-driven approach for a class of stochastic dynamic optimization problems," Computational Optimization and Applications, Springer, vol. 80(3), pages 687-729, December.
    5. Andre Luiz Diniz & Maria Elvira P. Maceira & Cesar Luis V. Vasconcellos & Debora Dias J. Penna, 2020. "A combined SDDP/Benders decomposition approach with a risk-averse surface concept for reservoir operation in long term power generation planning," Annals of Operations Research, Springer, vol. 292(2), pages 649-681, September.
    6. Liu, Rui Peng & Shapiro, Alexander, 2020. "Risk neutral reformulation approach to risk averse stochastic programming," European Journal of Operational Research, Elsevier, vol. 286(1), pages 21-31.
    7. Michelle Bandarra & Vincent Guigues, 2021. "Single cut and multicut stochastic dual dynamic programming with cut selection for multistage stochastic linear programs: convergence proof and numerical experiments," Computational Management Science, Springer, vol. 18(2), pages 125-148, June.
    8. Yung, Julieta, 2021. "Can interest rate factors explain exchange rate fluctuations?," Journal of Empirical Finance, Elsevier, vol. 61(C), pages 34-56.
    9. Weini Zhang & Hamed Rahimian & Güzin Bayraksan, 2016. "Decomposition Algorithms for Risk-Averse Multistage Stochastic Programs with Application to Water Allocation under Uncertainty," INFORMS Journal on Computing, INFORMS, vol. 28(3), pages 385-404, August.
    10. de Queiroz, Anderson Rodrigo, 2016. "Stochastic hydro-thermal scheduling optimization: An overview," Renewable and Sustainable Energy Reviews, Elsevier, vol. 62(C), pages 382-395.
    11. Densing, M., 2012. "Occupation times of the Ornstein–Uhlenbeck process: Functional PCA and evidence from electricity prices," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 391(23), pages 5818-5826.
    12. Wu, Tao, 2006. "Macro Factors and the Affine Term Structure of Interest Rates," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 38(7), pages 1847-1875, October.
    13. Davi Valladão & Thuener Silva & Marcus Poggi, 2019. "Time-consistent risk-constrained dynamic portfolio optimization with transactional costs and time-dependent returns," Annals of Operations Research, Springer, vol. 282(1), pages 379-405, November.
    14. Rudloff, Birgit & Street, Alexandre & Valladão, Davi M., 2014. "Time consistency and risk averse dynamic decision models: Definition, interpretation and practical consequences," European Journal of Operational Research, Elsevier, vol. 234(3), pages 743-750.
    15. Fujiwara, Ippei & Körber, Lena Mareen & Nagakura, Daisuke, 2013. "Asymmetry in government bond returns," Journal of Banking & Finance, Elsevier, vol. 37(8), pages 3218-3226.
    16. Foroni, Claudia & Ravazzolo, Francesco & Sadaba, Barbara, 2018. "Assessing the predictive ability of sovereign default risk on exchange rate returns," Journal of International Money and Finance, Elsevier, vol. 81(C), pages 242-264.
    17. Guglielmo Maria Caporale & Menelaos Karanasos & Stavroula Yfanti, 2019. "Macro-Financial Linkages in the High-Frequency Domain: The Effects of Uncertainty on Realized Volatility," CESifo Working Paper Series 8000, CESifo.
    18. Philippe Mueller & Alireza Tahbaz-Salehi & Andrea Vedolin, 2017. "Exchange Rates and Monetary Policy Uncertainty," Journal of Finance, American Finance Association, vol. 72(3), pages 1213-1252, June.
    19. Bilel Jarraya & Abdelfettah Bouri, 2013. "A Theoretical Assessment on Optimal Asset Allocations in Insurance Industry," International Journal of Finance & Banking Studies, Center for the Strategic Studies in Business and Finance, vol. 2(4), pages 30-44, October.
    20. Zhou, Yuqin & Liu, Zhenhua & Wu, Shan, 2022. "The global economic policy uncertainty spillover analysis: In the background of COVID-19 pandemic," Research in International Business and Finance, Elsevier, vol. 61(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:fininn:v:9:y:2023:i:1:d:10.1186_s40854-022-00433-7. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.