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

提交委托有时候能运行有时候不运行 #472

Open
ben46 opened this issue Jul 27, 2022 · 0 comments
Open

提交委托有时候能运行有时候不运行 #472

ben46 opened this issue Jul 27, 2022 · 0 comments

Comments

@ben46
Copy link

ben46 commented Jul 27, 2022

win10
同花顺5.18.91.124

clienttrader.py里面的_submit_trade方法,里面用到的
self._main_child_window(controler_id_self._config.TRADE_SUBMIT_CONTROL_ID, class_name="Button").click()
这行运行有时候能成功点击提交委托,有时候也不报错,能运行,但是实际上没有点击提交委托按钮
这个咋弄啊大佬,求教! 我用typekeys,模拟键盘按键{b},或者{ENTER},或者{VK_RETURN}都试过,各种报错不好使

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