Code Monkey home page Code Monkey logo

evolving's Introduction

Looking For Maintainers

Welcome to the evolving !

evolving is a trading engine for MacOS system.

Get in touch!

Installation guide

  1. Requirements

    • cliclick >= 4.0.1
    • python >= 3.8.5
    • 同花顺 == Version 2.3.1
  2. Dependencies

    brew install cliclick
    pip install `curl -fsSL https://raw.githubusercontent.com/zetatez/evolving/main/requirements.txt`
  3. Installation

  • It is strongly recommended to use the source code.
  1. Configuration Note:
  • You need to log in broker and bank account manually at least once.
  • If you want to use the email notification module, you need to register a 163 email account.
mkdir -p ~/.config/evolving
vim ~/.config/evolving/config.xml
<evolving>
    <trading>
        <userid>THS id</userid>
        <password>THS password</password>
        <broker_code>PAZQ</broker_code>
        <broker_account>your broker account</broker_account>
        <broker_password>broker account password</broker_password>
        <bank_name>bank name</bank_name>
        <bank_account>your bank account</bank_account>
        <bank_password>bank account password</bank_password>
    </trading>
    <mail>
        <mail_host>smtp.163.com</mail_host>
        <mail_sender>your email [email protected]</mail_sender>
        <mail_license>your email license</mail_license>
        <mail_receivers>your email [email protected]</mail_receivers>
    </mail>
</evolving>
  1. Authorization

    • Mac -> Systerm Preference -> Security & Privacy -> Privacy -> unluck -> "Accessibility" AND "Full Disk Access".
      • Terminal
      • osascript
  2. Tutorial A brief tutorial can be found at wiki.

For more information

  • Hints:
    • You need to log in broker and bank account manually at least once.

    • If you want to use the email notification module, you need to register a 163 email account.

    • Technically, there is no restriction on brokers, but I didn't develop it all. If you don't find the broker you want, you can make a little change to the asloginBroker of script ascmd.py.

      Up to now, The supported brokers are

      • <broker_code>ZXZQ</broker_code> -- 中信证券
      • <broker_code>PAZQ</broker_code> -- 平安证券
      • <broker_code>ZSZQ</broker_code> -- 浙商证券
      • <broker_code>GTJA</broker_code> -- 国泰君安
      • <broker_code>GJZQ</broker_code> -- 国金证券
      • <broker_code>XYZQ</broker_code> -- 兴业证券
      • <broker_code>ZJZQ</broker_code> -- 中金证券
      • <broker_code>ZTZQ</broker_code> -- 中泰证券

      Note: For different brokers, the display might be different. That is to say, the code might need to be slightly adjusted according to the different brokers.

To contribute

To contribute in this repo, please open a pull request from your fork of this repo.

LICENSE

Released under the MIT License.

evolving's People

Contributors

zetatez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

evolving's Issues

最新版同花顺不能登录券商资金账户

最新版同花顺不能登录券商资金账户
提示下面这个错误:

173:259: execution error: “System Events”遇到一个错误:不能获得“button 6 of window 1 of application process "同花顺"”。无效的索引。 (-1719)

直接报错了 依赖都有

libsu@MacBook-Pro ~ % /Users/libsu/Downloads/evolving-main/evo -s
savvy:30: command not found: ipython
libsu@MacBook-Pro ~ % ipython --version
7.25.0

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.