GithubHelp home page GithubHelp logo

aladdin898 / uqtrader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from musequant/uqtrader

0.0 2.0 0.0 8 KB

利用easytrader实现优矿网(https://uqer.io) 策略一键下单功能

License: MIT License

Python 100.00%

uqtrader's Introduction

uqtrader

  • 利用easytrader实现优矿网策略一键下单功能
  • 支持选择"我的交易"中任意策略

安装步骤

install anaconda

pip install -r requirements.txt

安装tesseract或java(二选一)用于识别验证码

  • windows用户直接点击:tesseract
  • linux用户: apt-get install tesseract-ocr
  • mac用户: brew install tesseract

用法

python trader.py 启动uqtrader

获取加密后的交易密码的步骤:

  1. 打开IE浏览器,输入华泰证券官网,填写客户号密码,此时不登陆;
  2. 点击F12,打开调试器;
  3. 选择网络标签;
  4. 点击F5,启动网络流量捕获;
  5. 摘要标签里,选择第一个请求:https://service.htsc.com.cn/service/loginAction.do?method=login;
  6. 点击详细信息标签;
  7. 点击请求正文标签,找到:trdpwdEns=f2cdf33b2ba8e98c4b1c71a459d2a649,trdpwdEns对应的就是加密后的交易密码。

在uqtrader客户端依次输入优矿网账号密码,华泰证券账号,加密后的交易密码,和通讯密码。

可以选择保存账号密码,避免下次重新输入。点击登陆按钮,成功登陆将会进入策略操作页面,否则请检查账号密码。

uqtrader's People

Contributors

musequant avatar

Watchers

James Cloos avatar  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.