Finance, Economics, Mathematics, Physics, Quantitative Finance.
plt.figure(figsize=(10, 6)) plt.hist(sample_final_values, bins=20, alpha=0.7, color='blue') plt.title('Histogram of Final FX Rates (USD/EUR)') plt.xlabel('FX Rate (USD/EUR)') plt.ylabel('Frequency') plt.show() out: 76232.1971210339 Results The present value of the FX swaption is calculated using