We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
修改代码使得在yhtrader.py的request函数里打印log:
def request(self, params): url = self.trade_prefix + params['service_jsp'] print ("seeeeeeeeeeeeeeeeee: cookies={}".format(self.cookie)) ....... .... ..
会发现,cookies=None . 所有的后端,比如yjbtrader.py等,都是一样。
顺着查找(搜索self.cookie),发现token函数没有被调用. 似乎应该算bug。。
The text was updated successfully, but these errors were encountered:
怀疑是不是因为这个导致偶发性掉线。
Sorry, something went wrong.
cookie 是最开始的版本遗留的,当时是填的sessionid
No branches or pull requests
关于cookies的bug
bug描述:
修改代码使得在yhtrader.py的request函数里打印log:
会发现,cookies=None . 所有的后端,比如yjbtrader.py等,都是一样。
顺着查找(搜索self.cookie),发现token函数没有被调用. 似乎应该算bug。。
The text was updated successfully, but these errors were encountered: