Skip to content

AlphaQuant: 股票实盘交易SDK,支持华泰,广发

Notifications You must be signed in to change notification settings

darknessitachi/alphaquant

 
 

Repository files navigation

AlphaQuant

说明: 本SDK仅供参考学习,方便自动化下单,使用请遵守相关国家法规,不配资,不操纵股价。

======================================================================

安装部署:

系统需求:Windows或Linux系统或Mac,python2或python3

下载后解压缩即可,不需要安装运行券商交易客户端

Windows命令行运行stock_live_trade.exe

Linux或Mac系统命令行运行 wine stock_live_trade.exe,Linux和Mac系统需安装wine,可在命令行参数指定监听端口,例: stock_live_trade.exe 0.0.0.0 58888

命令行运行pip install thrift

将alpha_live_trade.py和alpha_trade_python目录拷贝到自己源代码目录,import alpha_live_trade即可使用

解压目录下的example目录中是例子代码,推荐使用pycharm编辑调试代码

API文档:http://www.alpha-qt.com/?page_id=175

QQ交流群:575874566

stock_live_trade.exe编译说明: vs2015及以上,需要thrift,libevent,boost,zlib,openssl

About

AlphaQuant: 股票实盘交易SDK,支持华泰,广发

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.9%
  • Python 2.2%
  • Other 0.9%