mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 11:58:21 +08:00
Merge branch 'master' of https://github.com/fasiondog/hikyuu into feature/se
This commit is contained in:
commit
38769b33a9
19
README.rst
19
README.rst
@ -1,5 +1,5 @@
|
||||
.. image:: http://fasiondog.cn/wp-content/uploads/2024/05/00000_title-1.png
|
||||
:target: http://fasiondog.gitee.io/hikyuu
|
||||
.. image:: https://img2.imgtp.com/2024/05/29/mSBrbO7R.png
|
||||
:target: https://gitee.com/fasiondog/hikyuu
|
||||
:align: left
|
||||
:alt: Hikyuu
|
||||
|
||||
@ -31,7 +31,6 @@ Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架
|
||||
|
||||
详细文档: `<https://hikyuu.org/>`_
|
||||
|
||||
如果上述网站无法访问,请戳这里: `<http://fasiondog.gitee.io/hikyuu/>`_
|
||||
|
||||
感谢网友提供的 Hikyuu Ubuntu虚拟机环境, 百度网盘下载(提取码: ht8j): `<https://pan.baidu.com/s/1CAiUWDdgV0c0VhPpe4AgVw?pwd=ht8j>`_
|
||||
|
||||
@ -53,7 +52,7 @@ Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架
|
||||
sys = SYS_Simple(tm = my_tm, sg = my_sg, mm = my_mm)
|
||||
sys.run(sm['sz000001'], Query(-150))
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/10000-overview.png
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/xTEvXesP.png
|
||||
:width: 600px
|
||||
|
||||
完整示例参见:`<https://nbviewer.jupyter.org/github/fasiondog/hikyuu/blob/master/hikyuu/examples/notebook/000-Index.ipynb?flush_cache=True>`_
|
||||
@ -64,12 +63,12 @@ Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架
|
||||
|
||||
- **组合灵活,分类构建策略资产库** Hikyuu对系统化交易方法进行了良好的抽象,包含了九大策略组件:市场环境判断策略、系统有效条件、信号指示器、止损/止盈策略、资金管理策略、盈利目标策略、移滑价差算法、交易对象选择策略、资金分配策略。可以在此基础上构建自己的策略库,并进行灵活的组合和测试。在进行策略探索时,可以更加专注于某一方面的策略性能与影响。其主要功能模块如下:
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/10002-function-arc.png
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/9SrY9vI1.png
|
||||
:width: 600px
|
||||
|
||||
- **性能保障,打造自己的专属应用** 目前项目包含了3个主要组成部分:基于C++的核心库、对C++进行包装的Python库(hikyuu)、基于Python的交互式工具。
|
||||
|
||||
- 百万级别 K 线数据,2~3秒内完成 A 股全市场回测
|
||||
- AMD 7950x 实测:A股全市场(1913万日K线)仅加载全部日线计算 20日 MA 并求最后 MA 累积和,首次执行含数据加载 耗时 6秒,数据加载完毕后计算耗时 166 毫秒,详见: `性能实测 <https://mp.weixin.qq.com/s?__biz=MzkwMzY1NzYxMA==&mid=2247483768&idx=1&sn=33e40aa9633857fa7b4c7ded51c95ae7&chksm=c093a09df7e4298b3f543121ba01334c0f8bf76e75c643afd6fc53aea1792ebb92de9a32c2be&mpshare=1&scene=23&srcid=05297ByHT6DEv6XAmyje1oOr&sharer_shareinfo=b38f5f91b4efd8fb60303a4ef4774748&sharer_shareinfo_first=b38f5f91b4efd8fb60303a4ef4774748#rd>`_
|
||||
|
||||
- C++核心库,提供了整体的策略框架,在保证性能的同时,已经考虑了对多线程和多核处理的支持,在未来追求更高运算速度提供便利。C++核心库,可以单独剥离使用,自行构建自己的客户端工具。
|
||||
|
||||
@ -93,22 +92,22 @@ Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架
|
||||
|
||||
**加入知识星球** 更多示例与策略部件的及时分享(您的加入将视为对项目的捐赠)
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/zhishixingqiu.png
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/3sEP6Re0.png
|
||||
|
||||
|
||||
**项目交流和问题答复将转移至知识星球-【Hikyuu量化】。**
|
||||
|
||||
- 关注公众号:
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/weixin_gongzhonghao.jpg
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/1NQztICj.jpg
|
||||
|
||||
|
||||
- 加入微信群(请注明“加入hikyuu”):
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/weixin_group.jpg
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/HD0dAgbn.jpg
|
||||
|
||||
|
||||
- QQ交流群(逐渐废弃):114910869, 或扫码加入:
|
||||
|
||||
.. figure:: http://fasiondog.cn/wp-content/uploads/2024/05/10003-qq.png
|
||||
.. figure:: https://img2.imgtp.com/2024/05/29/xAH2PesY.png
|
||||
|
||||
|
@ -152,7 +152,7 @@ class UseTdxImportToH5Thread(QThread):
|
||||
hdf5_import_progress[market][ktype] = progress
|
||||
current_progress = (hdf5_import_progress['SH'][ktype] + hdf5_import_progress['SZ'][ktype]) // 2
|
||||
self.send_message(['IMPORT_KDATA', ktype, current_progress])
|
||||
elif taskname == 'IMPORT_KDATA':
|
||||
elif taskname == 'IMPORT_FINANCE':
|
||||
self.send_message([taskname, progress])
|
||||
else:
|
||||
self.logger.error("Unknow task: {}".format(taskname))
|
||||
|
Loading…
Reference in New Issue
Block a user