Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

私募接口报错 #36

Open
charlie9660 opened this issue Aug 20, 2020 · 0 comments
Open

私募接口报错 #36

charlie9660 opened this issue Aug 20, 2020 · 0 comments

Comments

@charlie9660
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant