We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原 K线 接口中 https://stock.xueqiu.com/v5/stock/chart/kline.json?symbol=NFLX&begin=1686123805473&period=1m&type=before&count=-284&indicator=kline,pe,pb,ps,pcf,market_capital,agt,ggt,balance 的 period 会根据不同的类型返回不同周期的 K线
https://stock.xueqiu.com/v5/stock/chart/kline.json?symbol=NFLX&begin=1686123805473&period=1m&type=before&count=-284&indicator=kline,pe,pb,ps,pcf,market_capital,agt,ggt,balance
period
day
week
month
60m
30m
1m
现在的 K线函数 ball.kline 只能返回 日K 是因为 pysnowball/api_ref.py 中的 kline 把 period 固定为 day 了,麻烦开放传参,可以让我们获取到不同时期的 K线。
ball.kline
pysnowball/api_ref.py
kline
感恩作者
The text was updated successfully, but these errors were encountered:
kline 现在好像已经无法获取了,雪球是更改接口了么,还是加了校验
Sorry, something went wrong.
是验证需要多加一个uid了,可以看下README, 已经更新了。 period 参数没问题,我有时间弄下
No branches or pull requests
原 K线 接口中
https://stock.xueqiu.com/v5/stock/chart/kline.json?symbol=NFLX&begin=1686123805473&period=1m&type=before&count=-284&indicator=kline,pe,pb,ps,pcf,market_capital,agt,ggt,balance
的period
会根据不同的类型返回不同周期的 K线day
week
month
60m
30m
1m
等等……
现在的 K线函数
ball.kline
只能返回 日K 是因为pysnowball/api_ref.py
中的kline
把period
固定为day
了,麻烦开放传参,可以让我们获取到不同时期的 K线。感恩作者
The text was updated successfully, but these errors were encountered: