PKUJohnson / OpenData

开源的金融投资数据提取工具,专注在各类网站上爬取数据,并通过简单易用的API方式使用
Apache License 2.0
1.3k stars 331 forks source link

私募接口报错 #36

Open charlie9660 opened 4 years ago

charlie9660 commented 4 years ago
df, msg = hedgefund.get_fund_nav('HF0000141Y')

/opendatatools/hedgefund/hedgefund_interface.py

224 tag = "return xOrEncrypt(str, " 225 else: --> 226 tag = "return bitEncrypt(str, " 227 pos = response.index(tag) + len(tag) + 1 228 key = response[pos:pos+32]

ValueError: substring not found