efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页
验证了一下,是服务端那边做了限制,现在一页最多获取200条数据,即便请求参数设置超过这个数也只能有200
怎么修改~~大哥~~
我先前用akshare是正常的,结果这两天也是只有200条,更新akshare到最新版本又可以了,我是在安卓设备上用efinance,估计可以参考akshare的调用
是说怎么今天取得的数据少了呢 我还以为是我写的程序错误了 蹲一个进度
影响面甚广啊,紧急求助...
明天开盘之前我更新个版本
明天开盘之前我更新个版本
感謝. 辛苦了.
明天开盘之前我更新个版本
老板给力!
给力!等更新!
@dbwsgod @NicholasQu @XH888 @Alex92908 @2824799 已更新,最新版本是 0.5.3,通过 pip 镜像安装可能有缓存,如果未安装到 0.5.3 版本,可运行下面命令安装
pip install git+https://github.com/Micro-sheep/efinance
@dbwsgod @NicholasQu @XH888 @Alex92908 @2824799 已更新,最新版本是 0.5.3,通过 pip 镜像安装可能有缓存,如果未安装到 0.5.3 版本,可运行下面命令安装
pip install git+https://github.com/Micro-sheep/efinance
测试通过,大赞owner的效率,辛苦您!
更新成功,非常感谢!
貌似又不行啦
又不行了
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------ 发件人: "Micro-sheep/efinance" @.>; 发送时间: 2025年2月18日(星期二) 下午3:13 @.>; 抄送: "pretty @.@.>; 主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***> Micro-sheep left a comment (Micro-sheep/efinance#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:13
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (Micro-sheep/efinance#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
先确定一下运行的版本跟安装的版本是否都是 0.5.3 吧,加下面的代码来确定
from efinance import __version__
print(__version__.__version__)
输出应该是 0.5.3
确实如你预期,我安装的版本是0.5.3,但实际运行的是0.5.0。
请问我应该怎么切换过来?
------------------ 原始邮件 ------------------ 发件人: "Micro-sheep/efinance" @.>; 发送时间: 2025年2月18日(星期二) 下午3:30 @.>; 抄送: "pretty @.@.>; 主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:13
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
先确定一下运行的版本跟安装的版本是否都是 0.5.3 吧,加下面的代码来确定 from efinance import version print(version.version)
输出应该是 0.5.3
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***> Micro-sheep left a comment (Micro-sheep/efinance#192)
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:13
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
先确定一下运行的版本跟安装的版本是否都是 0.5.3 吧,加下面的代码来确定 from efinance import version print(version.version)
输出应该是 0.5.3
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
确实如你预期,我安装的版本是0.5.3,但实际运行的是0.5.0。
请问我应该怎么切换过来?
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:30
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:13
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
先确定一下运行的版本跟安装的版本是否都是 0.5.3 吧,加下面的代码来确定
from efinance import version print(version.version)
输出应该是 0.5.3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (Micro-sheep/efinance#192)
难道我是个例?
版本是0.5.3
运行指令 print(ef.stock.get_realtime_quotes()) 后只显示200条
------------------ 原始邮件 ------------------
发件人: "Micro-sheep/efinance" @.***>;
发送时间: 2025年2月18日(星期二) 下午3:13
@.***>;
抄送: "pretty @.@.>;
主题: Re: [Micro-sheep/efinance] efinance.stock.get_realtime_quotes()只能获取到200个,疑似东方财富使用了分页 (Issue #192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
Micro-sheep left a comment (#192)
又不行了
没复现,0.5.3 版本下当前获取到的数据条数是 5688 条
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
先确定一下运行的版本跟安装的版本是否都是 0.5.3 吧,加下面的代码来确定
from efinance import version print(version.version)
输出应该是 0.5.3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
如果运行代码的时候用的 python main.py 则安装的时候运行 python -m pip install efinance --upgrade
我的版本是0.5.3 版本,2025年3月10日通过ef.stock.get_realtime_quotes()获取数据,只能获取2900条数据,麻烦Micro-sheep更新下版本吧,由衷感谢!!!
我的版本是0.5.3 版本,2025年3月10日通过ef.stock.get_realtime_quotes()获取数据,只能获取2900条数据,麻烦Micro-sheep更新下版本吧,由衷感谢!!!
更新到 054 没问题
我的版本是0.5.3 版本,2025年3月10日通过ef.stock.get_realtime_quotes()获取数据,只能获取2900条数据,麻烦Micro-sheep更新下版本吧,由衷感谢!!!
已更新,参考 https://github.com/Micro-sheep/efinance/issues/200
感谢Micro-sheep大佬,高效更新!!!