All Projects → fasiondog → Hikyuu

fasiondog / Hikyuu

Licence: other
Hikyuu Quant Framework 基于C++/Python的开源量化交易研究框架

Labels

Projects that are alternatives of or similar to Hikyuu

Thstrader
量化交易。同花顺免费模拟炒股软件客户端的python API。(Python3)
Stars: ✭ 311 (-67.19%)
Mutual labels:  quant
Zipline Chinese
zipline 是开源量化平台,但是当前zipline 并不支持A股的测试,很多在线平台如优矿,聚宽等都是基于zipline,本项目改进zipline,使得zipline支持A股测试
Stars: ✭ 515 (-45.68%)
Mutual labels:  quant
Strategyease Python Sdk
策略易(StrategyEase)Python SDK,策略自动化交易 API 及量化平台。
Stars: ✭ 741 (-21.84%)
Mutual labels:  quant
Trady
Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
Stars: ✭ 433 (-54.32%)
Mutual labels:  quant
Pylivetrader
Python live trade execution library with zipline interface.
Stars: ✭ 470 (-50.42%)
Mutual labels:  quant
Quantaxis
QUANTAXIS 支持任务调度 分布式部署的 股票/期货/期权/港股/虚拟货币 数据/回测/模拟/交易/可视化/多账户 纯本地量化解决方案
Stars: ✭ 6,136 (+547.26%)
Mutual labels:  quant
51bitquant
51bitquant Python数字货币量化交易视频 CCXT框架 爬取交易所数据 比特币量化交易 交易机器人51bitquant tradingbot cryptocurrency quantitative trading btc trading
Stars: ✭ 284 (-70.04%)
Mutual labels:  quant
Quantaxis spider
QUANTAXIS 爬虫mod python/javascript/mongodb
Stars: ✭ 13 (-98.63%)
Mutual labels:  quant
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 (+699.79%)
Mutual labels:  quant
Sgx Full Orderbook Tick Data Trading Strategy
Providing the solutions for high-frequency trading (HFT) strategies using data science approaches (Machine Learning) on Full Orderbook Tick Data.
Stars: ✭ 733 (-22.68%)
Mutual labels:  quant
Rqalpha
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Stars: ✭ 4,425 (+366.77%)
Mutual labels:  quant
Quantdom
Python-based framework for backtesting trading strategies & analyzing financial markets [GUI ]
Stars: ✭ 449 (-52.64%)
Mutual labels:  quant
Funcat
Funcat 将同花顺、通达信、文华财经麦语言等的公式写法移植到了 Python 中。
Stars: ✭ 642 (-32.28%)
Mutual labels:  quant
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+357.17%)
Mutual labels:  quant
Quantstats
Portfolio analytics for quants, written in Python
Stars: ✭ 823 (-13.19%)
Mutual labels:  quant
Ctpbee
个人自动交易解决方案 / 持续维护中
Stars: ✭ 301 (-68.25%)
Mutual labels:  quant
Redtorch
Java开源量化交易开发框架
Stars: ✭ 528 (-44.3%)
Mutual labels:  quant
Awesome Ai In Finance
🔬 A curated list of awesome machine learning strategies & tools in financial market.
Stars: ✭ 910 (-4.01%)
Mutual labels:  quant
Vngo
golang version of vn.py
Stars: ✭ 25 (-97.36%)
Mutual labels:  quant
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+765.51%)
Mutual labels:  quant

.. image:: http://fasiondog.gitee.io/hikyuu/images/00000_title.png :target: http://fasiondog.gitee.io/hikyuu :align: left :alt: Hikyuu


.. image:: https://travis-ci.org/fasiondog/hikyuu.svg?branch=master :target: https://travis-ci.org/fasiondog/hikyuu

.. image:: https://github.com/fasiondog/hikyuu/workflows/win-build/badge.svg :target: https://github.com/fasiondog/hikyuu/actions

.. image:: https://img.shields.io/github/license/mashape/apistatus.svg :target: https://github.com/fasiondog/hikyuu/blob/master/LICENSE.txt :alt: GitHub

.. image:: https://img.shields.io/badge/license-Anti%20996-blue.svg :target: https://github.com/996icu/996.ICU/blob/master/LICENSE :alt: GitHub

Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架,用于策略分析及回测(仅受限于数据,如有数据也可用于期货等)。其核心思想基于当前成熟的系统化交易方法,将整个系统化交易抽象为由市场环境判断策略、系统有效条件、信号指示器、止损/止盈策略、资金管理策略、盈利目标策略、移滑价差算法七大组件,你可以分别构建这些组件的策略资产库,在实际研究中对它们自由组合来观察系统的有效性、稳定性以及单一种类策略的效果。

详细文档: <https://hikyuu.org/>_

如果上述网站无法访问,请戳这里: <http://fasiondog.gitee.io/hikyuu/>_

祝贺 HIKYUU 入选 GITEE 最有价值开源项目 GVP

.. image:: http://fasiondog.gitee.io/hikyuu/images/gitee_GVP.jpg :target: https://gitee.com/gvp :alt: Gitee

给作者加点油,每天扫扫红包,或者请作者喝杯咖啡

.. image:: http://fasiondog.gitee.io/hikyuu/images/juanzeng.jpg

示例:

::

#创建模拟交易账户进行回测,初始资金30万
my_tm = crtTM(initCash = 300000)

#创建信号指示器(以5日EMA为快线,5日EMA自身的10日EMA最为慢线,快线向上穿越慢线时买入,反之卖出)
my_sg = SG_Flex(OP(EMA(n=5)), slow_n=10)

#固定每次买入1000股
my_mm = MM_FixedCount(1000)

#创建交易系统并运行
sys = SYS_Simple(tm = my_tm, sg = my_sg, mm = my_mm)
sys.run(sm['sz000001'], Query(-150))

.. figure:: http://fasiondog.gitee.io/hikyuu/images/10000-overview.png :width: 600px

完整示例参见:<https://nbviewer.jupyter.org/github/fasiondog/hikyuu/blob/master/hikyuu/examples/notebook/000-Index.ipynb?flush_cache=True>_

为什么选择 Hikyuu?

  • 组合灵活,分类构建策略资产库 Hikyuu对系统化交易方法进行了良好的抽象,包含了九大策略组件:市场环境判断策略、系统有效条件、信号指示器、止损/止盈策略、资金管理策略、盈利目标策略、移滑价差算法、交易对象选择策略、资金分配策略。可以在此基础上构建自己的策略库,并进行灵活的组合和测试。在进行策略探索时,可以更加专注于某一方面的策略性能与影响。其主要功能模块如下:

    .. figure:: http://fasiondog.gitee.io/hikyuu/images/10002-function-arc.png :width: 600px

  • 性能保障,打造自己的专属应用 目前项目包含了3个主要组成部分:基于C++的核心库、对C++进行包装的Python库(hikyuu)、基于Python的交互式工具。

    • C++核心库,提供了整体的策略框架,在保证性能的同时,已经考虑了对多线程和多核处理的支持,在未来追求更高运算速度提供便利。C++核心库,可以单独剥离使用,自行构建自己的客户端工具。

    • Python库(hikyuu),提供了对C++库的包装,同时集成了talib库(如TA_SMA,对应talib.SMA),可以与numpy、pandas数据结构进行互相转换,为使用其他成熟的python数据分析工具提供了便利。

    • hikyuu.interactive 交互式探索工具,提供了K线、指标、系统信号等的基本绘图功能,用于对量化策略的探索和回测。

  • 代码简洁,探索更便捷、自由 同时支持面向对象和命令行编程范式。其中,命令行在进行策略探索时,代码简洁、探索更便捷、自由。

  • 安全、自由、隐私,搭建自己的专属云量化平台 结合 Python + Jupyter 的强大能力与云服务器,可以搭建自己专属的云量化平台。将Jupyter部署在云服务器上,随时随地的访问自己的云平台,即刻实现自己新的想法,如下图所示通过手机访问自己的云平台。结合Python强大成熟的数据分析、人工智能工具(如 numpy、scipy、pandas、TensorFlow)搭建更强大的人工智能平台。

  • 数据存储方式可扩展 目前支持本地HDF5格式、MySQL存储。默认使用HDF5,数据文件体积小、速度更快、备份更便利。截止至2017年4月21日,沪市日线数据文件149M、深市日线数据文件184M、5分钟线数据各不到2G。

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].