openapi-sdk
openapi-sdk copied to clipboard
OpenApi SDK 中enable_overnight=True开启夜盘行情不生效
问题描述
OpenApi SDK 中enable_overnight=True开启夜盘行情不生效
代码例子
from longport.openapi import QuoteContext, Config
ctx = QuoteContext(Config(enable_overnight=True,app_key="your_app_key", app_secret="your_app_secret", access_token="your_access_token"))
resp = ctx.quote([ "FFIE.US"])
print(resp)
错误信息或结果截图
你的环境信息
- 操作系统: macOS
- 开发语言: Python
- SDK 版本号:
我也有这个问题,夜盘信息返回none,现在你解决没?还是需要开通啥
@njt1340953658 @poutous You should subscribe to US stock L1 market data which contains the night trading indexes.
由于没有活动,此问题已关闭。如果您仍遇到此问题,请打开一个新问题并附上此问题的链接。 This issue was closed due to inactivity. If you still encounter this issue, please open a new issue and link to this issue. Thank you.