Giter VIP home page Giter VIP logo

ths_auto_trade's Introduction

ths_auto_trade

股票A股同花顺trade通达信指标程序化交易自动交易量化交易

免责声明: 程序仅供学习交流,请先用模拟账户进行测试,

如果用于实盘交易,风险自担,请知晓程序可能存在不可预知的风险。

0.学习交流讨论 加群 威信: gupiao888nb

Image text

2022.09.09更新

增加接口文档

增加POSTMAN接口导入文件

需配置变量 {{BASE_URL}} 和 {{TOKEN}}再使用

更换新的验证码识别方式

已经部署测试服务器,需要测试的VX联系,一天仅限一人测试。

2022.08.05更新

注意: 无法输入验证码的问题

更新最新的easytrader

更新最新的同花顺官方客户端

找到python的.\Lib\site-packages\easytrader目录

用项目的grid_strategies.py替换目录下的即可

1.先安装依赖 pip install -r requirements.txt

2.然后修改 run.py 里面的 client_path = 'C:/ths/xiadan.exe'

3.程序校验的token 看自己情况修改

4.需要发送通知 请配置自己的钉钉 dd_token

*********** 请先启动同花顺软件,然后打开同花顺的委托程序

python run.py 启动程序

python test.py 测试买卖下单查询等等

如果出现验证码 还需要安装OCR 参考easytrader文档

tesseract 安装及使用 https://blog.csdn.net/showgea/article/details/82656515

感谢easytrader

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

可以部署在自己的服务器上,通过HTTP协议接口发送订单数据下单。

Image text

Image text

如果对你有所帮助,赏杯咖啡

Image text

万一免五开户

Image text

ths_auto_trade's People

Contributors

ak4stock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.