All Projects → sinall → Strategyease Python Sdk

sinall / Strategyease Python Sdk

Licence: mit
策略易(StrategyEase)Python SDK,策略自动化交易 API 及量化平台。

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Strategyease Python Sdk

trader
交易模块
Stars: ✭ 20 (-97.3%)
Mutual labels:  quant, trade
Abu
阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
Stars: ✭ 8,589 (+1059.11%)
Mutual labels:  trade, quant
Vngo
golang version of vn.py
Stars: ✭ 25 (-96.63%)
Mutual labels:  trade, quant
Openapi Python Sdk
Python SDK for Tiger Open API
Stars: ✭ 80 (-89.2%)
Mutual labels:  trade, quant
Amazingquant
基于Event-driven的量化交易解决方案
Stars: ✭ 128 (-82.73%)
Mutual labels:  trade, quant
Nodequant
一个基于Node.js的开源量化交易平台,轻巧地开发和部署量化投资策略
Stars: ✭ 444 (-40.08%)
Mutual labels:  trade, quant
Rqopen Client
rqopen-client:本地拿到Ricequant上实盘模拟交易策略的交易信号和持仓
Stars: ✭ 78 (-89.47%)
Mutual labels:  trade, quant
DeltaTrader
极简版Python量化交易工具
Stars: ✭ 174 (-76.52%)
Mutual labels:  quant, trade
Funcat
Funcat 将同花顺、通达信、文华财经麦语言等的公式写法移植到了 Python 中。
Stars: ✭ 642 (-13.36%)
Mutual labels:  trade, quant
Tribeca
A high frequency, market making cryptocurrency trading platform in node.js
Stars: ✭ 3,646 (+392.04%)
Mutual labels:  trade
Qlib
Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib.
Stars: ✭ 7,582 (+923.21%)
Mutual labels:  quant
Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+2936.57%)
Mutual labels:  trade
Poe Trades Companion
Enhance your trading experience in Path of Exile. Highly customizable.
Stars: ✭ 395 (-46.69%)
Mutual labels:  trade
Zipline Chinese
zipline 是开源量化平台,但是当前zipline 并不支持A股的测试,很多在线平台如优矿,聚宽等都是基于zipline,本项目改进zipline,使得zipline支持A股测试
Stars: ✭ 515 (-30.5%)
Mutual labels:  quant
Wolfbot
Crypto currency trading bot written in TypeScript for NodeJS
Stars: ✭ 335 (-54.79%)
Mutual labels:  trade
Robinhood Node
📈 NodeJS client for Robinhood Trading 🔥
Stars: ✭ 623 (-15.92%)
Mutual labels:  trade
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+484.89%)
Mutual labels:  quant
Thstrader
量化交易。同花顺免费模拟炒股软件客户端的python API。(Python3)
Stars: ✭ 311 (-58.03%)
Mutual labels:  quant
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+1007.29%)
Mutual labels:  quant
Quantaxis
QUANTAXIS 支持任务调度 分布式部署的 股票/期货/期权/港股/虚拟货币 数据/回测/模拟/交易/可视化/多账户 纯本地量化解决方案
Stars: ✭ 6,136 (+728.07%)
Mutual labels:  quant

StrategyEase-Python-SDK

策略易(StrategyEase)Python SDK。

| 策略易是\ 爱股网 <http://www.iguuu.com>__\ 旗下的策略自动化解决方案;提供基于 HTTP 协议的 RESTFul Service,并管理交易客户端。 | 详情见:http://www.iguuu.com/e | 交流QQ群:115279569 |策略交流| |

.. contents:: 目录

原理概述

  • 策略易通过调用 WINDOWS API 对交易客户端进行操作。
  • 策略易提供基于 HTTP 协议的 RESTFul Service/API。
  • SDK 对 API 进行了封装(由 strategyease_sdk/client.py 中的 Client 类实现)。
  • 本地策略或量化交易平台(目前支持聚宽、米筐、优矿)的模拟交易通过调用 SDK 实现自动下单。

功能介绍

  • 简单的策略易 HTTP API 封装,见 strategyease_sdk/client.py

  • 定时任务

    • 多账号自动新股申购(自动打新)
    • 多账号自动逆回购
    • 定时批量下单
  • 策略集成

    • 聚宽(JoinQuant)集成
    • 米筐(RiceQuant)集成
    • 优矿(Uqer)集成
    • 果仁(Guorn)集成

安装

  • 安装 Python 3.5(建议安装 Anaconda3-4.2.0 <https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/>_)
  • 命令行中运行

+--------+-------------------------------------------------------------------------+ | 正式版 | :code:pip install --no-binary strategyease_sdk strategyease_sdk | +--------+-------------------------------------------------------------------------+ | 测试版 | :code:pip install --pre --no-binary strategyease_sdk strategyease_sdk | +--------+-------------------------------------------------------------------------+

升级

  • 命令行中运行

+--------+---------------------------------------------------------------------------------------------+ | 正式版 | :code:pip install --upgrade --no-deps --no-binary strategyease_sdk strategyease_sdk | +--------+---------------------------------------------------------------------------------------------+ | 测试版 | :code:pip install --upgrade --pre --no-deps --no-binary strategyease_sdk strategyease_sdk | +--------+---------------------------------------------------------------------------------------------+

基本用法

.. code:: python

import logging

import strategyease_sdk

logging.basicConfig(level=logging.DEBUG)

client = strategyease_sdk.Client(host='localhost', port=8888, key='') account_info = client.get_account('title:monijiaoyi') print(account_info)

详见:examples/basic_example.py

测试用例

策略易 HTTP API 封装对应的测试用例见:

+------------+------------------------------------------------------+ | 查询及下单 | tests/strategyease_sdk/test_client.py | +------------+------------------------------------------------------+ | 客户端管理 | tests/strategyease_sdk/test_client_management.py | +------------+------------------------------------------------------+ | 融资融券 | tests/strategyease_sdk/test_client_margin_trading.py | +------------+------------------------------------------------------+ | 其他 | tests/strategyease_sdk/... | +------------+------------------------------------------------------+

定时任务调度

见《定时任务调度说明 <docs/scheduler.rst>_》

策略集成

见《策略集成说明 <docs/online-quant-integration.rst>_》

其他语言 SDK

C# SDK


| 由网友 @YBO(QQ:259219140)开发。
| 见 `ShiPanETradingSDK <http://git.oschina.net/ybo1990/ShiPanETradingSDK>`_

.. |策略交流| image:: http://pub.idqqimg.com/wpa/images/group.png
   :target: http://shang.qq.com/wpa/qunwpa?idkey=1ce867356702f5f7c56d07d5c694e37a3b9a523efce199bb0f6ff30410c6185d%22
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].