艾歐踢論壇
標題: 历史行情数据-东方财富 [打印本頁]
作者: admin 時間: 2023-4-24 17:15
標題: 历史行情数据-东方财富
- import akshare as ak
- df = ak.stock_zh_index_daily_em( symbol = "sh600690" )
- df.to_excel( r'D:\data\sh600690.xlsx' )
複製代碼 历史行情数据-东方财富描述: 东方财富股票指数数据, 历史数据按日频率更新
限量: 单次返回具体指数的所有历史行情数据
输入参数
[td]名称 | 类型 | 必选 | 描述 |
symbol | str | Y | symbol=”sz399552” |
输出参数
[td]名称 | 类型 | 默认显示 | 描述 |
date | str | Y | 东方财富的数据开始时间, 不是证券上市时间 |
open | float | Y | - |
close | float | Y | - |
high | float | Y | - |
low | float | Y | - |
volume | float | Y | - |
amount | float | Y | - |
历史行情数据-新浪
stock_zh_index_daily_df = ak.stock_zh_index_daily(symbol="sh600690")
历史行情数据-腾讯
stock_zh_index_daily_tx_df = ak.stock_zh_index_daily_tx(symbol="sh600690")
歡迎光臨 艾歐踢論壇 (http://www.iot.idv.tw/ucenter/) |
Powered by Discuz! X3.2 |