2021年2月7日星期日

easytrader测试

参考

https://www.pythonheidong.com/blog/article/441219/5d4c33fffa0c6b5affa8/


github easytrader

https://easytrader.readthedocs.io/zh/master/

https://github.com/shidenggui/easytrader


win 10环境测试成功:

下载并安装python 32位

 https://www.python.org/

https://www.python.org/ftp/python/3.7.9/python-3.7.9.exe



按win+R打开CMD

下面一行一回车(软路由开梯子)

pip install pywinauto==0.6.6


pip install pypiwin32 pandas numpy scikit-learn pillow scipy pytesseract tesseract easytrader


安装微软运行库

https://ghpym.lanzous.com/ihUzwkgfz6h


下载并打开同花顺,登陆交易账户


然后在开始输入python打开

一行一回车

import easytrader

user = easytrader.use('ths')

user.connect(r'D:\同花顺软件\同花顺\xiadan.exe')

红字改为你同花顺xiadan.exe路径


输入user.balance

能刷出余额信息则成功


一键打新

user.auto_ipo()

没有评论:

发表评论

转-汇丰香港开户详细教程(无须中介)

https://www.nodeseek.com/post-265532-1 汇丰香港,作为一家外资银行,同时也是香港三大具备发钞资格的银行之一,其全球业务网络广泛覆盖80余个国家和地区,稳居全球银行业前列。在香港开设银行账户时,汇丰香港是必开的香港银行账户之一。 一、开户前准备...