def split_list(mypath,need_list):
'分离已有日线文件的股票代码'
if len(need_list) < 2:
print('没有需要需要计算数据的文件!!!')
return [],[]
print('正在分析股票代码……\n')
exist_list = find_file(mypath,need_list) #提取已有数据的文件名
for each in exist_list:
#提取新增股票列表
if each in need_list:
need_list.pop(need_list.index(each))
return need_list,exist_list
股票代码分解函数
猜你喜欢
转载自blog.csdn.net/lee2601/article/details/81084858
今日推荐
周排行