Skip to content

Interbank Swap

izqalan edited this page Nov 15, 2019 · 1 revision

Interest Volume

Daily interbank swap volume by tenure.

Usage

itbSwap()

by latest

bnm.itbSwap()

itbSwapByDate(date)

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

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

Output

{
  "meta": {
    "last_updated": "2019-11-15T08:34:39Z",
    "total_result": 0
  },
  "data": {
    "date": "2019-11-15",
    "overnight": 0,
    "1_week": 0,
    "2_weeks": 0,
    "1_month": 0,
    "2_months": 0,
    "3_months": 0,
    "6_months": 0,
    "9_months": 0,
    "12_months": 0,
    "more_1_year": 0
  }
}

itbSwapYearMonth(year, month)

by year and month

itbSwapYearMonth('yyyy', 'mm')

Output

{
  "meta": {
    "last_updated": "2019-11-15T08:34:39Z",
    "total_result": 0
  },
  "data": [
    {
      "date": "2019-11-15",
      "overnight": 0,
      "1_week": 0,
      "2_weeks": 0,
      "1_month": 0,
      "2_months": 0,
      "3_months": 0,
      "6_months": 0,
      "9_months": 0,
      "12_months": 0,
      "more_1_year": 0
    }
  ]
}