掘金社区
get_history_instruments(symbols=stock_pool)的返回值为空。试了加入各个参数,返回的都是一个空[ ].
评论: 5
-
stock_pool是什么, 是否为掘金的代码标识
-
是掘金代码标识。
not_suspended_info = get_history_instruments(symbols='SHSE.600001', start_date=today.date(), end_date=today.date())
print(not_suspended_info)返回值是空list,[ ], 长度为0.
-
@dncfinclub 600001的标的不存在, 是已经退市的标的
-
@技术支持1 谢谢回复。我又试了下单只股票,运行正常。但当我从文件中读取多只股票,又不行了。请看截图。图中我直接把多只股票代码从文件中复制过来了。
-
@dncfinclub 需要指定时间, 不指定会默认当前时间, 凌晨的时候,当天的数据可能还没有更新