LowinLi/fushare

注册仓单查19年11月份18号之后的会报错

Hilyme opened this issue · 2 comments

pos=chineseList.index(var)
ValueError: '20号胶20' is not in list

应该是最近新出的期货没有录入到

chineseList=['橡胶','天然橡胶','石油沥青','沥青','沥青仓库','沥青(仓库)','沥青厂库','沥青(厂库)','热轧卷板','热轧板卷','燃料油',
'白银','线材','螺纹钢','铅','铜','铝','锌','黄金','钯金','锡','镍','纸浆',
'豆一','大豆','豆二','胶合板','玉米','玉米淀粉','聚乙烯','LLDPE','LDPE','豆粕','豆油','大豆油',
'棕榈油','纤维板','鸡蛋','聚氯乙烯','PVC','聚丙烯','PP','焦炭','焦煤','铁矿石','乙二醇',
'强麦','强筋小麦',' 强筋小麦','硬冬白麦','普麦','硬白小麦','硬白小麦()','皮棉','棉花','一号棉','白糖','PTA','菜籽油','菜油','早籼稻','早籼','甲醇','柴油','玻璃',
'油菜籽','菜籽','菜籽粕','菜粕','动力煤','粳稻','晚籼稻','晚籼','硅铁','锰硅','硬麦','棉纱','苹果',
'原油','中质含硫原油']

这里, 下次再更新可以都添加一下

Thanks, now akshare had updated the errors about this issues!
akshare: https://github.com/jindaxiang/akshare

pip install akshare --upgrade