参考
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()
没有评论:
发表评论