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

相关推荐
破无差16 分钟前
python实现简单的地图绘制与标记20250705
python
向阳@向远方16 分钟前
第二章 简单程序设计
开发语言·c++·算法
GreatSQL社区19 分钟前
用systemd管理GreatSQL服务详解
数据库·mysql·greatsql
掘根19 分钟前
【MySQL进阶】错误日志,二进制日志,mysql系统库
数据库·mysql
weixin_4383354022 分钟前
基础知识:mysql-connector-j依赖
数据库·mysql
喜欢吃豆38 分钟前
目前最火的agent方向-A2A快速实战构建(二): AutoGen模型集成指南:从OpenAI到本地部署的全场景LLM解决方案
后端·python·深度学习·flask·大模型
小明铭同学38 分钟前
MySQL 八股文【持续更新ing】
数据库·mysql
Mr_Xuhhh1 小时前
信号与槽的总结
java·开发语言·数据库·c++·qt·系统架构
Fireworkitte1 小时前
Redis 源码 tar 包安装 Redis 哨兵模式(Sentinel)
数据库·redis·sentinel
纳兰青华1 小时前
bean注入的过程中,Property of ‘java.util.ArrayList‘ type cannot be injected by ‘List‘
java·开发语言·spring·list