Balance of Payments (BoP) Analysis

Example Problem

We aim to simulate a simplified BoP analysis to understand the interactions between the Current Account (CA), Capital Account (KA), and the Financial Account (FA).

Problem

  1. The Current Account (CA) records trade in goods and services, income, and transfers.
  2. The Capital Account (KA) reflects capital transfers and acquisition/disposal of non-produced assets.
  3. The Financial Account (FA) captures investments in financial assets.

By the BoP identity:
$$
\text{CA} + \text{KA} + \text{FA} = 0
$$

We will simulate and visualize:

  • Changes in the CA due to trade balance adjustments.
  • How these changes are offset by the KA and FA to maintain equilibrium.

Python Code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import numpy as np
import matplotlib.pyplot as plt

# Parameters
time_steps = 20 # Number of periods
initial_CA = -2.0 # Initial Current Account balance (deficit, in $ billion)
initial_KA = 0.5 # Initial Capital Account balance (in $ billion)
initial_FA = 1.5 # Initial Financial Account balance (in $ billion)
trade_balance_changes = np.linspace(-0.5, 1.0, time_steps) # Simulated trade balance changes

# BoP components
CA = [initial_CA]
KA = [initial_KA]
FA = [initial_FA]

# Simulate BoP dynamics
for i in range(1, time_steps):
# Update Current Account (CA) due to trade balance changes
new_CA = CA[-1] + trade_balance_changes[i]
CA.append(new_CA)

# Capital and Financial Accounts adjust to maintain BoP equilibrium
new_FA = -new_CA - KA[-1] # Financial Account offsets CA and KA
FA.append(new_FA)
KA.append(KA[-1]) # Assume KA remains constant for simplicity

# Visualization
time = np.arange(time_steps)

plt.figure(figsize=(12, 6))

# Plot BoP components
plt.plot(time, CA, label="Current Account (CA)", marker='o')
plt.plot(time, KA, label="Capital Account (KA)", marker='o')
plt.plot(time, FA, label="Financial Account (FA)", marker='o')
plt.axhline(y=0, color='r', linestyle='--', label="Equilibrium Line (BoP=0)")

plt.title("Balance of Payments Dynamics")
plt.xlabel("Time Period")
plt.ylabel("Balance ($ billion)")
plt.legend()
plt.grid()
plt.tight_layout()
plt.show()

Explanation

  1. Current Account Dynamics:
    • Adjustments in trade balance affect the CA over time.
  2. BoP Equilibrium:
    • The KA and FA adjust to ensure that the BoP identity $(\text{CA} + \text{KA} + \text{FA} = 0)$ holds.
  3. Assumptions:
    • The KA remains constant for simplicity.
    • Changes in the CA are offset entirely by the FA.

Results

  • The graph shows how the Current Account evolves due to trade balance changes.
  • The Financial Account responds dynamically to maintain BoP equilibrium.
  • The Capital Account remains constant, highlighting its lesser role in this simplified example.

This example illustrates the balancing act within the BoP framework, showing the interdependence of its components.