hikyuu 2.5.6__py3-none-macosx_11_0_arm64.whl → 2.6.1__py3-none-macosx_11_0_arm64.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.
Files changed (103) hide show
  1. hikyuu/__init__.py +33 -49
  2. hikyuu/__init__.pyi +23 -8
  3. hikyuu/analysis/__init__.pyi +8 -0
  4. hikyuu/analysis/analysis.pyi +9 -1
  5. hikyuu/core.pyi +10 -2
  6. hikyuu/cpp/core310.pyi +187 -22
  7. hikyuu/cpp/core310.so +0 -0
  8. hikyuu/cpp/core311.pyi +187 -22
  9. hikyuu/cpp/core311.so +0 -0
  10. hikyuu/cpp/core312.pyi +187 -22
  11. hikyuu/cpp/core312.so +0 -0
  12. hikyuu/cpp/core313.pyi +186 -22
  13. hikyuu/cpp/core313.so +0 -0
  14. hikyuu/cpp/libhikyuu.dylib +0 -0
  15. hikyuu/draw/__init__.pyi +1 -1
  16. hikyuu/draw/drawplot/__init__.py +2 -0
  17. hikyuu/draw/drawplot/__init__.pyi +2 -1
  18. hikyuu/draw/drawplot/bokeh_draw.pyi +17 -3
  19. hikyuu/draw/drawplot/echarts_draw.pyi +17 -3
  20. hikyuu/draw/drawplot/matplotlib_draw.py +80 -0
  21. hikyuu/draw/drawplot/matplotlib_draw.pyi +27 -3
  22. hikyuu/examples/notebook/002-HowToGetStock.ipynb +1 -1
  23. hikyuu/examples/notebook/004-IndicatorOverview.ipynb +117 -52
  24. hikyuu/extend.pyi +11 -3
  25. hikyuu/gui/HikyuuTDX.py +85 -15
  26. hikyuu/gui/data/ImportQmtToH5Task.py +209 -0
  27. hikyuu/gui/data/ImportTdxToH5Task.py +8 -1
  28. hikyuu/gui/data/MainWindow.py +94 -13
  29. hikyuu/gui/data/UseQmtImportToH5Thread.py +316 -0
  30. hikyuu/gui/data/UseTdxImportToH5Thread.py +221 -65
  31. hikyuu/gui/dataserver.py +25 -0
  32. hikyuu/gui/images/star.png +0 -0
  33. hikyuu/gui/importdata.py +24 -11
  34. hikyuu/hub.pyi +6 -6
  35. hikyuu/include/hikyuu/KData.h +5 -0
  36. hikyuu/include/hikyuu/KDataImp.h +4 -0
  37. hikyuu/include/hikyuu/StockManager.h +23 -0
  38. hikyuu/include/hikyuu/data_driver/kdata/mysql/KRecordTable.h +41 -2
  39. hikyuu/include/hikyuu/global/agent/spot_generated.h +3 -3
  40. hikyuu/include/hikyuu/indicator/crt/COUNT.h +3 -3
  41. hikyuu/include/hikyuu/indicator/crt/DISCARD.h +1 -1
  42. hikyuu/include/hikyuu/indicator/crt/ISINF.h +1 -1
  43. hikyuu/include/hikyuu/indicator/crt/ISINFA.h +1 -1
  44. hikyuu/include/hikyuu/indicator/crt/ISNA.h +1 -1
  45. hikyuu/include/hikyuu/indicator/crt/LAST.h +2 -2
  46. hikyuu/include/hikyuu/indicator/crt/MAX.h +1 -1
  47. hikyuu/include/hikyuu/indicator/crt/MIN.h +1 -1
  48. hikyuu/include/hikyuu/indicator/crt/PRICELIST.h +1 -15
  49. hikyuu/include/hikyuu/indicator/crt/SUMBARS.h +1 -1
  50. hikyuu/include/hikyuu/plugin/KDataToHdf5Importer.h +33 -0
  51. hikyuu/include/hikyuu/plugin/__init__.py +1 -0
  52. hikyuu/include/hikyuu/plugin/backtest.h +37 -0
  53. hikyuu/include/hikyuu/plugin/dataserver.h +18 -0
  54. hikyuu/include/hikyuu/plugin/device.h +29 -0
  55. hikyuu/include/hikyuu/plugin/interface/BackTestPluginInterface.h +26 -0
  56. hikyuu/include/hikyuu/plugin/interface/DataServerPluginInterface.h +23 -0
  57. hikyuu/include/hikyuu/plugin/interface/DevicePluginInterface.h +25 -0
  58. hikyuu/include/hikyuu/plugin/interface/ImportKDataToHdf5PluginInterface.h +33 -0
  59. hikyuu/include/hikyuu/plugin/interface/__init__.py +1 -0
  60. hikyuu/include/hikyuu/plugin/interface/plugins.h +22 -0
  61. hikyuu/include/hikyuu/python/pybind_utils.h +8 -0
  62. hikyuu/include/hikyuu/strategy/BrokerTradeManager.h +2 -1
  63. hikyuu/include/hikyuu/strategy/RunPortfolioInStrategy.h +1 -0
  64. hikyuu/include/hikyuu/strategy/Strategy.h +93 -16
  65. hikyuu/include/hikyuu/trade_manage/TradeManagerBase.h +4 -2
  66. hikyuu/include/hikyuu/trade_sys/portfolio/Portfolio.h +2 -1
  67. hikyuu/include/hikyuu/trade_sys/selector/SelectorBase.h +12 -9
  68. hikyuu/include/hikyuu/trade_sys/selector/imp/MultiFactorSelector.h +1 -1
  69. hikyuu/include/hikyuu/trade_sys/selector/imp/logic/OperatorSelector.h +12 -12
  70. hikyuu/include/hikyuu/trade_sys/selector/imp/logic/OperatorValueSelector.h +2 -2
  71. hikyuu/include/hikyuu/trade_sys/selector/imp/optimal/PerformanceOptimalSelector.h +1 -1
  72. hikyuu/include/hikyuu/trade_sys/system/System.h +12 -3
  73. hikyuu/include/hikyuu/trade_sys/system/imp/DelegateSystem.h +0 -1
  74. hikyuu/include/hikyuu/trade_sys/system/imp/WalkForwardSystem.h +0 -1
  75. hikyuu/include/hikyuu/trade_sys/system/imp/WalkForwardTradeManager.h +3 -2
  76. hikyuu/include/hikyuu/utilities/arithmetic.h +32 -22
  77. hikyuu/include/hikyuu/utilities/datetime/Datetime.h +1 -0
  78. hikyuu/include/hikyuu/utilities/plugin/PluginClient.h +2 -2
  79. hikyuu/include/hikyuu/utilities/plugin/PluginLoader.h +66 -13
  80. hikyuu/include/hikyuu/utilities/plugin/PluginManager.h +72 -0
  81. hikyuu/include/hikyuu/version.h +5 -5
  82. hikyuu/plugin/__init__.py +1 -0
  83. hikyuu/plugin/libbacktest.dylib +0 -0
  84. hikyuu/plugin/libdataserver.dylib +0 -0
  85. hikyuu/plugin/libdevice.dylib +0 -0
  86. hikyuu/plugin/libimport2hdf5.dylib +0 -0
  87. hikyuu/strategy/strategy_demo1.py +7 -8
  88. hikyuu/strategy/strategy_demo2.py +1 -1
  89. hikyuu/trade_manage/__init__.pyi +17 -3
  90. hikyuu/trade_manage/trade.pyi +17 -3
  91. hikyuu/util/__init__.py +1 -0
  92. hikyuu/util/__init__.pyi +3 -2
  93. hikyuu/util/mylog.py +30 -3
  94. hikyuu/util/mylog.pyi +3 -1
  95. hikyuu/util/singleton.pyi +1 -1
  96. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/METADATA +6 -2
  97. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/RECORD +102 -84
  98. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/entry_points.txt +1 -0
  99. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/top_level.txt +3 -0
  100. hikyuu/examples/notebook/011-PyechartsDrawplot.ipynb +0 -21821
  101. /hikyuu/gui/{hikyuu_small.png → images/hikyuu_small.png} +0 -0
  102. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/LICENSE +0 -0
  103. {hikyuu-2.5.6.dist-info → hikyuu-2.6.1.dist-info}/WHEEL +0 -0
hikyuu/__init__.py CHANGED
@@ -1,31 +1,12 @@
1
1
  #!/usr/bin/python
2
2
  # -*- coding: utf8 -*-
3
3
  # cp936
4
- #
5
- # The MIT License (MIT)
6
- #
7
- # Copyright (c) 2010-2017 fasiondog
8
- #
9
- # Permission is hereby granted, free of charge, to any person obtaining a copy
10
- # of this software and associated documentation files (the "Software"), to deal
11
- # in the Software without restriction, including without limitation the rights
12
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
- # copies of the Software, and to permit persons to whom the Software is
14
- # furnished to do so, subject to the following conditions:
15
- #
16
- # The above copyright notice and this permission notice shall be included in all
17
- # copies or substantial portions of the Software.
18
- #
19
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
- # SOFTWARE.
26
4
 
5
+ from pathlib import Path
6
+ import pickle
7
+ import traceback
27
8
  __copyright__ = """
28
- MIT License
9
+ Apache License Version 2.0
29
10
 
30
11
  Copyright (c) 2010-2017 fasiondog
31
12
 
@@ -48,10 +29,23 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
29
  SOFTWARE.
49
30
  """
50
31
 
51
- import traceback
52
32
  import sys
53
- import pickle
54
33
  import os
34
+ BASE_DIR = os.path.dirname(__file__)
35
+ if sys.platform == 'win32':
36
+ # add_dll_directory() 有时不生效
37
+ os.add_dll_directory(os.path.join(os.path.dirname(__file__), 'cpp'))
38
+ # 添加动态库所在的目录路径
39
+ current_path = os.environ.get('PATH', '')
40
+ dll_directory = os.path.join(BASE_DIR, 'cpp')
41
+ new_path = f"{dll_directory};{current_path}"
42
+ os.environ['PATH'] = new_path
43
+ else:
44
+ current_path = os.environ.get('LD_LIBRARY_PATH', '')
45
+ dll_directory = os.path.join(BASE_DIR, 'cpp')
46
+ new_path = f"{dll_directory}:{current_path}" if current_path else dll_directory
47
+ os.environ['LD_LIBRARY_PATH'] = new_path
48
+
55
49
 
56
50
  try:
57
51
  from .util import *
@@ -74,34 +68,18 @@ except Exception as e:
74
68
  raise e
75
69
 
76
70
 
77
- __copyright__ = """
78
- MIT License
79
-
80
- Copyright (c) 2010-2017 fasiondog
81
-
82
- Permission is hereby granted, free of charge, to any person obtaining a copy
83
- of this software and associated documentation files (the "Software"), to deal
84
- in the Software without restriction, including without limitation the rights
85
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
86
- copies of the Software, and to permit persons to whom the Software is
87
- furnished to do so, subject to the following conditions:
88
-
89
- The above copyright notice and this permission notice shall be included in all
90
- copies or substantial portions of the Software.
91
-
92
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
93
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
94
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
95
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
96
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
97
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
98
- SOFTWARE.
99
- """
100
-
101
71
  __version__ = get_version()
102
72
 
103
73
  sm = StockManager.instance()
104
74
 
75
+ plugin_path = Path.home() / '.hikyuu' / 'plugin'
76
+ if plugin_path.exists():
77
+ plugin_path = str(plugin_path)
78
+ else:
79
+ plugin_path = os.path.join(os.path.dirname(__file__), 'plugin')
80
+ sm.set_plugin_path(plugin_path)
81
+ print(f"current plugin path: {plugin_path}")
82
+
105
83
 
106
84
  class iodog:
107
85
  # Only for compatibility with old code
@@ -252,6 +230,12 @@ def load_hikyuu(**kwargs):
252
230
  hku_param["datadir"] = ini.get('hikyuu', 'datadir')
253
231
  if ini.has_option('hikyuu', 'quotation_server'):
254
232
  hku_param["quotation_server"] = ini['hikyuu']['quotation_server']
233
+ hku_param["load_history_finance"] = ini.getboolean("hikyuu", "load_history_finance", fallback=True)
234
+ hku_param["load_stock_weight"] = ini.getboolean("hikyuu", "load_stock_weight", fallback=True)
235
+ if ini.has_option('hikyuu', 'plugindir'):
236
+ hku_param["plugindir"] = ini.get('hikyuu', 'plugindir')
237
+ else:
238
+ hku_param["plugindir"] = os.path.join(os.path.dirname(__file__), "plugin")
255
239
 
256
240
  base_param = Parameter()
257
241
  base_info_config = ini.options('baseinfo')
hikyuu/__init__.pyi CHANGED
@@ -69,8 +69,8 @@ from hikyuu.cpp.core312 import DMA
69
69
  from hikyuu.cpp.core312 import DOWNNDAY
70
70
  from hikyuu.cpp.core312 import DROPNA
71
71
  from hikyuu.cpp.core312 import DataDriverFactory
72
- from hikyuu.cpp.core312 import Datetime
73
72
  from hikyuu.cpp.core312 import Datetime as D
73
+ from hikyuu.cpp.core312 import Datetime
74
74
  from hikyuu.cpp.core312 import DatetimeList
75
75
  from hikyuu.cpp.core312 import Days
76
76
  from hikyuu.cpp.core312 import EMA
@@ -118,13 +118,14 @@ from hikyuu.cpp.core312 import KALMAN
118
118
  from hikyuu.cpp.core312 import KDATA_PART
119
119
  from hikyuu.cpp.core312 import KData
120
120
  from hikyuu.cpp.core312 import KDataDriver
121
+ from hikyuu.cpp.core312 import KDataToHdf5Importer
121
122
  from hikyuu.cpp.core312 import KRecord
122
123
  from hikyuu.cpp.core312 import KRecordList
123
124
  from hikyuu.cpp.core312 import LAST
124
125
  from hikyuu.cpp.core312 import LASTVALUE as CONST
125
126
  from hikyuu.cpp.core312 import LASTVALUE
126
- from hikyuu.cpp.core312 import LIUTONGPAN
127
127
  from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
128
+ from hikyuu.cpp.core312 import LIUTONGPAN
128
129
  from hikyuu.cpp.core312 import LLV
129
130
  from hikyuu.cpp.core312 import LLVBARS
130
131
  from hikyuu.cpp.core312 import LN
@@ -170,16 +171,16 @@ from hikyuu.cpp.core312 import PG_FixedPercent
170
171
  from hikyuu.cpp.core312 import PG_NoGoal
171
172
  from hikyuu.cpp.core312 import POS
172
173
  from hikyuu.cpp.core312 import POW
173
- from hikyuu.cpp.core312 import PRICELIST as VALUE
174
174
  from hikyuu.cpp.core312 import PRICELIST
175
+ from hikyuu.cpp.core312 import PRICELIST as VALUE
175
176
  from hikyuu.cpp.core312 import Parameter
176
177
  from hikyuu.cpp.core312 import Performance
177
178
  from hikyuu.cpp.core312 import Portfolio
178
179
  from hikyuu.cpp.core312 import PositionRecord
179
180
  from hikyuu.cpp.core312 import PositionRecordList
180
181
  from hikyuu.cpp.core312 import ProfitGoalBase
181
- from hikyuu.cpp.core312 import Query
182
182
  from hikyuu.cpp.core312 import Query as Q
183
+ from hikyuu.cpp.core312 import Query
183
184
  from hikyuu.cpp.core312 import RECOVER_BACKWARD
184
185
  from hikyuu.cpp.core312 import RECOVER_EQUAL_BACKWARD
185
186
  from hikyuu.cpp.core312 import RECOVER_EQUAL_FORWARD
@@ -453,6 +454,8 @@ from hikyuu.cpp.core312 import ZHBOND10
453
454
  from hikyuu.cpp.core312 import ZONGGUBEN
454
455
  from hikyuu.cpp.core312 import ZSCORE
455
456
  from hikyuu.cpp.core312 import __init__ as old_Query_init
457
+ from hikyuu.cpp.core312 import active_device
458
+ from hikyuu.cpp.core312 import backtest
456
459
  from hikyuu.cpp.core312 import batch_calculate_inds
457
460
  from hikyuu.cpp.core312 import can_upgrade
458
461
  from hikyuu.cpp.core312 import close_ostream_to_python
@@ -464,6 +467,7 @@ from hikyuu.cpp.core312 import crtSEOptimal
464
467
  from hikyuu.cpp.core312 import crtTM
465
468
  from hikyuu.cpp.core312 import crt_pf_strategy
466
469
  from hikyuu.cpp.core312 import crt_sys_strategy
470
+ from hikyuu.cpp.core312 import fetch_trial_license
467
471
  from hikyuu.cpp.core312 import find_optimal_system
468
472
  from hikyuu.cpp.core312 import find_optimal_system_multi
469
473
  from hikyuu.cpp.core312 import get_block
@@ -487,6 +491,7 @@ from hikyuu.cpp.core312 import isinf
487
491
  from hikyuu.cpp.core312 import isnan
488
492
  from hikyuu.cpp.core312 import open_ostream_to_python
489
493
  from hikyuu.cpp.core312 import open_spend_time
494
+ from hikyuu.cpp.core312 import remove_license
490
495
  from hikyuu.cpp.core312 import roundDown
491
496
  from hikyuu.cpp.core312 import roundEx
492
497
  from hikyuu.cpp.core312 import roundUp
@@ -494,9 +499,12 @@ from hikyuu.cpp.core312 import run_in_strategy
494
499
  from hikyuu.cpp.core312 import set_log_level
495
500
  from hikyuu.cpp.core312 import set_python_in_interactive
496
501
  from hikyuu.cpp.core312 import set_python_in_jupyter
502
+ from hikyuu.cpp.core312 import start_data_server
497
503
  from hikyuu.cpp.core312 import start_spot_agent
504
+ from hikyuu.cpp.core312 import stop_data_server
498
505
  from hikyuu.cpp.core312 import stop_spot_agent
499
506
  from hikyuu.cpp.core312 import toPriceList
507
+ from hikyuu.cpp.core312 import view_license
500
508
  from hikyuu.draw.drawplot import adjust_axes_show
501
509
  from hikyuu.draw.drawplot import ax_draw_macd
502
510
  from hikyuu.draw.drawplot import ax_draw_macd2
@@ -507,8 +515,8 @@ from hikyuu.draw.drawplot import gcf
507
515
  from hikyuu.draw.drawplot import get_current_draw_engine
508
516
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWBAND
509
517
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWICON
510
- from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
511
518
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
519
+ from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
512
520
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWLINE
513
521
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER
514
522
  from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER_FIX
@@ -748,6 +756,7 @@ from hikyuu.util.mylog import LoggingContext
748
756
  from hikyuu.util.mylog import add_class_logger_handler
749
757
  from hikyuu.util.mylog import capture_multiprocess_all_logger
750
758
  from hikyuu.util.mylog import class_logger
759
+ from hikyuu.util.mylog import hku_benchmark
751
760
  from hikyuu.util.mylog import hku_debug as hku_trace
752
761
  from hikyuu.util.mylog import hku_debug
753
762
  from hikyuu.util.mylog import hku_debug_if
@@ -771,6 +780,7 @@ import logging
771
780
  import numpy as np
772
781
  import os as os
773
782
  import pandas as pd
783
+ from pathlib import Path
774
784
  import pickle as pickle
775
785
  import sys as sys
776
786
  import talib as talib
@@ -784,7 +794,7 @@ from . import extend
784
794
  from . import hub
785
795
  from . import trade_manage
786
796
  from . import util
787
- __all__ = ['A', 'ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'AMO', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'C', 'CAPITAL', 'CEILING', 'CLOSE', 'CN_Bool', 'CN_OPLine', 'CONST', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'D', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DRAWBAND', 'DRAWBMP', 'DRAWICON', 'DRAWIMG', 'DRAWLINE', 'DRAWNULL', 'DRAWNUMBER', 'DRAWNUMBER_FIX', 'DRAWRECTREL', 'DRAWSL', 'DRAWTEXT', 'DRAWTEXT_FIX', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'DatetimeList_to_df', 'DatetimeList_to_np', 'Datetime_date', 'Datetime_datetime', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EasyTraderOrderBroker', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'H', 'HHV', 'HHVBARS', 'HIGH', 'HKUCheckError', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'K', 'KALMAN', 'KDATA', 'KDATA_PART', 'KDJ', 'KData', 'KDataDriver', 'KData_getitem', 'KData_iter', 'KData_to_df', 'KData_to_np', 'KRecord', 'KRecordList', 'L', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LOW', 'LoanRecord', 'LoggingContext', 'MA', 'MACD', 'MAX', 'MAXYEAR', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MINYEAR', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MailOrderBroker', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'O', 'OFF', 'OPEN', 'OrderBrokerBase', 'OrderBrokerWrap', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'PLOYLINE', 'POS', 'POW', 'PRICELIST', 'PYTA_AD', 'PYTA_ADOSC', 'PYTA_ADX', 'PYTA_ADXR', 'PYTA_APO', 'PYTA_AROON', 'PYTA_AROONOSC', 'PYTA_ATR', 'PYTA_AVGPRICE', 'PYTA_BBANDS', 'PYTA_BETA', 'PYTA_BOP', 'PYTA_CCI', 'PYTA_CDL2CROWS', 'PYTA_CDL3BLACKCROWS', 'PYTA_CDL3INSIDE', 'PYTA_CDL3LINESTRIKE', 'PYTA_CDL3OUTSIDE', 'PYTA_CDL3STARSINSOUTH', 'PYTA_CDL3WHITESOLDIERS', 'PYTA_CDLABANDONEDBABY', 'PYTA_CDLADVANCEBLOCK', 'PYTA_CDLBELTHOLD', 'PYTA_CDLBREAKAWAY', 'PYTA_CDLCLOSINGMARUBOZU', 'PYTA_CDLCONCEALBABYSWALL', 'PYTA_CDLCOUNTERATTACK', 'PYTA_CDLDARKCLOUDCOVER', 'PYTA_CDLDOJI', 'PYTA_CDLDOJISTAR', 'PYTA_CDLDRAGONFLYDOJI', 'PYTA_CDLENGULFING', 'PYTA_CDLEVENINGDOJISTAR', 'PYTA_CDLEVENINGSTAR', 'PYTA_CDLGAPSIDESIDEWHITE', 'PYTA_CDLGRAVESTONEDOJI', 'PYTA_CDLHAMMER', 'PYTA_CDLHANGINGMAN', 'PYTA_CDLHARAMI', 'PYTA_CDLHARAMICROSS', 'PYTA_CDLHIGHWAVE', 'PYTA_CDLHIKKAKE', 'PYTA_CDLHIKKAKEMOD', 'PYTA_CDLHOMINGPIGEON', 'PYTA_CDLIDENTICAL3CROWS', 'PYTA_CDLINNECK', 'PYTA_CDLINVERTEDHAMMER', 'PYTA_CDLKICKING', 'PYTA_CDLKICKINGBYLENGTH', 'PYTA_CDLLADDERBOTTOM', 'PYTA_CDLLONGLEGGEDDOJI', 'PYTA_CDLLONGLINE', 'PYTA_CDLMARUBOZU', 'PYTA_CDLMATCHINGLOW', 'PYTA_CDLMATHOLD', 'PYTA_CDLMORNINGDOJISTAR', 'PYTA_CDLMORNINGSTAR', 'PYTA_CDLONNECK', 'PYTA_CDLPIERCING', 'PYTA_CDLRICKSHAWMAN', 'PYTA_CDLRISEFALL3METHODS', 'PYTA_CDLSEPARATINGLINES', 'PYTA_CDLSHOOTINGSTAR', 'PYTA_CDLSHORTLINE', 'PYTA_CDLSPINNINGTOP', 'PYTA_CDLSTALLEDPATTERN', 'PYTA_CDLSTICKSANDWICH', 'PYTA_CDLTAKURI', 'PYTA_CDLTASUKIGAP', 'PYTA_CDLTHRUSTING', 'PYTA_CDLTRISTAR', 'PYTA_CDLUNIQUE3RIVER', 'PYTA_CDLUPSIDEGAP2CROWS', 'PYTA_CDLXSIDEGAP3METHODS', 'PYTA_CMO', 'PYTA_CORREL', 'PYTA_DEMA', 'PYTA_DX', 'PYTA_EMA', 'PYTA_HT_DCPERIOD', 'PYTA_HT_DCPHASE', 'PYTA_HT_PHASOR', 'PYTA_HT_SINE', 'PYTA_HT_TRENDLINE', 'PYTA_HT_TRENDMODE', 'PYTA_KAMA', 'PYTA_LINEARREG', 'PYTA_LINEARREG_ANGLE', 'PYTA_LINEARREG_INTERCEPT', 'PYTA_LINEARREG_SLOPE', 'PYTA_MA', 'PYTA_MACD', 'PYTA_MACDEXT', 'PYTA_MACDFIX', 'PYTA_MAMA', 'PYTA_MAX', 'PYTA_MAXINDEX', 'PYTA_MEDPRICE', 'PYTA_MIDPOINT', 'PYTA_MIDPRICE', 'PYTA_MIN', 'PYTA_MININDEX', 'PYTA_MINMAX', 'PYTA_MINMAXINDEX', 'PYTA_MINUS_DI', 'PYTA_MINUS_DM', 'PYTA_MOM', 'PYTA_NATR', 'PYTA_OBV', 'PYTA_PLUS_DI', 'PYTA_PLUS_DM', 'PYTA_PPO', 'PYTA_ROC', 'PYTA_ROCP', 'PYTA_ROCR', 'PYTA_ROCR100', 'PYTA_RSI', 'PYTA_SAR', 'PYTA_SAREXT', 'PYTA_SMA', 'PYTA_STDDEV', 'PYTA_STOCH', 'PYTA_STOCHF', 'PYTA_STOCHRSI', 'PYTA_SUM', 'PYTA_T3', 'PYTA_TEMA', 'PYTA_TRANGE', 'PYTA_TRIMA', 'PYTA_TRIX', 'PYTA_TSF', 'PYTA_TYPPRICE', 'PYTA_ULTOSC', 'PYTA_VAR', 'PYTA_WCLPRICE', 'PYTA_WILLR', 'PYTA_WMA', 'Parameter', 'Parameter_items', 'Parameter_iter', 'Parameter_keys', 'Parameter_to_dict', 'Performance', 'Performance_to_df', 'Portfolio', 'PositionList_to_df', 'PositionList_to_np', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Q', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'RGB', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SHOWICONS', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STD', 'STDEV', 'STDP', 'STICKLINE', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TestOrderBroker', 'TimeDelta', 'TimeDelta_timedelta', 'TimeLineList', 'TimeLineRecord', 'TimeLine_to_df', 'TimeLine_to_np', 'TradeCostBase', 'TradeList_to_df', 'TradeList_to_np', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransList_to_df', 'TransList_to_np', 'TransRecord', 'UPNDAY', 'UTC', 'V', 'VALUE', 'VAR', 'VARP', 'VIGOR', 'VOL', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'add_class_logger_handler', 'add_local_hub', 'add_remote_hub', 'adjust_axes_show', 'analysis', 'analysis_sys_list', 'analysis_sys_list_multi', 'ax_draw_macd', 'ax_draw_macd2', 'ax_set_locator_formatter', 'batch_calculate_inds', 'blocka', 'blockbj', 'blockg', 'blocksh', 'blockstart', 'blocksz', 'blockzxb', 'broker', 'broker_easytrader', 'broker_mail', 'build_hub', 'can_upgrade', 'capture_multiprocess_all_logger', 'check_all_true', 'class_logger', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_ind_analysis', 'combinate_ind_analysis_multi', 'combinate_index', 'concat_to_df', 'constant', 'core', 'cpp', 'create_figure', 'crtAF', 'crtBrokerTM', 'crtCN', 'crtEV', 'crtMF', 'crtMM', 'crtOB', 'crtPG', 'crtSE', 'crtSEOptimal', 'crtSG', 'crtSP', 'crtST', 'crtTM', 'crtTaIndicatorImp', 'crt_pf_strategy', 'crt_sys_strategy', 'date', 'datetime', 'df_to_ind', 'draw', 'el', 'extend', 'find_optimal_system', 'find_optimal_system_multi', 'gca', 'gcf', 'get_block', 'get_business_name', 'get_current_draw_engine', 'get_current_hub', 'get_data_from_buffer_server', 'get_date_range', 'get_global_context', 'get_hub_name_list', 'get_hub_path', 'get_kdata', 'get_last_version', 'get_log_level', 'get_part', 'get_part_info', 'get_part_list', 'get_part_module', 'get_part_name_list', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'help_part', 'hikyuu_init', 'hku_catch', 'hku_check', 'hku_check_ignore', 'hku_check_throw', 'hku_debug', 'hku_debug_if', 'hku_error', 'hku_error_if', 'hku_fatal', 'hku_fatal_if', 'hku_info', 'hku_info_if', 'hku_load', 'hku_logger', 'hku_save', 'hku_to_async', 'hku_trace', 'hku_trace_if', 'hku_warn', 'hku_warn_if', 'hub', 'in_interactive_session', 'in_ipython_frontend', 'indicator', 'indicator_getitem', 'indicator_iter', 'indicator_to_df', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'iodog', 'isinf', 'isnan', 'kf', 'list_getitem', 'load_hikyuu', 'new_Query_init', 'np', 'old_Query_init', 'open_ostream_to_python', 'open_spend_time', 'os', 'part_clone', 'part_init', 'part_iter', 'pd', 'pickle', 'print_part_info', 'pyind', 'realtime_update_inner', 'realtime_update_wrap', 'remove_hub', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'search_part', 'select', 'select2', 'set_global_context', 'set_log_level', 'set_my_logger_file', 'set_python_in_interactive', 'set_python_in_jupyter', 'show_gcf', 'sm', 'spend_time', 'start_spot_agent', 'stop_spot_agent', 'sys', 'ta', 'talib', 'talib_wrap', 'tawrap_calculate', 'tawrap_clone', 'tawrap_init', 'tawrap_support_ind_param', 'time', 'timedelta', 'timeout', 'timezone', 'toPriceList', 'traceback', 'trade', 'trade_manage', 'trade_sys', 'tzinfo', 'update_hub', 'use_draw_engine', 'util', 'vl', 'with_trace', 'zsbk_a', 'zsbk_bj', 'zsbk_cyb', 'zsbk_hs300', 'zsbk_sh', 'zsbk_sh180', 'zsbk_sh50', 'zsbk_sz', 'zsbk_zxb', 'zsbk_zz100']
797
+ __all__ = ['A', 'ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'AMO', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BASE_DIR', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'C', 'CAPITAL', 'CEILING', 'CLOSE', 'CN_Bool', 'CN_OPLine', 'CONST', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'D', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DRAWBAND', 'DRAWBMP', 'DRAWICON', 'DRAWIMG', 'DRAWLINE', 'DRAWNULL', 'DRAWNUMBER', 'DRAWNUMBER_FIX', 'DRAWRECTREL', 'DRAWSL', 'DRAWTEXT', 'DRAWTEXT_FIX', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'DatetimeList_to_df', 'DatetimeList_to_np', 'Datetime_date', 'Datetime_datetime', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EasyTraderOrderBroker', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'H', 'HHV', 'HHVBARS', 'HIGH', 'HKUCheckError', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'K', 'KALMAN', 'KDATA', 'KDATA_PART', 'KDJ', 'KData', 'KDataDriver', 'KDataToHdf5Importer', 'KData_getitem', 'KData_iter', 'KData_to_df', 'KData_to_np', 'KRecord', 'KRecordList', 'L', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LOW', 'LoanRecord', 'LoggingContext', 'MA', 'MACD', 'MAX', 'MAXYEAR', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MINYEAR', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MailOrderBroker', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'O', 'OFF', 'OPEN', 'OrderBrokerBase', 'OrderBrokerWrap', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'PLOYLINE', 'POS', 'POW', 'PRICELIST', 'PYTA_AD', 'PYTA_ADOSC', 'PYTA_ADX', 'PYTA_ADXR', 'PYTA_APO', 'PYTA_AROON', 'PYTA_AROONOSC', 'PYTA_ATR', 'PYTA_AVGPRICE', 'PYTA_BBANDS', 'PYTA_BETA', 'PYTA_BOP', 'PYTA_CCI', 'PYTA_CDL2CROWS', 'PYTA_CDL3BLACKCROWS', 'PYTA_CDL3INSIDE', 'PYTA_CDL3LINESTRIKE', 'PYTA_CDL3OUTSIDE', 'PYTA_CDL3STARSINSOUTH', 'PYTA_CDL3WHITESOLDIERS', 'PYTA_CDLABANDONEDBABY', 'PYTA_CDLADVANCEBLOCK', 'PYTA_CDLBELTHOLD', 'PYTA_CDLBREAKAWAY', 'PYTA_CDLCLOSINGMARUBOZU', 'PYTA_CDLCONCEALBABYSWALL', 'PYTA_CDLCOUNTERATTACK', 'PYTA_CDLDARKCLOUDCOVER', 'PYTA_CDLDOJI', 'PYTA_CDLDOJISTAR', 'PYTA_CDLDRAGONFLYDOJI', 'PYTA_CDLENGULFING', 'PYTA_CDLEVENINGDOJISTAR', 'PYTA_CDLEVENINGSTAR', 'PYTA_CDLGAPSIDESIDEWHITE', 'PYTA_CDLGRAVESTONEDOJI', 'PYTA_CDLHAMMER', 'PYTA_CDLHANGINGMAN', 'PYTA_CDLHARAMI', 'PYTA_CDLHARAMICROSS', 'PYTA_CDLHIGHWAVE', 'PYTA_CDLHIKKAKE', 'PYTA_CDLHIKKAKEMOD', 'PYTA_CDLHOMINGPIGEON', 'PYTA_CDLIDENTICAL3CROWS', 'PYTA_CDLINNECK', 'PYTA_CDLINVERTEDHAMMER', 'PYTA_CDLKICKING', 'PYTA_CDLKICKINGBYLENGTH', 'PYTA_CDLLADDERBOTTOM', 'PYTA_CDLLONGLEGGEDDOJI', 'PYTA_CDLLONGLINE', 'PYTA_CDLMARUBOZU', 'PYTA_CDLMATCHINGLOW', 'PYTA_CDLMATHOLD', 'PYTA_CDLMORNINGDOJISTAR', 'PYTA_CDLMORNINGSTAR', 'PYTA_CDLONNECK', 'PYTA_CDLPIERCING', 'PYTA_CDLRICKSHAWMAN', 'PYTA_CDLRISEFALL3METHODS', 'PYTA_CDLSEPARATINGLINES', 'PYTA_CDLSHOOTINGSTAR', 'PYTA_CDLSHORTLINE', 'PYTA_CDLSPINNINGTOP', 'PYTA_CDLSTALLEDPATTERN', 'PYTA_CDLSTICKSANDWICH', 'PYTA_CDLTAKURI', 'PYTA_CDLTASUKIGAP', 'PYTA_CDLTHRUSTING', 'PYTA_CDLTRISTAR', 'PYTA_CDLUNIQUE3RIVER', 'PYTA_CDLUPSIDEGAP2CROWS', 'PYTA_CDLXSIDEGAP3METHODS', 'PYTA_CMO', 'PYTA_CORREL', 'PYTA_DEMA', 'PYTA_DX', 'PYTA_EMA', 'PYTA_HT_DCPERIOD', 'PYTA_HT_DCPHASE', 'PYTA_HT_PHASOR', 'PYTA_HT_SINE', 'PYTA_HT_TRENDLINE', 'PYTA_HT_TRENDMODE', 'PYTA_KAMA', 'PYTA_LINEARREG', 'PYTA_LINEARREG_ANGLE', 'PYTA_LINEARREG_INTERCEPT', 'PYTA_LINEARREG_SLOPE', 'PYTA_MA', 'PYTA_MACD', 'PYTA_MACDEXT', 'PYTA_MACDFIX', 'PYTA_MAMA', 'PYTA_MAX', 'PYTA_MAXINDEX', 'PYTA_MEDPRICE', 'PYTA_MIDPOINT', 'PYTA_MIDPRICE', 'PYTA_MIN', 'PYTA_MININDEX', 'PYTA_MINMAX', 'PYTA_MINMAXINDEX', 'PYTA_MINUS_DI', 'PYTA_MINUS_DM', 'PYTA_MOM', 'PYTA_NATR', 'PYTA_OBV', 'PYTA_PLUS_DI', 'PYTA_PLUS_DM', 'PYTA_PPO', 'PYTA_ROC', 'PYTA_ROCP', 'PYTA_ROCR', 'PYTA_ROCR100', 'PYTA_RSI', 'PYTA_SAR', 'PYTA_SAREXT', 'PYTA_SMA', 'PYTA_STDDEV', 'PYTA_STOCH', 'PYTA_STOCHF', 'PYTA_STOCHRSI', 'PYTA_SUM', 'PYTA_T3', 'PYTA_TEMA', 'PYTA_TRANGE', 'PYTA_TRIMA', 'PYTA_TRIX', 'PYTA_TSF', 'PYTA_TYPPRICE', 'PYTA_ULTOSC', 'PYTA_VAR', 'PYTA_WCLPRICE', 'PYTA_WILLR', 'PYTA_WMA', 'Parameter', 'Parameter_items', 'Parameter_iter', 'Parameter_keys', 'Parameter_to_dict', 'Path', 'Performance', 'Performance_to_df', 'Portfolio', 'PositionList_to_df', 'PositionList_to_np', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Q', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'RGB', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SHOWICONS', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STD', 'STDEV', 'STDP', 'STICKLINE', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TestOrderBroker', 'TimeDelta', 'TimeDelta_timedelta', 'TimeLineList', 'TimeLineRecord', 'TimeLine_to_df', 'TimeLine_to_np', 'TradeCostBase', 'TradeList_to_df', 'TradeList_to_np', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransList_to_df', 'TransList_to_np', 'TransRecord', 'UPNDAY', 'UTC', 'V', 'VALUE', 'VAR', 'VARP', 'VIGOR', 'VOL', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'active_device', 'add_class_logger_handler', 'add_local_hub', 'add_remote_hub', 'adjust_axes_show', 'analysis', 'analysis_sys_list', 'analysis_sys_list_multi', 'ax_draw_macd', 'ax_draw_macd2', 'ax_set_locator_formatter', 'backtest', 'batch_calculate_inds', 'blocka', 'blockbj', 'blockg', 'blocksh', 'blockstart', 'blocksz', 'blockzxb', 'broker', 'broker_easytrader', 'broker_mail', 'build_hub', 'can_upgrade', 'capture_multiprocess_all_logger', 'check_all_true', 'class_logger', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_ind_analysis', 'combinate_ind_analysis_multi', 'combinate_index', 'concat_to_df', 'constant', 'core', 'cpp', 'create_figure', 'crtAF', 'crtBrokerTM', 'crtCN', 'crtEV', 'crtMF', 'crtMM', 'crtOB', 'crtPG', 'crtSE', 'crtSEOptimal', 'crtSG', 'crtSP', 'crtST', 'crtTM', 'crtTaIndicatorImp', 'crt_pf_strategy', 'crt_sys_strategy', 'current_path', 'date', 'datetime', 'df_to_ind', 'dll_directory', 'draw', 'el', 'extend', 'fetch_trial_license', 'find_optimal_system', 'find_optimal_system_multi', 'gca', 'gcf', 'get_block', 'get_business_name', 'get_current_draw_engine', 'get_current_hub', 'get_data_from_buffer_server', 'get_date_range', 'get_global_context', 'get_hub_name_list', 'get_hub_path', 'get_kdata', 'get_last_version', 'get_log_level', 'get_part', 'get_part_info', 'get_part_list', 'get_part_module', 'get_part_name_list', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'help_part', 'hikyuu_init', 'hku_benchmark', 'hku_catch', 'hku_check', 'hku_check_ignore', 'hku_check_throw', 'hku_debug', 'hku_debug_if', 'hku_error', 'hku_error_if', 'hku_fatal', 'hku_fatal_if', 'hku_info', 'hku_info_if', 'hku_load', 'hku_logger', 'hku_save', 'hku_to_async', 'hku_trace', 'hku_trace_if', 'hku_warn', 'hku_warn_if', 'hub', 'in_interactive_session', 'in_ipython_frontend', 'indicator', 'indicator_getitem', 'indicator_iter', 'indicator_to_df', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'iodog', 'isinf', 'isnan', 'kf', 'list_getitem', 'load_hikyuu', 'new_Query_init', 'new_path', 'np', 'old_Query_init', 'open_ostream_to_python', 'open_spend_time', 'os', 'part_clone', 'part_init', 'part_iter', 'pd', 'pickle', 'plugin_path', 'print_part_info', 'pyind', 'realtime_update_inner', 'realtime_update_wrap', 'remove_hub', 'remove_license', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'search_part', 'select', 'select2', 'set_global_context', 'set_log_level', 'set_my_logger_file', 'set_python_in_interactive', 'set_python_in_jupyter', 'show_gcf', 'sm', 'spend_time', 'start_data_server', 'start_spot_agent', 'stop_data_server', 'stop_spot_agent', 'sys', 'ta', 'talib', 'talib_wrap', 'tawrap_calculate', 'tawrap_clone', 'tawrap_init', 'tawrap_support_ind_param', 'time', 'timedelta', 'timeout', 'timezone', 'toPriceList', 'traceback', 'trade', 'trade_manage', 'trade_sys', 'tzinfo', 'update_hub', 'use_draw_engine', 'util', 'view_license', 'vl', 'with_trace', 'zsbk_a', 'zsbk_bj', 'zsbk_cyb', 'zsbk_hs300', 'zsbk_sh', 'zsbk_sh180', 'zsbk_sh50', 'zsbk_sz', 'zsbk_zxb', 'zsbk_zz100']
788
798
  class iodog:
789
799
  @staticmethod
790
800
  def close():
@@ -905,6 +915,7 @@ def set_global_context(stk, query):
905
915
  """
906
916
  A: cpp.core312.Indicator # value = Indicator{...
907
917
  AMO: cpp.core312.Indicator # value = Indicator{...
918
+ BASE_DIR: str = '/Users/fasiondog/workspace/hikyuu/hikyuu'
908
919
  C: cpp.core312.Indicator # value = Indicator{...
909
920
  CLOSE: cpp.core312.Indicator # value = Indicator{...
910
921
  DEBUG: cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.DEBUG: 1>
@@ -929,8 +940,8 @@ UTC: datetime.timezone # value = datetime.timezone.utc
929
940
  V: cpp.core312.Indicator # value = Indicator{...
930
941
  VOL: cpp.core312.Indicator # value = Indicator{...
931
942
  WARN: cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.WARN: 3>
932
- __copyright__: str = '\nMIT License\n\nCopyright (c) 2010-2017 fasiondog\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n'
933
- __version__: str = '2.5.6'
943
+ __copyright__: str = '\nApache License Version 2.0\n\nCopyright (c) 2010-2017 fasiondog\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n'
944
+ __version__: str = '2.6.1'
934
945
  blocka = None
935
946
  blockbj = None
936
947
  blockg = None
@@ -939,7 +950,11 @@ blockstart = None
939
950
  blocksz = None
940
951
  blockzxb = None
941
952
  constant: cpp.core312.Constant # value = <hikyuu.cpp.core312.Constant object>
953
+ current_path: str = ''
954
+ dll_directory: str = '/Users/fasiondog/workspace/hikyuu/hikyuu/cpp'
942
955
  hku_logger: logging.Logger # value = <Logger hikyuu (INFO)>
956
+ new_path: str = '/Users/fasiondog/workspace/hikyuu/hikyuu/cpp'
957
+ plugin_path: str = '/Users/fasiondog/.hikyuu/plugin'
943
958
  sm: cpp.core312.StockManager # value = <hikyuu.cpp.core312.StockManager object>
944
959
  zsbk_a = None
945
960
  zsbk_bj = None
@@ -112,6 +112,7 @@ from hikyuu.cpp.core312 import KALMAN
112
112
  from hikyuu.cpp.core312 import KDATA_PART
113
113
  from hikyuu.cpp.core312 import KData
114
114
  from hikyuu.cpp.core312 import KDataDriver
115
+ from hikyuu.cpp.core312 import KDataToHdf5Importer
115
116
  from hikyuu.cpp.core312 import KRecord
116
117
  from hikyuu.cpp.core312 import KRecordList
117
118
  from hikyuu.cpp.core312 import LAST
@@ -441,6 +442,8 @@ from hikyuu.cpp.core312 import YEAR
441
442
  from hikyuu.cpp.core312 import ZHBOND10
442
443
  from hikyuu.cpp.core312 import ZONGGUBEN
443
444
  from hikyuu.cpp.core312 import ZSCORE
445
+ from hikyuu.cpp.core312 import active_device
446
+ from hikyuu.cpp.core312 import backtest
444
447
  from hikyuu.cpp.core312 import batch_calculate_inds
445
448
  from hikyuu.cpp.core312 import can_upgrade
446
449
  from hikyuu.cpp.core312 import close_ostream_to_python
@@ -452,6 +455,7 @@ from hikyuu.cpp.core312 import crtSEOptimal
452
455
  from hikyuu.cpp.core312 import crtTM
453
456
  from hikyuu.cpp.core312 import crt_pf_strategy
454
457
  from hikyuu.cpp.core312 import crt_sys_strategy
458
+ from hikyuu.cpp.core312 import fetch_trial_license
455
459
  from hikyuu.cpp.core312 import find_optimal_system
456
460
  from hikyuu.cpp.core312 import find_optimal_system_multi
457
461
  from hikyuu.cpp.core312 import get_block
@@ -475,6 +479,7 @@ from hikyuu.cpp.core312 import isinf
475
479
  from hikyuu.cpp.core312 import isnan
476
480
  from hikyuu.cpp.core312 import open_ostream_to_python
477
481
  from hikyuu.cpp.core312 import open_spend_time
482
+ from hikyuu.cpp.core312 import remove_license
478
483
  from hikyuu.cpp.core312 import roundDown
479
484
  from hikyuu.cpp.core312 import roundEx
480
485
  from hikyuu.cpp.core312 import roundUp
@@ -482,9 +487,12 @@ from hikyuu.cpp.core312 import run_in_strategy
482
487
  from hikyuu.cpp.core312 import set_log_level
483
488
  from hikyuu.cpp.core312 import set_python_in_interactive
484
489
  from hikyuu.cpp.core312 import set_python_in_jupyter
490
+ from hikyuu.cpp.core312 import start_data_server
485
491
  from hikyuu.cpp.core312 import start_spot_agent
492
+ from hikyuu.cpp.core312 import stop_data_server
486
493
  from hikyuu.cpp.core312 import stop_spot_agent
487
494
  from hikyuu.cpp.core312 import toPriceList
495
+ from hikyuu.cpp.core312 import view_license
488
496
  import pandas as pd
489
497
  import sys as sys
490
498
  from . import analysis
@@ -108,6 +108,7 @@ from hikyuu.cpp.core312 import KALMAN
108
108
  from hikyuu.cpp.core312 import KDATA_PART
109
109
  from hikyuu.cpp.core312 import KData
110
110
  from hikyuu.cpp.core312 import KDataDriver
111
+ from hikyuu.cpp.core312 import KDataToHdf5Importer
111
112
  from hikyuu.cpp.core312 import KRecord
112
113
  from hikyuu.cpp.core312 import KRecordList
113
114
  from hikyuu.cpp.core312 import LAST
@@ -437,6 +438,8 @@ from hikyuu.cpp.core312 import YEAR
437
438
  from hikyuu.cpp.core312 import ZHBOND10
438
439
  from hikyuu.cpp.core312 import ZONGGUBEN
439
440
  from hikyuu.cpp.core312 import ZSCORE
441
+ from hikyuu.cpp.core312 import active_device
442
+ from hikyuu.cpp.core312 import backtest
440
443
  from hikyuu.cpp.core312 import batch_calculate_inds
441
444
  from hikyuu.cpp.core312 import can_upgrade
442
445
  from hikyuu.cpp.core312 import close_ostream_to_python
@@ -448,6 +451,7 @@ from hikyuu.cpp.core312 import crtSEOptimal
448
451
  from hikyuu.cpp.core312 import crtTM
449
452
  from hikyuu.cpp.core312 import crt_pf_strategy
450
453
  from hikyuu.cpp.core312 import crt_sys_strategy
454
+ from hikyuu.cpp.core312 import fetch_trial_license
451
455
  from hikyuu.cpp.core312 import find_optimal_system
452
456
  from hikyuu.cpp.core312 import find_optimal_system_multi
453
457
  from hikyuu.cpp.core312 import get_block
@@ -471,6 +475,7 @@ from hikyuu.cpp.core312 import isinf
471
475
  from hikyuu.cpp.core312 import isnan
472
476
  from hikyuu.cpp.core312 import open_ostream_to_python
473
477
  from hikyuu.cpp.core312 import open_spend_time
478
+ from hikyuu.cpp.core312 import remove_license
474
479
  from hikyuu.cpp.core312 import roundDown
475
480
  from hikyuu.cpp.core312 import roundEx
476
481
  from hikyuu.cpp.core312 import roundUp
@@ -478,12 +483,15 @@ from hikyuu.cpp.core312 import run_in_strategy
478
483
  from hikyuu.cpp.core312 import set_log_level
479
484
  from hikyuu.cpp.core312 import set_python_in_interactive
480
485
  from hikyuu.cpp.core312 import set_python_in_jupyter
486
+ from hikyuu.cpp.core312 import start_data_server
481
487
  from hikyuu.cpp.core312 import start_spot_agent
488
+ from hikyuu.cpp.core312 import stop_data_server
482
489
  from hikyuu.cpp.core312 import stop_spot_agent
483
490
  from hikyuu.cpp.core312 import toPriceList
491
+ from hikyuu.cpp.core312 import view_license
484
492
  import pandas as pd
485
493
  import sys as sys
486
- __all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'analysis_sys_list', 'analysis_sys_list_multi', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_ind_analysis', 'combinate_ind_analysis_multi', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_kdata', 'get_last_version', 'get_log_level', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'isinf', 'isnan', 'open_ostream_to_python', 'open_spend_time', 'pd', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'start_spot_agent', 'stop_spot_agent', 'sys', 'toPriceList']
494
+ __all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KDataToHdf5Importer', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'active_device', 'analysis_sys_list', 'analysis_sys_list_multi', 'backtest', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_ind_analysis', 'combinate_ind_analysis_multi', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'fetch_trial_license', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_kdata', 'get_last_version', 'get_log_level', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'isinf', 'isnan', 'open_ostream_to_python', 'open_spend_time', 'pd', 'remove_license', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'start_data_server', 'start_spot_agent', 'stop_data_server', 'stop_spot_agent', 'sys', 'toPriceList', 'view_license']
487
495
  def analysis_sys_list(stks, query, sys_proto, keys = ['累计投入本金', '当前总资产', '现金余额', '未平仓头寸净值', '赢利交易比例%', '赢利交易数', '亏损交易数']):
488
496
  ...
489
497
  def analysis_sys_list_multi(stks, query, sys_proto, keys = ['累计投入本金', '当前总资产', '现金余额', '未平仓头寸净值', '赢利交易比例%', '赢利交易数', '亏损交易数']):
hikyuu/core.pyi CHANGED
@@ -108,6 +108,7 @@ from hikyuu.cpp.core312 import KALMAN
108
108
  from hikyuu.cpp.core312 import KDATA_PART
109
109
  from hikyuu.cpp.core312 import KData
110
110
  from hikyuu.cpp.core312 import KDataDriver
111
+ from hikyuu.cpp.core312 import KDataToHdf5Importer
111
112
  from hikyuu.cpp.core312 import KRecord
112
113
  from hikyuu.cpp.core312 import KRecordList
113
114
  from hikyuu.cpp.core312 import LAST
@@ -437,6 +438,8 @@ from hikyuu.cpp.core312 import YEAR
437
438
  from hikyuu.cpp.core312 import ZHBOND10
438
439
  from hikyuu.cpp.core312 import ZONGGUBEN
439
440
  from hikyuu.cpp.core312 import ZSCORE
441
+ from hikyuu.cpp.core312 import active_device
442
+ from hikyuu.cpp.core312 import backtest
440
443
  from hikyuu.cpp.core312 import batch_calculate_inds
441
444
  from hikyuu.cpp.core312 import can_upgrade
442
445
  from hikyuu.cpp.core312 import close_ostream_to_python
@@ -448,6 +451,7 @@ from hikyuu.cpp.core312 import crtSEOptimal
448
451
  from hikyuu.cpp.core312 import crtTM
449
452
  from hikyuu.cpp.core312 import crt_pf_strategy
450
453
  from hikyuu.cpp.core312 import crt_sys_strategy
454
+ from hikyuu.cpp.core312 import fetch_trial_license
451
455
  from hikyuu.cpp.core312 import find_optimal_system
452
456
  from hikyuu.cpp.core312 import find_optimal_system_multi
453
457
  from hikyuu.cpp.core312 import get_block
@@ -471,6 +475,7 @@ from hikyuu.cpp.core312 import isinf
471
475
  from hikyuu.cpp.core312 import isnan
472
476
  from hikyuu.cpp.core312 import open_ostream_to_python
473
477
  from hikyuu.cpp.core312 import open_spend_time
478
+ from hikyuu.cpp.core312 import remove_license
474
479
  from hikyuu.cpp.core312 import roundDown
475
480
  from hikyuu.cpp.core312 import roundEx
476
481
  from hikyuu.cpp.core312 import roundUp
@@ -478,11 +483,14 @@ from hikyuu.cpp.core312 import run_in_strategy
478
483
  from hikyuu.cpp.core312 import set_log_level
479
484
  from hikyuu.cpp.core312 import set_python_in_interactive
480
485
  from hikyuu.cpp.core312 import set_python_in_jupyter
486
+ from hikyuu.cpp.core312 import start_data_server
481
487
  from hikyuu.cpp.core312 import start_spot_agent
488
+ from hikyuu.cpp.core312 import stop_data_server
482
489
  from hikyuu.cpp.core312 import stop_spot_agent
483
490
  from hikyuu.cpp.core312 import toPriceList
491
+ from hikyuu.cpp.core312 import view_license
484
492
  import sys as sys
485
- __all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_kdata', 'get_last_version', 'get_log_level', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'isinf', 'isnan', 'open_ostream_to_python', 'open_spend_time', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'start_spot_agent', 'stop_spot_agent', 'sys', 'toPriceList']
493
+ __all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KDataToHdf5Importer', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'active_device', 'backtest', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'fetch_trial_license', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_kdata', 'get_last_version', 'get_log_level', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'isinf', 'isnan', 'open_ostream_to_python', 'open_spend_time', 'remove_license', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'start_data_server', 'start_spot_agent', 'stop_data_server', 'stop_spot_agent', 'sys', 'toPriceList', 'view_license']
486
494
  DEBUG: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.DEBUG: 1>
487
495
  ERROR: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.ERROR: 4>
488
496
  FATAL: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.FATAL: 5>
@@ -490,5 +498,5 @@ INFO: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.INFO: 2>
490
498
  OFF: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.OFF: 6>
491
499
  TRACE: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.TRACE: 0>
492
500
  WARN: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.WARN: 3>
493
- __version__: str = '2.5.6'
501
+ __version__: str = '2.6.1'
494
502
  constant: hikyuu.cpp.core312.Constant # value = <hikyuu.cpp.core312.Constant object>