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

这个使用TDX实时数据,能自建模拟交易么 #725

Open
zhangshoug opened this issue Jul 17, 2018 · 16 comments
Open

这个使用TDX实时数据,能自建模拟交易么 #725

zhangshoug opened this issue Jul 17, 2018 · 16 comments

Comments

@zhangshoug
Copy link

除了回测,想在本地自建模拟交易。不知有这个功能没有。

@yutiansut
Copy link
Owner

可以是可以 不过更推荐直接用实盘部分开一个通达信/同花顺模拟盘

@zhangshoug
Copy link
Author

主要是自己机器是Linux,实盘易在Linux上跑不起来

@yutiansut
Copy link
Owner

@zhangshoug 可以是可以的 但是我没写这块的文档

@zhangshoug
Copy link
Author

@yutiansut
Copy link
Owner

@zhangshoug 这个依然要windows客户端的 本质没有区别 你依然需要一个windows版本的交易软件

@yutiansut
Copy link
Owner

@zhangshoug 限制的主要是 交易软件需要windows 你可以试试用wine来运行交易软件

@zhangshoug
Copy link
Author

交易软件已经用playonlinux,底层是wine跑起来了。昨晚试了下pyautogui,效果还可以。已经能自动打开交易软件了,卡在密码输入哪里了。今天再看看,不行自己手动进交易软件,后面交易的过程才让pyautogui自动处理。

@yutiansut
Copy link
Owner

@zhangshoug 推荐看下puppet, 纯python实现的界面调用 跟你这个需求很一致

@zhangshoug
Copy link
Author

@yutiansut 多谢,密码输入解决了。进行到输入验证码了,正在钻研pytesseract

@yutiansut
Copy link
Owner

yutiansut commented Jul 21, 2018

@zhangshoug 已经有人做完了这些并且开源了...
参见 https://github.com/Raytone-D/puppet

@zhangshoug
Copy link
Author

@yutiansut 地址在哪呢?有开源的可以省不少时间.

@yutiansut
Copy link
Owner

我给了地址了呀 @zhangshoug https://github.com/Raytone-D/puppet

@zhangshoug
Copy link
Author

@yutiansut 多谢了。我去学习下.

@zhangshoug
Copy link
Author

@yutiansut 看了下,免配置安装,运行前需要先自行登录交易客户端。和我的:今天再看看,不行自己手动进交易软件,后面交易的过程才让pyautogui自动处理。思路一样样的。

@yutiansut
Copy link
Owner

@zhangshoug 嗯嗯

@zhangshoug
Copy link
Author

刚弄好自动登录交易客户端,https://github.com/zhangshoug/auto_trade_on_linux

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

2 participants