hikyuu 2.0.9__cp39-none-win_amd64.whl → 2.1.1__cp39-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hikyuu/analysis/analysis.py +6 -5
- hikyuu/cpp/boost_date_time-mt.dll +0 -0
- hikyuu/cpp/boost_serialization-mt.dll +0 -0
- hikyuu/cpp/boost_wserialization-mt.dll +0 -0
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/data/common.py +1 -4
- hikyuu/draw/drawplot/matplotlib_draw.py +3 -2
- hikyuu/extend.py +3 -1
- hikyuu/flat/Spot.py +0 -139
- hikyuu/flat/SpotList.py +1 -59
- hikyuu/gui/HikyuuTDX.py +17 -11
- hikyuu/gui/data/UseTdxImportToH5Thread.py +1 -1
- hikyuu/hub.py +1 -1
- hikyuu/include/hikyuu/Block.h +2 -2
- hikyuu/include/hikyuu/DataType.h +2 -1
- hikyuu/include/hikyuu/KRecord.h +1 -1
- hikyuu/include/hikyuu/StockManager.h +3 -0
- hikyuu/include/hikyuu/analysis/combinate.h +1 -1
- hikyuu/include/hikyuu/config.h +3 -12
- hikyuu/include/hikyuu/global/agent/hikyuu/flat/__init__.py +1 -0
- hikyuu/include/hikyuu/global/agent/spot_generated.h +3 -225
- hikyuu/include/hikyuu/indicator/crt/BLOCKSETNUM.h +1 -9
- hikyuu/include/hikyuu/indicator/crt/INSUM.h +2 -5
- hikyuu/include/hikyuu/strategy/AccountTradeManager.h +3 -1
- hikyuu/include/hikyuu/trade_sys/allocatefunds/AllocateFundsBase.h +5 -5
- hikyuu/include/hikyuu/trade_sys/condition/ConditionBase.h +1 -1
- hikyuu/include/hikyuu/trade_sys/environment/EnvironmentBase.h +5 -5
- hikyuu/include/hikyuu/trade_sys/moneymanager/MoneyManagerBase.h +1 -1
- hikyuu/include/hikyuu/trade_sys/profitgoal/ProfitGoalBase.h +1 -1
- hikyuu/include/hikyuu/trade_sys/selector/SelectorBase.h +24 -1
- hikyuu/include/hikyuu/trade_sys/selector/build_in.h +1 -0
- hikyuu/include/hikyuu/trade_sys/selector/crt/SE_Fixed.h +5 -2
- hikyuu/include/hikyuu/trade_sys/selector/crt/SE_MultiFactor.h +2 -5
- hikyuu/include/hikyuu/trade_sys/selector/crt/SE_Operator.h +43 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/FixedSelector.h +1 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/MultiFactorSelector.h +9 -2
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorAddSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorAddValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorDivSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorDivValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorInvertDivValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorInvertSubValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorMulSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorMulValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorSelector.h +99 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorSubSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorSubValueSelector.h +19 -0
- hikyuu/include/hikyuu/trade_sys/selector/imp/OperatorValueSelector.h +77 -0
- hikyuu/include/hikyuu/trade_sys/signal/SignalBase.h +5 -5
- hikyuu/include/hikyuu/trade_sys/slippage/SlippageBase.h +1 -1
- hikyuu/include/hikyuu/trade_sys/stoploss/StoplossBase.h +6 -6
- hikyuu/include/hikyuu/trade_sys/system/System.h +21 -13
- hikyuu/include/hikyuu/utilities/FilterNode.h +267 -0
- hikyuu/include/hikyuu/utilities/LRUCache11.h +230 -0
- hikyuu/include/hikyuu/{Log.h → utilities/Log.h} +91 -113
- hikyuu/include/hikyuu/utilities/Null.h +1 -0
- hikyuu/include/hikyuu/utilities/Parameter.h +2 -1
- hikyuu/include/hikyuu/utilities/ResourcePool.h +636 -0
- hikyuu/include/hikyuu/utilities/SpendTimer.h +10 -9
- hikyuu/include/hikyuu/utilities/TimerManager.h +2 -2
- hikyuu/include/hikyuu/utilities/any_to_string.h +142 -0
- hikyuu/include/hikyuu/utilities/arithmetic.h +69 -33
- hikyuu/include/hikyuu/utilities/base64.h +59 -0
- hikyuu/include/hikyuu/utilities/config.h +41 -0
- hikyuu/include/hikyuu/utilities/datetime/Datetime.h +41 -31
- hikyuu/include/hikyuu/utilities/datetime/TimeDelta.h +24 -13
- hikyuu/include/hikyuu/utilities/db_connect/DBCondition.h +48 -48
- hikyuu/include/hikyuu/utilities/db_connect/DBConnect.h +10 -0
- hikyuu/include/hikyuu/utilities/db_connect/DBConnectBase.h +5 -22
- hikyuu/include/hikyuu/utilities/db_connect/DBUpgrade.h +3 -3
- hikyuu/include/hikyuu/utilities/db_connect/SQLException.h +1 -1
- hikyuu/include/hikyuu/utilities/db_connect/SQLResultSet.h +1 -1
- hikyuu/include/hikyuu/utilities/db_connect/SQLStatementBase.h +7 -7
- hikyuu/include/hikyuu/utilities/db_connect/TableMacro.h +1 -2
- hikyuu/include/hikyuu/utilities/db_connect/mysql/MySQLConnect.h +9 -9
- hikyuu/include/hikyuu/utilities/db_connect/mysql/MySQLStatement.h +18 -18
- hikyuu/include/hikyuu/utilities/db_connect/sqlite/SQLiteConnect.h +3 -3
- hikyuu/include/hikyuu/utilities/db_connect/sqlite/SQLiteStatement.h +2 -2
- hikyuu/include/hikyuu/utilities/db_connect/sqlite/SQLiteUtil.h +6 -6
- hikyuu/include/hikyuu/{exception.h → utilities/exception.h} +1 -0
- hikyuu/include/hikyuu/utilities/http_client/HttpClient.h +229 -0
- hikyuu/include/hikyuu/utilities/http_client/__init__.py +1 -0
- hikyuu/include/hikyuu/utilities/http_client/nng_wrap.h +517 -0
- hikyuu/include/hikyuu/utilities/http_client/url.h +25 -0
- hikyuu/include/hikyuu/utilities/{IniParser.h → ini_parser/IniParser.h} +10 -5
- hikyuu/include/hikyuu/utilities/ini_parser/__init__.py +1 -0
- hikyuu/include/hikyuu/utilities/md5.h +41 -0
- hikyuu/include/hikyuu/utilities/mo/__init__.py +1 -0
- hikyuu/include/hikyuu/utilities/mo/mo.h +48 -0
- hikyuu/include/hikyuu/utilities/mo/moFileReader.h +836 -0
- hikyuu/include/hikyuu/{global → utilities}/node/NodeClient.h +25 -18
- hikyuu/include/hikyuu/{global → utilities}/node/NodeError.h +1 -1
- hikyuu/include/hikyuu/{global → utilities}/node/NodeMessage.h +3 -2
- hikyuu/include/hikyuu/utilities/node/NodeServer.h +246 -0
- hikyuu/include/hikyuu/utilities/node/__init__.py +1 -0
- hikyuu/include/hikyuu/utilities/os.h +20 -14
- hikyuu/include/hikyuu/utilities/snowflake.h +110 -0
- hikyuu/include/hikyuu/utilities/string_view.h +70 -0
- hikyuu/include/hikyuu/utilities/thread/MQStealThreadPool.h +5 -5
- hikyuu/include/hikyuu/utilities/thread/MQThreadPool.h +5 -5
- hikyuu/include/hikyuu/utilities/thread/StealThreadPool.h +5 -5
- hikyuu/include/hikyuu/utilities/thread/ThreadPool.h +5 -5
- hikyuu/include/hikyuu/version.h +5 -5
- hikyuu/sqlite3.dll +0 -0
- hikyuu/vcruntime140.dll +0 -0
- hikyuu/vcruntime140_1.dll +0 -0
- hikyuu-2.1.1.dist-info/METADATA +115 -0
- {hikyuu-2.0.9.dist-info → hikyuu-2.1.1.dist-info}/RECORD +115 -82
- {hikyuu-2.0.9.dist-info → hikyuu-2.1.1.dist-info}/top_level.txt +6 -1
- hikyuu/README.rst +0 -79
- hikyuu/cpp/boost_atomic-mt.dll +0 -0
- hikyuu/cpp/boost_filesystem-mt.dll +0 -0
- hikyuu-2.0.9.dist-info/METADATA +0 -126
- /hikyuu/include/hikyuu/global/{node → agent/hikyuu}/__init__.py +0 -0
- {hikyuu-2.0.9.dist-info → hikyuu-2.1.1.dist-info}/LICENSE +0 -0
- {hikyuu-2.0.9.dist-info → hikyuu-2.1.1.dist-info}/WHEEL +0 -0
- {hikyuu-2.0.9.dist-info → hikyuu-2.1.1.dist-info}/entry_points.txt +0 -0
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
#pragma GCC diagnostic ignored "-Wsign-compare"
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
|
-
#ifndef
|
|
27
|
-
#define
|
|
26
|
+
#ifndef HKU_UTILS_API
|
|
27
|
+
#define HKU_UTILS_API
|
|
28
28
|
#endif
|
|
29
29
|
|
|
30
30
|
namespace hku {
|
|
@@ -38,7 +38,7 @@ namespace hku {
|
|
|
38
38
|
#ifdef _MSC_VER
|
|
39
39
|
class MQThreadPool {
|
|
40
40
|
#else
|
|
41
|
-
class
|
|
41
|
+
class HKU_UTILS_API MQThreadPool {
|
|
42
42
|
#endif
|
|
43
43
|
public:
|
|
44
44
|
/**
|
|
@@ -157,7 +157,7 @@ public:
|
|
|
157
157
|
if (m_interrupt_flags[i]) {
|
|
158
158
|
m_interrupt_flags[i]->set();
|
|
159
159
|
}
|
|
160
|
-
m_queues[i]->push(
|
|
160
|
+
m_queues[i]->push(FuncWrapper());
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
for (size_t i = 0; i < m_worker_num; i++) {
|
|
@@ -207,7 +207,7 @@ public:
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
for (size_t i = 0; i < m_worker_num; i++) {
|
|
210
|
-
m_queues[i]->push(
|
|
210
|
+
m_queues[i]->push(FuncWrapper());
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
// 等待线程结束
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
#pragma GCC diagnostic ignored "-Wsign-compare"
|
|
25
25
|
#endif
|
|
26
26
|
|
|
27
|
-
#ifndef
|
|
28
|
-
#define
|
|
27
|
+
#ifndef HKU_UTILS_API
|
|
28
|
+
#define HKU_UTILS_API
|
|
29
29
|
#endif
|
|
30
30
|
|
|
31
31
|
namespace hku {
|
|
@@ -39,7 +39,7 @@ namespace hku {
|
|
|
39
39
|
#ifdef _MSC_VER
|
|
40
40
|
class StealThreadPool {
|
|
41
41
|
#else
|
|
42
|
-
class
|
|
42
|
+
class HKU_UTILS_API StealThreadPool {
|
|
43
43
|
#endif
|
|
44
44
|
public:
|
|
45
45
|
/**
|
|
@@ -149,7 +149,7 @@ public:
|
|
|
149
149
|
if (m_interrupt_flags[i]) {
|
|
150
150
|
m_interrupt_flags[i]->set();
|
|
151
151
|
}
|
|
152
|
-
m_queues[i]->push_front(
|
|
152
|
+
m_queues[i]->push_front(FuncWrapper());
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
m_cv.notify_all(); // 唤醒所有工作线程
|
|
@@ -204,7 +204,7 @@ public:
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
for (size_t i = 0; i < m_worker_num; i++) {
|
|
207
|
-
m_master_work_queue.push(
|
|
207
|
+
m_master_work_queue.push(FuncWrapper());
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
// 唤醒所有工作线程
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
#pragma GCC diagnostic ignored "-Wsign-compare"
|
|
26
26
|
#endif
|
|
27
27
|
|
|
28
|
-
#ifndef
|
|
29
|
-
#define
|
|
28
|
+
#ifndef HKU_UTILS_API
|
|
29
|
+
#define HKU_UTILS_API
|
|
30
30
|
#endif
|
|
31
31
|
|
|
32
32
|
namespace hku {
|
|
@@ -40,7 +40,7 @@ namespace hku {
|
|
|
40
40
|
#ifdef _MSC_VER
|
|
41
41
|
class ThreadPool {
|
|
42
42
|
#else
|
|
43
|
-
class
|
|
43
|
+
class HKU_UTILS_API ThreadPool {
|
|
44
44
|
#endif
|
|
45
45
|
public:
|
|
46
46
|
/**
|
|
@@ -133,7 +133,7 @@ public:
|
|
|
133
133
|
if (m_interrupt_flags[i]) {
|
|
134
134
|
m_interrupt_flags[i]->set();
|
|
135
135
|
}
|
|
136
|
-
m_master_work_queue.push(
|
|
136
|
+
m_master_work_queue.push(FuncWrapper());
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
for (size_t i = 0; i < m_worker_num; i++) {
|
|
@@ -168,7 +168,7 @@ public:
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
for (size_t i = 0; i < m_worker_num; i++) {
|
|
171
|
-
m_master_work_queue.push(
|
|
171
|
+
m_master_work_queue.push(FuncWrapper());
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
// 等待线程结束
|
hikyuu/include/hikyuu/version.h
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
#define HKU_VERSION_H
|
|
13
13
|
|
|
14
14
|
// clang-format off
|
|
15
|
-
#define HKU_VERSION "2.
|
|
15
|
+
#define HKU_VERSION "2.1.1"
|
|
16
16
|
#define HKU_VERSION_MAJOR 2
|
|
17
|
-
#define HKU_VERSION_MINOR
|
|
18
|
-
#define HKU_VERSION_ALTER
|
|
19
|
-
#define HKU_VERSION_BUILD
|
|
17
|
+
#define HKU_VERSION_MINOR 1
|
|
18
|
+
#define HKU_VERSION_ALTER 1
|
|
19
|
+
#define HKU_VERSION_BUILD 202408091418
|
|
20
20
|
#define HKU_VERSION_MODE "RELEASE"
|
|
21
|
-
#define HKU_VERSION_GIT "2.
|
|
21
|
+
#define HKU_VERSION_GIT "2.1.1 release.664f60e9 (RELEASE)"
|
|
22
22
|
// clang-format on
|
|
23
23
|
|
|
24
24
|
#endif /* HKU_VERSION_H */
|
hikyuu/sqlite3.dll
ADDED
|
Binary file
|
hikyuu/vcruntime140.dll
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: hikyuu
|
|
3
|
+
Version: 2.1.1
|
|
4
|
+
Summary: Hikyuu Quant Framework for System Trading Analysis and backtester
|
|
5
|
+
Home-page: http://hikyuu.org/
|
|
6
|
+
Author: fasiondog
|
|
7
|
+
Author-email: fasiondog@sina.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: quant,trade,System Trading,backtester,量化,程序化交易,量化交易,系统交易
|
|
10
|
+
Platform: Independant
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
14
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
15
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
16
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
17
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
Requires-Dist: click
|
|
28
|
+
Requires-Dist: numpy <=1.26.4
|
|
29
|
+
Requires-Dist: matplotlib
|
|
30
|
+
Requires-Dist: pandas >=0.17.1
|
|
31
|
+
Requires-Dist: pytdx
|
|
32
|
+
Requires-Dist: PyQt5
|
|
33
|
+
Requires-Dist: tables
|
|
34
|
+
Requires-Dist: bokeh
|
|
35
|
+
Requires-Dist: gitpython
|
|
36
|
+
Requires-Dist: SQLAlchemy
|
|
37
|
+
Requires-Dist: mysql-connector-python
|
|
38
|
+
Requires-Dist: pyperclip
|
|
39
|
+
Requires-Dist: requests
|
|
40
|
+
Requires-Dist: qdarkstyle
|
|
41
|
+
Requires-Dist: flatbuffers >=24.3.25
|
|
42
|
+
Requires-Dist: pynng
|
|
43
|
+
Requires-Dist: akshare
|
|
44
|
+
Requires-Dist: pyecharts
|
|
45
|
+
Requires-Dist: pipdeptree
|
|
46
|
+
Requires-Dist: h5py
|
|
47
|
+
Requires-Dist: tdqm
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
     
|
|
54
|
+
|
|
55
|
+
Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架,用于策略分析及回测(目前主要用于国内A股市场)。其核心思想基于当前成熟的系统化交易方法,将整个系统化交易抽象为由市场环境判断策略、系统有效条件、信号指示器、止损/止盈策略、资金管理策略、盈利目标策略、移滑价差算法七大组件,你可以分别构建这些组件的策略资产库,在实际研究中对它们自由组合来观察系统的有效性、稳定性以及单一种类策略的效果。
|
|
56
|
+
|
|
57
|
+
详细文档:[https://hikyuu.org/](https://hikyuu.org/)
|
|
58
|
+
|
|
59
|
+
感谢网友提供的 Hikyuu Ubuntu虚拟机环境, 百度网盘下载(提取码: ht8j): [https://pan.baidu.com/s/1CAiUWDdgV0c0VhPpe4AgVw?pwd=ht8j](https://pan.baidu.com/s/1CAiUWDdgV0c0VhPpe4AgVw?pwd=ht8j)
|
|
60
|
+
|
|
61
|
+
示例:
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
#创建模拟交易账户进行回测,初始资金30万
|
|
65
|
+
my_tm = crtTM(init_cash = 300000)
|
|
66
|
+
|
|
67
|
+
#创建信号指示器(以5日EMA为快线,5日EMA自身的10日EMA作为慢线,快线向上穿越慢线时买入,反之卖出)
|
|
68
|
+
my_sg = SG_Flex(EMA(CLOSE(), n=5), slow_n=10)
|
|
69
|
+
|
|
70
|
+
#固定每次买入1000股
|
|
71
|
+
my_mm = MM_FixedCount(1000)
|
|
72
|
+
|
|
73
|
+
#创建交易系统并运行
|
|
74
|
+
sys = SYS_Simple(tm = my_tm, sg = my_sg, mm = my_mm)
|
|
75
|
+
sys.run(sm['sz000001'], Query(-150))
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
完整示例参见:[https://nbviewer.jupyter.org/github/fasiondog/hikyuu/blob/master/hikyuu/examples/notebook/000-Index.ipynb?flush_cache=True](https://nbviewer.jupyter.org/github/fasiondog/hikyuu/blob/master/hikyuu/examples/notebook/000-Index.ipynb?flush_cache=True)
|
|
81
|
+
|
|
82
|
+
# 为什么选择 Hikyuu?
|
|
83
|
+
|
|
84
|
+
* **组合灵活,分类构建策略资产库** Hikyuu对系统化交易方法进行了良好的抽象,包含了九大策略组件:市场环境判断策略、系统有效条件、信号指示器、止损/止盈策略、资金管理策略、盈利目标策略、移滑价差算法、交易对象选择策略、资金分配策略。可以在此基础上构建自己的策略库,并进行灵活的组合和测试。在进行策略探索时,可以更加专注于某一方面的策略性能与影响。其主要功能模块如下:
|
|
85
|
+
* **性能保障,打造自己的专属应用** 目前项目包含了3个主要组成部分:基于C++的核心库、对C++进行包装的Python库(hikyuu)、基于Python的交互式工具。
|
|
86
|
+
* 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)
|
|
87
|
+
* C++核心库,提供了整体的策略框架,在保证性能的同时,已经考虑了对多线程和多核处理的支持,在未来追求更高运算速度提供便利。C++核心库,可以单独剥离使用,自行构建自己的客户端工具。
|
|
88
|
+
* Python库(hikyuu),提供了对C++库的包装,同时集成了talib库(如TA_SMA,对应talib.SMA),可以与numpy、pandas数据结构进行互相转换,为使用其他成熟的python数据分析工具提供了便利。
|
|
89
|
+
* hikyuu.interactive 交互式探索工具,提供了K线、指标、系统信号等的基本绘图功能,用于对量化策略的探索和回测。
|
|
90
|
+
* **代码简洁,探索更便捷、自由** 同时支持面向对象和命令行编程范式。其中,命令行在进行策略探索时,代码简洁、探索更便捷、自由。
|
|
91
|
+
* **安全、自由、隐私,搭建自己的专属云量化平台** 结合 Python + Jupyter 的强大能力与云服务器,可以搭建自己专属的云量化平台。将Jupyter部署在云服务器上,随时随地的访问自己的云平台,即刻实现自己新的想法,如下图所示通过手机访问自己的云平台。结合Python强大成熟的数据分析、人工智能工具(如 numpy、scipy、pandas、TensorFlow)搭建更强大的人工智能平台。
|
|
92
|
+
* **数据存储方式可扩展** 目前支持本地HDF5格式、MySQL存储。默认使用HDF5,数据文件体积小、速度更快、备份更便利。截止至2017年4月21日,沪市日线数据文件149M、深市日线数据文件184M、5分钟线数据各不到2G。
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
# 想要更多了解Hikyuu?请使用以下方式联系:
|
|
97
|
+
|
|
98
|
+
## **加入知识星球**
|
|
99
|
+
|
|
100
|
+
更多示例与策略部件的及时分享(您的加入将视为对项目的捐赠)。**项目交流和问题答复将转移至知识星球-【Hikyuu量化】。**
|
|
101
|
+
|
|
102
|
+

|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## 关注公众号:
|
|
106
|
+
|
|
107
|
+

|
|
108
|
+
|
|
109
|
+
## 加入微信群(请注明“加入hikyuu”):
|
|
110
|
+
|
|
111
|
+

|
|
112
|
+
|
|
113
|
+
## QQ交流群(逐渐废弃):114910869, 或扫码加入
|
|
114
|
+
|
|
115
|
+

|