Validating BlueGamma API Data Against Bloomberg or Other Platforms
Learn how to compare BlueGamma API swap rates with other data sources using standard conventions for SOFR, CORRA, and EURIBOR.
Who is this for? You're trying out the BlueGamma API and want to ensure that the data aligns with rates from platforms you're already using like Bloomberg or online sources.
This guide walks you through how to make those comparisons accurately, using consistent quoting conventions for USD SOFR, CAD CORRA, and EUR EURIBOR.
π Key Things to Keep in Mind
Before comparing rates, make sure to:
β Match payment frequencies and day count conventions
β Use the same valuation date/time
β Align on swap structure (e.g. OIS vs IBOR-based)
β Use the
/swap_rate
endpoint when comparing to par swap quotes (not/forward_rate
or/discount_factor
)
πΊπΈ USD SOFR (Overnight Indexed Swap)
β
Market Convention (and BlueGamma UI default)
Fixed leg: Annual, Actual/360
Floating leg: Annual, Actual/360
π§ API Parameters
π Notes
Bloomberg and other providers may use Semi vs Semi with different stub assumptions. Adjust accordingly if you're trying to match another screen exactly.
π¨π¦ CAD CORRA (Overnight Indexed Swap)
β
Market Convention
Fixed leg: Annual, Actual/365
Floating leg: Annual, Actual/365
π§ API Parameters
πͺπΊ EUR EURIBOR
β
Market Convention
Fixed leg: Annual, 30/360
Floating leg: 6M EURIBOR, Actual/360
π‘ If your reference source uses 3M or 1M EURIBOR instead, update the
index
andfloating_leg_frequency
accordingly.
π§ API Parameters
π§ͺ If Rates Donβt Match
Hereβs a checklist to debug any mismatch:
Frequency
Are fixed/floating legs aligned (e.g. 1Y vs 6M)?
Day count conventions
Are you using the same as your reference (e.g. 30/360 vs ACT/360)?
Valuation time/date
Use valuation_time
to align the exact timestamp
Stub periods
Although BlueGamma's API doesn't allow you to adjust stub periods this may cause slight differences
Structure
Confirm youβre comparing a par swap rate (not forward or zero rates)
π© Still unsure? Email support@bluegamma.io with the values or screenshots you're comparing and weβll be happy to help.
π Example: Calling the BlueGamma API in Python
Hereβs a basic example of how to request a 10Y SOFR swap rate using requests
in Python:
You can easily adapt this to test CORRA or EURIBOR by changing the index
and frequency/day count parameters.
Last updated