比如,我想要通过ContextInfo.get_stock_list_in_sector('沪深转债')获取2023年1月3日的所有转债列表,要如何写呢?
http://docs.thinktrader.net/pages/fd9cbd/中写到,
用法: ContextInfo.get_stock_list_in_sector(sectorname, realtime)
realtime:毫秒级时间戳
ContextInfo.get_stock_list_in_sector('沪深转债',1716534009000)我尝试这样获取数据,返回为0。
请问要如何写才能获取过去交易日版块下的列表呢? |