外匯基金票據及債券收益率-每日數字

應用程式介面詳細規格

API URL:

https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/efbn/efbn-yield-daily

API數據查詢

輸出字段(JSON) Swagger格式
名稱 類型 計量單位 描述
end_of_day日期日期
日期採用ISO格式yyyy-mm-dd,例如1997-01-01
efb_7d數字年率外匯基金票據
7日
efb_30d數字年率外匯基金票據
30日
efb_91d數字年率外匯基金票據
91日
efb_182數字年率外匯基金票據
182日
efb_273d數字年率外匯基金票據
273日
efb_364d數字年率外匯基金票據
364日
efn_2y數字年率外匯基金債券
2年
efn_3y數字年率外匯基金債券
3年
efn_4y數字年率外匯基金債券
4年
efn_5y數字年率外匯基金債券
5年
efn_7y數字年率外匯基金債券
7年
efn_10y數字年率外匯基金債券
10年
efn_15y數字年率外匯基金債券
15年

備註:

1. 在2002年12月16日以前,收益率是根據4間指定銀行所提供的報價計算的平均值。 隨外匯基金票據及債券定價於2002年12月16日推出,收益率的計算方法是用12間合資格市場莊家所提供的報價,除去最高的兩個報價及最低的兩個報價,然後計算中間8個報價的平均值。隨 外匯基金票據及債券參考價格於2015年1月16日推出,每種基準外匯基金債券的參考價格是按12間合資格市場莊家所提供的參考報價,除去最高的兩個報價及最低的兩個報價,以中位價基準計算出來。
2. 從2015年起,香港金融管理局停止發行新的3年期或以上的外匯基金票據。2015年3月後的3年期或以上收益率資料,請參閱香港政府債券 – 表9.4
(http://www.hkma.gov.hk/eng/market-data-and-statistics/monthly-statistical-bulletin/table.shtml#section9)
3. 收益率由路透社提供。

應用程式介面例子

Javascript例子

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/efbn/efbn-yield-daily?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});

Python例子

import urllib.request
url = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/efbn/efbn-yield-daily?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())

如何使用應用程式介面

有關詳情,請瀏覧「應用程式介面規格」。