hikyuu 2.5.2__py3-none-win_amd64.whl → 2.5.5__py3-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.
Files changed (90) hide show
  1. hikyuu/__init__.py +5 -1
  2. hikyuu/__init__.pyi +522 -511
  3. hikyuu/analysis/__init__.pyi +490 -485
  4. hikyuu/analysis/analysis.pyi +491 -486
  5. hikyuu/core.pyi +492 -487
  6. hikyuu/cpp/__init__.pyi +2 -2
  7. hikyuu/cpp/core310.pyd +0 -0
  8. hikyuu/cpp/core310.pyi +249 -26
  9. hikyuu/cpp/core311.pyd +0 -0
  10. hikyuu/cpp/core311.pyi +249 -26
  11. hikyuu/cpp/core312.pyd +0 -0
  12. hikyuu/cpp/core312.pyi +249 -26
  13. hikyuu/cpp/core313.pyd +0 -0
  14. hikyuu/cpp/core313.pyi +243 -26
  15. hikyuu/cpp/core38.pyd +0 -0
  16. hikyuu/cpp/core38.pyi +249 -26
  17. hikyuu/cpp/core39.pyd +0 -0
  18. hikyuu/cpp/core39.pyi +249 -26
  19. hikyuu/cpp/hikyuu.dll +0 -0
  20. hikyuu/cpp/hikyuu.lib +0 -0
  21. hikyuu/data/mysql_upgrade/0027.sql +6 -0
  22. hikyuu/data/pytdx_to_h5.py +7 -4
  23. hikyuu/data/pytdx_to_mysql.py +7 -4
  24. hikyuu/data/sqlite_upgrade/0027.sql +8 -0
  25. hikyuu/draw/drawplot/__init__.py +8 -1
  26. hikyuu/draw/drawplot/__init__.pyi +11 -7
  27. hikyuu/draw/drawplot/bokeh_draw.pyi +509 -500
  28. hikyuu/draw/drawplot/common.pyi +1 -1
  29. hikyuu/draw/drawplot/echarts_draw.pyi +511 -502
  30. hikyuu/draw/drawplot/matplotlib_draw.py +129 -8
  31. hikyuu/draw/drawplot/matplotlib_draw.pyi +571 -515
  32. hikyuu/draw/elder.pyi +11 -11
  33. hikyuu/draw/kaufman.pyi +18 -18
  34. hikyuu/draw/volume.pyi +10 -10
  35. hikyuu/extend.pyi +501 -495
  36. hikyuu/fetcher/stock/zh_block_em.py +18 -7
  37. hikyuu/hub.py +112 -6
  38. hikyuu/hub.pyi +39 -13
  39. hikyuu/include/hikyuu/DataType.h +1 -2
  40. hikyuu/include/hikyuu/StockManager.h +2 -1
  41. hikyuu/include/hikyuu/StrategyContext.h +12 -3
  42. hikyuu/include/hikyuu/indicator/Indicator.h +24 -0
  43. hikyuu/include/hikyuu/indicator/Indicator2InImp.h +1 -0
  44. hikyuu/include/hikyuu/indicator/build_in.h +2 -0
  45. hikyuu/include/hikyuu/indicator/crt/ATR.h +2 -13
  46. hikyuu/include/hikyuu/indicator/crt/BARSSINCE.h +14 -2
  47. hikyuu/include/hikyuu/indicator/crt/KALMAN.h +30 -0
  48. hikyuu/include/hikyuu/indicator/crt/TR.h +32 -0
  49. hikyuu/include/hikyuu/indicator/imp/IAtr.h +3 -1
  50. hikyuu/include/hikyuu/indicator/imp/IBarsSince.h +6 -0
  51. hikyuu/include/hikyuu/indicator/imp/IKalman.h +27 -0
  52. hikyuu/include/hikyuu/indicator/imp/ITr.h +35 -0
  53. hikyuu/include/hikyuu/python/convert_any.h +299 -0
  54. hikyuu/include/hikyuu/trade_manage/PositionRecord.h +5 -4
  55. hikyuu/include/hikyuu/trade_sys/allocatefunds/crt/AF_MultiFactor.h +1 -1
  56. hikyuu/include/hikyuu/trade_sys/allocatefunds/imp/MultiFactorAllocaterFunds.h +3 -0
  57. hikyuu/include/hikyuu/trade_sys/condition/ConditionBase.h +4 -1
  58. hikyuu/include/hikyuu/trade_sys/condition/imp/{SubCondition.h → logic/SubCondition.h} +1 -1
  59. hikyuu/include/hikyuu/trade_sys/environment/EnvironmentBase.h +20 -6
  60. hikyuu/include/hikyuu/trade_sys/environment/build_in.h +1 -0
  61. hikyuu/include/hikyuu/trade_sys/environment/crt/EV_Logic.h +35 -0
  62. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/AddEnvironment.h +42 -0
  63. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/AndEnvironment.h +42 -0
  64. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/DivEnvironment.h +42 -0
  65. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/MultiEnvironment.h +42 -0
  66. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/OrEnvironment.h +42 -0
  67. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/SubEnvironment.h +42 -0
  68. hikyuu/include/hikyuu/trade_sys/environment/imp/logic/__init__.py +1 -0
  69. hikyuu/include/hikyuu/trade_sys/portfolio/Portfolio.h +0 -4
  70. hikyuu/include/hikyuu/trade_sys/signal/crt/SG_Logic.h +68 -7
  71. hikyuu/include/hikyuu/trade_sys/signal/imp/logic/AndSignal.h +19 -0
  72. hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OperatorSignal.h +1 -0
  73. hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OperatorValueSignal.h +1 -0
  74. hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OrSignal.h +19 -0
  75. hikyuu/include/hikyuu/utilities/datetime/Datetime.h +2 -1
  76. hikyuu/include/hikyuu/version.h +4 -4
  77. hikyuu/indicator/indicator.py +1 -0
  78. hikyuu/trade_manage/__init__.pyi +506 -499
  79. hikyuu/trade_manage/broker.pyi +3 -3
  80. hikyuu/trade_manage/broker_easytrader.pyi +1 -1
  81. hikyuu/trade_manage/trade.pyi +506 -499
  82. hikyuu/trade_sys/trade_sys.py +4 -3
  83. hikyuu/util/__init__.pyi +1 -1
  84. hikyuu/util/singleton.pyi +1 -1
  85. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/METADATA +3 -2
  86. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/RECORD +90 -73
  87. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/top_level.txt +1 -0
  88. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/LICENSE +0 -0
  89. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/WHEEL +0 -0
  90. {hikyuu-2.5.2.dist-info → hikyuu-2.5.5.dist-info}/entry_points.txt +0 -0
hikyuu/draw/elder.pyi CHANGED
@@ -4,15 +4,15 @@
4
4
  参见:《走进我的交易室》(2007年 地震出版社) Alexander Elder
5
5
  """
6
6
  from __future__ import annotations
7
- import hikyuu.cpp.core312
8
- from hikyuu.cpp.core312 import CVAL
9
- from hikyuu.cpp.core312 import EMA
10
- from hikyuu.cpp.core312 import Indicator
11
- from hikyuu.cpp.core312 import MACD
12
- from hikyuu.cpp.core312 import PRICELIST
13
- from hikyuu.cpp.core312 import Query
14
- from hikyuu.cpp.core312 import SAFTYLOSS
15
- from hikyuu.cpp.core312 import VIGOR
7
+ import hikyuu.cpp.core38
8
+ from hikyuu.cpp.core38 import CVAL
9
+ from hikyuu.cpp.core38 import EMA
10
+ from hikyuu.cpp.core38 import Indicator
11
+ from hikyuu.cpp.core38 import MACD
12
+ from hikyuu.cpp.core38 import PRICELIST
13
+ from hikyuu.cpp.core38 import Query
14
+ from hikyuu.cpp.core38 import SAFTYLOSS
15
+ from hikyuu.cpp.core38 import VIGOR
16
16
  from hikyuu.draw.drawplot import adjust_axes_show
17
17
  from hikyuu.draw.drawplot import ax_draw_macd2
18
18
  from hikyuu.draw.drawplot import ax_set_locator_formatter
@@ -40,5 +40,5 @@ def draw(stock, query = ..., ma_n = 22, ma_w = 'auto', vigor_n = 13):
40
40
  """
41
41
  绘制亚历山大.艾尔德交易系统图形
42
42
  """
43
- CLOSE: hikyuu.cpp.core312.Indicator # value = Indicator{...
44
- constant: hikyuu.cpp.core312.Constant # value = <hikyuu.cpp.core312.Constant object>
43
+ CLOSE: hikyuu.cpp.core38.Indicator # value = Indicator{...
44
+ constant: hikyuu.cpp.core38.Constant # value = <hikyuu.cpp.core38.Constant object>
hikyuu/draw/kaufman.pyi CHANGED
@@ -4,19 +4,19 @@
4
4
  参见:《精明交易者》(2006年 广东经济出版社)
5
5
  """
6
6
  from __future__ import annotations
7
- import hikyuu.cpp.core312
8
- from hikyuu.cpp.core312 import AMA
9
- from hikyuu.cpp.core312 import BUSINESS
10
- from hikyuu.cpp.core312 import CVAL
11
- from hikyuu.cpp.core312 import EMA
12
- from hikyuu.cpp.core312 import POS
13
- from hikyuu.cpp.core312 import PRICELIST
14
- from hikyuu.cpp.core312 import Query
15
- from hikyuu.cpp.core312 import SG_Cross
16
- from hikyuu.cpp.core312 import SG_Flex
17
- from hikyuu.cpp.core312 import SG_Single
18
- from hikyuu.cpp.core312 import STDEV
19
- from hikyuu.cpp.core312 import StockManager
7
+ import hikyuu.cpp.core38
8
+ from hikyuu.cpp.core38 import AMA
9
+ from hikyuu.cpp.core38 import BUSINESS
10
+ from hikyuu.cpp.core38 import CVAL
11
+ from hikyuu.cpp.core38 import EMA
12
+ from hikyuu.cpp.core38 import POS
13
+ from hikyuu.cpp.core38 import PRICELIST
14
+ from hikyuu.cpp.core38 import Query
15
+ from hikyuu.cpp.core38 import SG_Cross
16
+ from hikyuu.cpp.core38 import SG_Flex
17
+ from hikyuu.cpp.core38 import SG_Single
18
+ from hikyuu.cpp.core38 import STDEV
19
+ from hikyuu.cpp.core38 import StockManager
20
20
  from hikyuu.draw.drawplot import adjust_axes_show
21
21
  from hikyuu.draw.drawplot import ax_draw_macd
22
22
  from hikyuu.draw.drawplot import ax_set_locator_formatter
@@ -31,8 +31,8 @@ def draw2(block, query = ..., ama1 = None, ama2 = None, n = 10, filter_n = 20, f
31
31
  """
32
32
  绘制佩里.J.考夫曼(Perry J.Kaufman) 自适应移动平均系统(AMA)
33
33
  """
34
- CLOSE: hikyuu.cpp.core312.Indicator # value = Indicator{...
35
- HIGH: hikyuu.cpp.core312.Indicator # value = Indicator{...
36
- KDATA: hikyuu.cpp.core312.Indicator # value = Indicator{...
37
- LOW: hikyuu.cpp.core312.Indicator # value = Indicator{...
38
- OPEN: hikyuu.cpp.core312.Indicator # value = Indicator{...
34
+ CLOSE: hikyuu.cpp.core38.Indicator # value = Indicator{...
35
+ HIGH: hikyuu.cpp.core38.Indicator # value = Indicator{...
36
+ KDATA: hikyuu.cpp.core38.Indicator # value = Indicator{...
37
+ LOW: hikyuu.cpp.core38.Indicator # value = Indicator{...
38
+ OPEN: hikyuu.cpp.core38.Indicator # value = Indicator{...
hikyuu/draw/volume.pyi CHANGED
@@ -3,14 +3,14 @@
3
3
  绘制普通K线图 + 成交量(成交金额)
4
4
  """
5
5
  from __future__ import annotations
6
- import hikyuu.cpp.core312
7
- from hikyuu.cpp.core312 import CVAL
8
- from hikyuu.cpp.core312 import IF
9
- from hikyuu.cpp.core312 import Indicator
10
- from hikyuu.cpp.core312 import MA
11
- from hikyuu.cpp.core312 import PRICELIST
12
- from hikyuu.cpp.core312 import Query
13
- from hikyuu.cpp.core312 import SG_Cross
6
+ import hikyuu.cpp.core38
7
+ from hikyuu.cpp.core38 import CVAL
8
+ from hikyuu.cpp.core38 import IF
9
+ from hikyuu.cpp.core38 import Indicator
10
+ from hikyuu.cpp.core38 import MA
11
+ from hikyuu.cpp.core38 import PRICELIST
12
+ from hikyuu.cpp.core38 import Query
13
+ from hikyuu.cpp.core38 import SG_Cross
14
14
  from hikyuu.draw.drawplot import adjust_axes_show
15
15
  from hikyuu.draw.drawplot import ax_draw_macd
16
16
  from hikyuu.draw.drawplot import ax_set_locator_formatter
@@ -27,5 +27,5 @@ def draw2(stock, query = ..., ma1_n = 7, ma2_n = 20, ma3_n = 30, ma4_n = 42, ma5
27
27
  """
28
28
  绘制普通K线图 + 成交量(成交金额)+ MACD
29
29
  """
30
- CLOSE: hikyuu.cpp.core312.Indicator # value = Indicator{...
31
- VOL: hikyuu.cpp.core312.Indicator # value = Indicator{...
30
+ CLOSE: hikyuu.cpp.core38.Indicator # value = Indicator{...
31
+ VOL: hikyuu.cpp.core38.Indicator # value = Indicator{...