ths_trade | 同花顺自动化交易股票下单接口API 证券量化交易必备工具 WEB API服务量化框架

 by   mpquant Python Version: Current License: No License

kandi X-RAY | ths_trade Summary

kandi X-RAY | ths_trade Summary

ths_trade is a Python library. ths_trade has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

同花顺自动化交易WEB下单接口API, 量化交易必备工具, 支持分策略交易和查询, 多年实盘自动化交易,大致同类的WEB下单接口某网售价2000元,我们全部免费开源,全功能,全源码,回馈量化交易爱好者。不过这种模拟键盘鼠标事件交易的模式也有其弊端,就是交易速度无法和券商提供的通道比,大致能到3秒一个单子,如果一次下很多单,系统只能自动排队,依次处理。不过大多数交易也不需要太高频,这样的速度也能基本满足程序化自动交易的需求。. 交易服务 API 不带任何界面,API 可以不受约束的下发交易查询指令,对多种编程语言都可以调用;. Windows 7 SP1 及以上. 交易服务运行需要开启一个同花顺交易客户端,对同花顺交易客户端 没有做任何修改和破解。 实际支持的券商和功能以满足监管要求为准,通过应用层的处理,方便通过同花顺下单,同花顺交易端支持 70~80 家券商,下方是支持的部分券商名单(完整券商名单请见:同花顺交易客户端相关->下载):. 交易服务程序启动后, 使用工具向 api 发送数据; 发送数据后自动进入队列, 开始实盘交易;. get_position 获取市价委托的 F6 持仓. get_today_trades 获取市价委托的 F7 当日成交. get_today_entrusts 获取市价委托的 F8 委托 (推荐使用此种方式查询委托的成交). 个人电脑:交易服务运行后,完成交易指令需要获取电脑的焦点,所以交易服务正在交易时不要使用鼠标,使 xiadan 程序前置; 云服务器(推荐):在云服务器端安装使用 VNCServer 工具,在客户端安装 VNCClient 远程连接云服务器,实测使用此工具可以随时连接和断开连接而不影响云服务器的焦点,可以长期运行,只要客户策略端向交易服务发送接口即可进入交易队列,等待交易;. 在 applications/work_queue 文件夹下的 ActiveWork.csv 文件是交易的队列. 如果调整过程中程序异常, 检查此交易队列中的 status 有没有为 0(未执行)的数据, 如果不需要再次执行则可以删除整行;. 如果修改文件请使用开发工具打开 或 EditPlus 或 Notepad++ ; 避免使用文本文件打开修改后出现编码问题;. 打开项目使用 Pycharm 或 VSCode ;.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ths_trade has a low active ecosystem.
              It has 145 star(s) with 39 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              ths_trade has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ths_trade is current.

            kandi-Quality Quality

              ths_trade has no bugs reported.

            kandi-Security Security

              ths_trade has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              ths_trade does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              ths_trade releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ths_trade
            Get all kandi verified functions for this library.

            ths_trade Key Features

            No Key Features are available at this moment for ths_trade.

            ths_trade Examples and Code Snippets

            No Code Snippets are available at this moment for ths_trade.

            Community Discussions

            No Community Discussions are available at this moment for ths_trade.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ths_trade

            You can download it from GitHub.
            You can use ths_trade like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mpquant/ths_trade.git

          • CLI

            gh repo clone mpquant/ths_trade

          • sshUrl

            git@github.com:mpquant/ths_trade.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link