Keywords: balance of payments, BP curve, IS-LM-BP model, numerical modeling, macroeconomic equilibrium, correlation-regression analysis, python
Practical implementation of software automation of the BP curve and its components for the analysis of the balance of payments of Russia
UDC 303.723
DOI: 10.26102/2310-6018/2025.50.3.019
This article presents a practical implementation of the balance of payments (BP) curve using the Python programming language. In this regard, this article is aimed at modeling the relationship between the interest rate, the exchange rate and the state of external economic equilibrium within the framework of the modified IS-LM-BP model. The use of numerical methods and machine learning algorithms makes it possible to analyze the dynamics of macroeconomic indicators and assess the impact of external economic factors on the country's balance of payments. The study uses real statistical data, which ensures the practical applicability of the results obtained. The leading approach to the research is the development of software code for the numerical solution of a system of equations, calibration of the model based on empirical data and the construction of forecasts on various time horizons. The materials of the article are of practical importance for using modern computational economics tools for analyzing and modeling macroeconomic equilibrium, as well as their potential in developing economic policy measures. This model is useful for strategic analysis, as it allows us to assess the impact of changes in interest rates and the exchange rate on macroeconomic equilibrium. The developed methodology allows not only to build a BP curve based on real data, but also to use it to predict future economic conditions, which makes this approach useful for macroeconomic analysis and strategic planning.
1. Blanchard O.J., Johnson D.R. Macroeconomics. Pearson; 2013. 624 p.
2. Dornbusch R., Fischer S., Startz R. Macroeconomics. McGraw-Hill Higher Education; 2011. 652 p.
3. Romer D. Advanced Macroeconomics. McGraw-Hill; 2018. 800 p.
4. Mundell R.A. Capital Mobility and Stabilization Policy Under Fixed and Flexible Exchange Rates. Canadian Journal of Economics and Political Science. 1963;29(4):475–485. https://doi.org/10.2307/139336
5. Fleming J.M. Domestic Financial Policies Under Fixed and Under Floating Exchange Rates. IMF Economic Review. 1962;9:369–380. https://doi.org/10.2307/3866091
6. Obstfeld M., Rogoff K. Foundations of International Macroeconomics. Cambridge: MIT Press; 1996. 804 p.
7. Gandolfo G. International Finance and Open-Economy Macroeconomics. Berlin, Heidelberg: Springer; 2016. 681 p. https://doi.org/10.1007/978-3-662-49862-0
8. Mankiw N.G. Macroeconomics. Worth Publishers; 2019. 719 p.
9. Efremov D.N. The Economic Essence and Content of the Monetary Economy of the Russian Federation. Obrazovanie. Nauka. Nauchnye kadry. 2025;(1):210–214. (In Russ.). https://doi.org/10.24412/2073-3305-2025-1-210-214
10. Glebova A.G., Tabachinsky G.I. The Evolution of International Sanctions and Their Implications for the Russian Federation in the Context of International Economic Relations. World Economy and World Finance. 2025;4(1):31–39. (In Russ.).
Keywords: balance of payments, BP curve, IS-LM-BP model, numerical modeling, macroeconomic equilibrium, correlation-regression analysis, python
For citation: Shchegolev A.V. Practical implementation of software automation of the BP curve and its components for the analysis of the balance of payments of Russia. Modeling, Optimization and Information Technology. 2025;13(3). URL: https://moitvivt.ru/ru/journal/pdf?id=1891 DOI: 10.26102/2310-6018/2025.50.3.019 (In Russ).
Received 06.05.2025
Revised 11.07.2025
Accepted 23.07.2025