top of page
HKFDB 說明文檔
Python Financial Data Package
錨點 1
免費數據
-
get_hk_holiday_and_expiry_date
-
get_current_us_holiday
以上數據均已開放為免費數據,用戶可以先登記為免費會員,即可以憑authToken使用。
get_hk_holiday_and_expiry_date
簡介︰取得香港公眾假期、半日市、期貨或期權到期日
日期範圍︰2013年1月 至今
更新時間︰每日晚上12時
所需參數
返回格式︰dictionary of list
例子︰
df = hkfdb.get_hk_holiday_and_expiry_date(2018,2022, 'int')

注意︰此function不需使用auth code認證,直接import hkfdb後即可使用
get_current_us_holiday
簡介︰取得美國公眾假期 (只限今年)
日期範圍︰最新一年
更新時間︰美國東岸時間每日晚上12時
所需參數
返回格式︰list
例子︰
df = hkfdb.get_current_us_holiday()

注意︰此function不需使用auth code認證,直接import hkfdb後即可使用
留意假期日期為美國日期
bottom of page