Skip to content

Interest Rate

izqalan edited this page Nov 15, 2019 · 2 revisions

Interest Rate

Daily interbank money market rates and volumes of transactions according to tenure. (2015 - present)

Usage

interestRate()

by latest

bnm.interestRate()

interestRate(date)

by date. Date with format as defined by RFC 3339, section 5.6

bnm.interestRate('yyyy-mm-dd')

Output

{
  "meta": {
    "last_updated": "2019-11-15T08:34:39Z",
    "total_result": 0,
    "product": "money_market_operations"
  },
  "data": {
    "product": "money_market_operations",
    "date": "2019-11-15",
    "overnight": 0,
    "1_week": 0,
    "1_month": 0,
    "3_months": 0,
    "6_months": 0,
    "1_year": 0
  }
}

interestRateYearMonth(year, month)

by currency, year and month

interestRateYearMonth('yyyy', 'mm')

Output

{
  "meta": {
    "last_updated": "2019-11-15T08:34:39Z",
    "total_result": 0,
    "product": "money_market_operations"
  },
  "data": [
    {
      "product": "money_market_operations",
      "date": "2019-11-15",
      "overnight": 0,
      "1_week": 0,
      "1_month": 0,
      "3_months": 0,
      "6_months": 0,
      "1_year": 0
    }
  ]
}