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
建议增加get_price接口
api.py文件中: (1)all 列表增加'get_price' (2)增加函数 def get_price(code="600000.XSHG", date=None, end_date=None, unit='1d', fields=None, skip_paused=False, fq='pre', count=None, panel=True, fill_paused=True, return_type='df'): return request_jqdata(method='get_price_period', code=code, date=date, end_date=end_date, unit=unit, fields=fields, skip_paused=skip_paused, fq=fq, count=count, panel=panel, fill_paused=fill_paused, return_type=return_type, parse_dates=['date'])
The text was updated successfully, but these errors were encountered:
应该是 get_price_period / get_bars_period- 获取指定时间段的行情数据 指定开始时间date和结束时间end_date时间段,获取行情数据
https://dataapi.joinquant.com/docs#get_price_period--get_bars_period--%E8%8E%B7%E5%8F%96%E6%8C%87%E5%AE%9A%E6%97%B6%E9%97%B4%E6%AE%B5%E7%9A%84%E8%A1%8C%E6%83%85%E6%95%B0%E6%8D%AE
Sorry, something went wrong.
@sunphoenix 0.1.0版本已加入get_price_period / get_bars_period
@foolcage 收到,感谢大佬。 我也是后来发现我提供的参考代码是有问题的,当时测试的并不充分,抱歉~ 我后来修改的代码和大佬的0.1.0代码基本一致,多谢!
No branches or pull requests
建议增加get_price接口
api.py文件中:
(1)all 列表增加'get_price'
(2)增加函数
def get_price(code="600000.XSHG", date=None, end_date=None, unit='1d', fields=None, skip_paused=False, fq='pre', count=None, panel=True, fill_paused=True, return_type='df'):
return request_jqdata(method='get_price_period', code=code, date=date, end_date=end_date, unit=unit, fields=fields, skip_paused=skip_paused,
fq=fq, count=count, panel=panel, fill_paused=fill_paused, return_type=return_type, parse_dates=['date'])
The text was updated successfully, but these errors were encountered: