BlueGamma
  • Getting Started
  • Setting up your account
  • Features Overview
  • Interest Rate Swaps
    • Overview
    • Calculating a Swap Rate
    • Calculating the MtM of a Swap
    • Refinancing a Swap
    • Advanced
      • Download a Custom Table of Swap Rates
      • Benchmarking a Swap Rate with a Bank
    • FAQs
      • How Forward Rates Are Calculated
      • How Discount Factors Are Calculated
  • Forward Curves
    • Overview
    • Downloading a Forward Curve
    • Downloading Historic Forward Curves
    • Advanced
      • How to Access BRL Forward Curves and Download TLP Forecasts
    • FAQs
  • Government Bonds
    • Accessing Bond Yields
    • Accessing Forward Starting Bond Yields
  • Foreign Exchange
    • Downloading FX Forward Rates
  • Cross Currency
    • Overview
    • Pricing a Cross-Currency Swap
  • Integrations
    • Excel Add-in
      • Installation & Setup
      • Get Swap Rates
      • Get Discount Factors
      • Get Forward Rates
      • Get Swap Rate by ID
    • API
      • API Reference
      • How to Guides
        • Fetching a Swap Rate
        • Fetching Historical Swap Rates
        • Getting Forward Rates
        • Getting a Forward Curve
        • Getting Discount Factors
        • Validating BlueGamma API Data Against Bloomberg or Other Platforms
  • Accounts and Plans
    • Adding and removing seats
  • FAQs
    • Currency-Specific FAQs
    • Where does your data come from?
Powered by GitBook
On this page
  • πŸ”‘ Key Things to Keep in Mind
  • πŸ‡ΊπŸ‡Έ USD SOFR (Overnight Indexed Swap)
  • πŸ‡¨πŸ‡¦ CAD CORRA (Overnight Indexed Swap)
  • πŸ‡ͺπŸ‡Ί EUR EURIBOR
  • πŸ§ͺ If Rates Don’t Match
  • 🐍 Example: Calling the BlueGamma API in Python
  1. Integrations
  2. API
  3. How to Guides

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

index=SOFR
start_date=0D
maturity_date=10Y
fixed_leg_frequency=1Y
floating_leg_frequency=1Y
fixed_leg_day_count=Actual360

πŸ”Ž 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

index=CORRA
start_date=0D
maturity_date=10Y
fixed_leg_frequency=1Y
floating_leg_frequency=1Y
fixed_leg_day_count=Actual365Fixed
floating_leg_day_count=Actual365Fixed

πŸ‡ͺπŸ‡Ί 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 and floating_leg_frequency accordingly.

πŸ”§ API Parameters

index=6M EURIBOR
start_date=0D
maturity_date=10Y
fixed_leg_frequency=1Y
floating_leg_frequency=6M
fixed_leg_day_count=Thirty360EuroBondBasis
floating_leg_day_count=Actual360

πŸ§ͺ If Rates Don’t Match

Here’s a checklist to debug any mismatch:

βœ… Check This...
πŸ” What To Look For

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:

import requests

url = "https://api.bluegamma.io/v1/swap_rate"
headers = {
    "x-api-key": "your_api_key_here"
}
params = {
    "index": "SOFR",
    "start_date": "0D",
    "maturity_date": "10Y",
    "fixed_leg_frequency": "1Y",
    "floating_leg_frequency": "1Y",
    "fixed_leg_day_count": "Actual360",
}

response = requests.get(url, headers=headers, params=params)
print(response.json())

You can easily adapt this to test CORRA or EURIBOR by changing the index and frequency/day count parameters.

PreviousGetting Discount FactorsNextAdding and removing seats

Last updated 1 month ago