AkShare-股票數(shù)據(jù)-港股個(gè)股指標(biāo)

作者寄語(yǔ)
新增 港股個(gè)股指標(biāo) 數(shù)據(jù)接口,主要可以獲?。菏杏? 市凈率, 股息率, ROE, 市值等數(shù)據(jù)。
更新接口
"stock_hk_eniu_indicator" ?# 港股個(gè)股指標(biāo)
港股個(gè)股指標(biāo)
接口: stock_hk_eniu_indicator
目標(biāo)地址: https://eniu.com/gu/hk01093/roe
描述: 獲取億牛網(wǎng)-港股個(gè)股指標(biāo): 市盈率, 市凈率, 股息率, ROE, 市值
限量: 單次獲取指定 symbol 和 indicator 的所有歷史數(shù)據(jù)
輸入?yún)?shù)
| 名稱 | 類型 | 必選 | 描述 |
|---|---|---|---|
| symbol | str | Y | symbol="hk01093"; 可通過(guò)調(diào)用 stock_hk_eniu_indicator(symbol="hk01093", indicator="港股") 獲取股票代碼 |
| indicator | str | Y | indicator="港股"; choice of {"港股", "市盈率", "市凈率", "股息率", "ROE", "市值"} |
輸出參數(shù)
| 名稱 | 類型 | 默認(rèn)顯示 | 描述 |
|---|---|---|---|
| - | - | - | 根據(jù) indicator 而異 |
接口示例-ROE
import?akshare?as?ak
stock_hk_eniu_indicator_df?=?ak.stock_hk_eniu_indicator(symbol="hk01093",?indicator="市凈率")
print(stock_hk_eniu_indicator_df)
數(shù)據(jù)示例-ROE
????????????date????pb??price
0?????2000-01-03??1.17???0.00
1?????2000-01-04??1.24???0.00
2?????2000-01-05??1.19???0.00
3?????2000-01-06??1.06???0.00
4?????2000-01-07??1.08???0.00
??????????...???...????...
5041??2020-08-07??7.31??15.74
5042??2020-08-10??7.22??15.54
5043??2020-08-11??7.31??15.74
5044??2020-08-12??7.15??15.40
5045??2020-08-13??7.18??15.46
評(píng)論
圖片
表情
