Fetching Forward Starting Swap Rates
Use the /swap_rate endpoint to price forward starting swaps where the effective date is in the future. Specify start dates using tenors (6M, 1Y) or specific dates.
Basic Example
import requests
url = "https://api.bluegamma.io/v1/swap_rate"
headers = {"x-api-key": "your_api_key"}
params = {
"index": "6M EURIBOR",
"start_date": "1Y", # Forward start in 1 year
"maturity_date": "5Y", # 5 year swap from start
"fixed_leg_frequency": "6M"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())Using Specific Dates
Fetching Multiple Forward Starts with asyncio
Forward Start
5Y Swap
7Y Swap
10Y Swap

Parameters
Parameter
Required
Description
Last updated
Was this helpful?

