GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bluestinger/PyAutoTrading

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
Logo
Logo
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
PyAutoTrading.pyw
PyAutoTrading.pyw
 
 
README.md
README.md
 
 
winguiauto.py
winguiauto.py
 
 

Repository files navigation

PyAutoTrading

股票交易软件辅助工具

简介

只能用于华泰证券独立交易软件(同花顺通用版暂时不支持)。先启动交易软件,然后再运行本程序。第一次使用,需在系统->快速交易 选型卡下,把 委托前是否需要确认和委托成功后是否弹出对话框全选为否,在交易设置标签页下, 把默认买入价格和默认卖出价格设置为卖五价和买五价,另外按F6键,把买卖价格锁定为涨停价和跌停价,尽量以市价成交,目前软件还无法知道是否真的成交,只能知道委托是否成功。如果有疑问,或是建议,可以发邮件联系。邮箱:[email protected]

注意事项:

  • 开发环境是win10 64bit, python3 64bit、pywin32、tushare。 以前是用python 32bit开发的,现在好像python 64bit的也能用。
  • winguiauto.py这个文件需一同下载,和PyAutoTrading.py放同一目录。
  • 不写时间条件单,默认时间为凌晨1点。如果只想要时间条件单而忽略价格条件单,可以写个始终满足条件的价格。其它地方不写,这行将不做处理。
  • 股票数量最好为100的倍数,小于100股的不会交易,大于100、非整数倍的将取整, 比如150股将作为100股。
  • 时间为24小时制,形式为 “时:分:秒”, 每项都必须写, 后面的写法是错误的: “13:30” 。

版本:

  • v 0.01 修正了股票价格实时显示问题。
  • v 0.02 重构了交易软件接口,目前在最小化状态下也可以下单,下单速度加快,增加委托日志。
  • v 0.03 重新布局了控件,修改委托日志控件。修复了少许Bug。
  • v 0.04 重新布局了控件,重构了monitor函数。现在一次可以下4个条件单。
  • v 0.05 加入时间条件单。
  • v 0.06 交易软件接口函数单独放winguiauto文件。
  • v 0.07 时间条件单和价格条件单相结合,添加保存和载入功能,存档和主文件在同一目录下,名为stockInfo.dat,是个二进制文件。
  • v 0.08 代码清理,添加了注释。现在可以同时监控5只股票。

About

No description, website, or topics provided.

Resources

Readme
GPL-2.0 license
Activity

Stars

20 stars

Watchers

6 watching

Forks

47 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.