通过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)

相关推荐
Tony Bai4 小时前
高并发后端:坚守 Go,还是拥抱 Rust?
开发语言·后端·golang·rust
一瓢西湖水4 小时前
列式数据库-以clickHouse为例
数据库·clickhouse
Elastic 中国社区官方博客4 小时前
使用 Elastic Cloud Serverless 扩展批量索引
大数据·运维·数据库·elasticsearch·搜索引擎·云原生·serverless
liulanba4 小时前
AI Agent技术完整指南 第一部分:基础理论
数据库·人工智能·oracle
wjs20245 小时前
Swift 类型转换
开发语言
逆天小北鼻5 小时前
Oracle 服务端与客户端的核心区分要点
数据库·oracle
2501_946242935 小时前
MPV-EASY Player (MPV播放器) v0.41.0.1
数据库·经验分享·云计算·计算机外设·github·电脑·csdn开发云
秃了也弱了。5 小时前
python实现定时任务:schedule库、APScheduler库
开发语言·python
Dfreedom.5 小时前
从 model(x) 到__call__:解密深度学习框架的设计基石
人工智能·pytorch·python·深度学习·call
weixin_440730505 小时前
java数组整理笔记
java·开发语言·笔记