通过akshare获取股票分钟数据

参考:https://blog.csdn.net/qnloft/article/details/131218295

import akshare as ak

个股的

df = ak.stock_zh_a_hist_min_em(symbol="000001", start_date="2023-11-03 09:30:00", end_date="2023-11-03 15:00:00", period='1', adjust='')

print(df)

date_info= df['时间'].tolist()

print(date_info)

stock_price=df['收盘'].tolist()

print(date_info,stock_price)

相关推荐
向風而行9 分钟前
MySQL详解
数据库·mysql
We་ct26 分钟前
深度剖析浏览器跨域问题
开发语言·前端·浏览器·跨域·cors·同源·浏览器跨域
skywalk816334 分钟前
在考虑双轨制,即在中文语法的基础上,加上数学公式的支持,这样像很多计算将更加简单方便,就像现在的小学数学课本里面一样,比如:定x=2*x + 1
开发语言
小书房37 分钟前
Kotlin的by
android·开发语言·kotlin·委托·by
gqk011 小时前
【无标题】
python
就叫飞六吧1 小时前
QT写一个桌面程序exe并动态打包基本流程(c++)
开发语言·c++
belldeep1 小时前
本草纲目:如何应用 PostgreSQL 实现【中医药】主题数据库 ?
数据库·postgresql·本草纲目
threelab1 小时前
Three.js 代码云效果 | 三维可视化 / AI 提示词
开发语言·javascript·人工智能
Bert.Cai1 小时前
MySQL CURTIME()函数详解
数据库·mysql
Bert.Cai1 小时前
MySQL CURDATE()函数详解
数据库·mysql