hikyuu 2.0.8__cp310-none-win_amd64.whl → 2.0.9__cp310-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/include/hikyuu/utilities/Parameter.h +6 -1
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/interactive.py +4 -4
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/METADATA +1 -1
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/RECORD +11 -11
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/LICENSE +0 -0
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/WHEEL +0 -0
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/entry_points.txt +0 -0
- {hikyuu-2.0.8.dist-info → hikyuu-2.0.9.dist-info}/top_level.txt +0 -0
hikyuu/cpp/core310.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/hikyuu.dll
CHANGED
|
Binary file
|
|
@@ -434,7 +434,12 @@ ValueType Parameter::get(const string& name) const {
|
|
|
434
434
|
if (iter == m_params.end()) {
|
|
435
435
|
throw std::out_of_range("out_of_range in Parameter::get : " + name);
|
|
436
436
|
}
|
|
437
|
-
return boost::any_cast<ValueType>(iter->second);
|
|
437
|
+
// return boost::any_cast<ValueType>(iter->second);
|
|
438
|
+
try {
|
|
439
|
+
return boost::any_cast<ValueType>(iter->second);
|
|
440
|
+
} catch (...) {
|
|
441
|
+
throw std::runtime_error("failed conversion param: " + name);
|
|
442
|
+
}
|
|
438
443
|
}
|
|
439
444
|
|
|
440
445
|
template <typename ValueType>
|
hikyuu/include/hikyuu/version.h
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
#define HKU_VERSION_H
|
|
13
13
|
|
|
14
14
|
// clang-format off
|
|
15
|
-
#define HKU_VERSION "2.0.
|
|
15
|
+
#define HKU_VERSION "2.0.9"
|
|
16
16
|
#define HKU_VERSION_MAJOR 2
|
|
17
17
|
#define HKU_VERSION_MINOR 0
|
|
18
|
-
#define HKU_VERSION_ALTER
|
|
19
|
-
#define HKU_VERSION_BUILD
|
|
18
|
+
#define HKU_VERSION_ALTER 9
|
|
19
|
+
#define HKU_VERSION_BUILD 202405271644
|
|
20
20
|
#define HKU_VERSION_MODE "RELEASE"
|
|
21
|
-
#define HKU_VERSION_GIT "2.0.
|
|
21
|
+
#define HKU_VERSION_GIT "2.0.9 release.b8662bf9 (RELEASE)"
|
|
22
22
|
// clang-format on
|
|
23
23
|
|
|
24
24
|
#endif /* HKU_VERSION_H */
|
hikyuu/interactive.py
CHANGED
|
@@ -278,7 +278,7 @@ def UpdateOneRealtimeRecord_from_sina(tmpstr):
|
|
|
278
278
|
stock = sm[stockstr[0][-8:]]
|
|
279
279
|
|
|
280
280
|
record = KRecord()
|
|
281
|
-
record.
|
|
281
|
+
record.datetime = d
|
|
282
282
|
record.open = open
|
|
283
283
|
record.high = high
|
|
284
284
|
record.low = low
|
|
@@ -313,7 +313,7 @@ def UpdateOneRealtimeRecord_from_qq(tmpstr):
|
|
|
313
313
|
stock = sm[stockstr[0][-8:]]
|
|
314
314
|
|
|
315
315
|
record = KRecord()
|
|
316
|
-
record.
|
|
316
|
+
record.datetime = d
|
|
317
317
|
record.open = open
|
|
318
318
|
record.high = high
|
|
319
319
|
record.low = low
|
|
@@ -429,7 +429,7 @@ def realtime_update_from_tushare():
|
|
|
429
429
|
|
|
430
430
|
from datetime import date
|
|
431
431
|
d = date.today()
|
|
432
|
-
record.
|
|
432
|
+
record.datetime = Datetime(d)
|
|
433
433
|
stock.realtime_update(record)
|
|
434
434
|
|
|
435
435
|
# 更新指数行情
|
|
@@ -462,7 +462,7 @@ def realtime_update_from_tushare():
|
|
|
462
462
|
):
|
|
463
463
|
from datetime import date
|
|
464
464
|
d = date.today()
|
|
465
|
-
record.
|
|
465
|
+
record.datetime = Datetime(d)
|
|
466
466
|
stock.realtime_update(record)
|
|
467
467
|
|
|
468
468
|
|
|
@@ -5,7 +5,7 @@ hikyuu/core.py,sha256=Klrql0sAosOoyXNSU2prSxvnsdDWiCUwkPIUzALWslc,587
|
|
|
5
5
|
hikyuu/deprecated.py,sha256=hmYDN2jMM5otVk42JeGqKogDK7wQ7RkPFYwx-s4bHD0,17129
|
|
6
6
|
hikyuu/extend.py,sha256=k4iA-JTYkQtl-aNRNu0tPifKZGdS_tlo36GbYQEgDtE,13806
|
|
7
7
|
hikyuu/hub.py,sha256=xQOjgH7uAau-kgSWx0mt-YSZZlXGStpXjRf-MGKjVr0,23073
|
|
8
|
-
hikyuu/interactive.py,sha256=
|
|
8
|
+
hikyuu/interactive.py,sha256=pQ0bqdm_LpuC4l0XeGSJINnYlk7rcT9acUbmf_GPZmY,16008
|
|
9
9
|
hikyuu/puppet.py,sha256=AkEe6_u01aNMvCm8WoGKwAtoGz1pFYe-bCgO2J2ddSU,12674
|
|
10
10
|
hikyuu/setup.py,sha256=lTOmlSqiAGVDLfbAi1Jt0Ek8ab8VvlymO6RmY0_lGPo,4413
|
|
11
11
|
hikyuu/analysis/__init__.py,sha256=b1jcxxmFC0j_vxiDwmCIC4KrfDdAXAfz8CVKgGMm-Cw,266
|
|
@@ -24,8 +24,8 @@ hikyuu/cpp/boost_filesystem-mt.dll,sha256=z9-fJIsydQUQQsvLIszsZE_zcLVwa8VhKXuRHy
|
|
|
24
24
|
hikyuu/cpp/boost_serialization-mt.dll,sha256=ODtOIZ5M9eb742tgPWw_qStTaTTpVTo0GEFrr_cFrMM,218112
|
|
25
25
|
hikyuu/cpp/boost_wserialization-mt.dll,sha256=_yFxAIAkPx_zMOMvcHgxQJ7IbuvaFC6KetsKQtW6wAg,156672
|
|
26
26
|
hikyuu/cpp/concrt140.dll,sha256=eCkQsj-KZexHf4hve8vcZxAzVK8mO9MMDcyrv7xQa6E,317320
|
|
27
|
-
hikyuu/cpp/core310.pyd,sha256=
|
|
28
|
-
hikyuu/cpp/hikyuu.dll,sha256=
|
|
27
|
+
hikyuu/cpp/core310.pyd,sha256=PJwb6xuJqc_zWJB8KeA0MsGYsUAuXIDZzUX9p_zLrQ4,5697024
|
|
28
|
+
hikyuu/cpp/hikyuu.dll,sha256=2Gp6bIcAjsuXsCuCxpApthPHB7t60yQ30XlHc_pIEvI,9033728
|
|
29
29
|
hikyuu/cpp/hku_hdf5.dll,sha256=WhPTtLT9eAaOcLthBLArv_ps-A5xiTXrYAwXHsbKeDI,3434496
|
|
30
30
|
hikyuu/cpp/hku_hdf5_cpp.dll,sha256=KL7R_MmydRnNi6X1vrkCOPJ6x027J8IEb6vCbTrV60E,301056
|
|
31
31
|
hikyuu/cpp/hku_hdf5_hl.dll,sha256=bPgCUWb9eppYXjqL846IiLeWiB9QvRF_syGHTlqpImI,119808
|
|
@@ -206,7 +206,7 @@ hikyuu/include/hikyuu/debug.h,sha256=r54YJUkujUt5D9Xj11fpIw9c93kZsqU3ykljXBsqxo0
|
|
|
206
206
|
hikyuu/include/hikyuu/doc.h,sha256=teA0defGaWXtDA1jMP3MmHyMdVyUGxBt2B94Sj_qIug,6973
|
|
207
207
|
hikyuu/include/hikyuu/exception.h,sha256=qVujwoh7wWgTQQe-Foz1OvtzbTZSahuN44ObfqCvgOU,1378
|
|
208
208
|
hikyuu/include/hikyuu/hikyuu.h,sha256=IFf8E45y8_v1fuFQDXgqTGHDMB5LLcyYXSnPtPiFzzo,1068
|
|
209
|
-
hikyuu/include/hikyuu/version.h,sha256=
|
|
209
|
+
hikyuu/include/hikyuu/version.h,sha256=FPsdR8di6Ftw3HOCiceE7MKTPecle1ngwjQ57Q0QvPs,508
|
|
210
210
|
hikyuu/include/hikyuu/analysis/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
211
211
|
hikyuu/include/hikyuu/analysis/analysis_sys.h,sha256=gPnCrNP9Qt2g9JH04F9Y9Q1XzpwPtg4ibAvPJ9pIlbs,1709
|
|
212
212
|
hikyuu/include/hikyuu/analysis/combinate.h,sha256=BrgdN_7l_ig_W_uG3zXeEn5rq4M00zc2Jp9w0TjYtnk,4182
|
|
@@ -650,7 +650,7 @@ hikyuu/include/hikyuu/trade_sys/system/imp/__init__.py,sha256=frcCV1k9oG9oKj3dpU
|
|
|
650
650
|
hikyuu/include/hikyuu/utilities/ConnectPool.h,sha256=1PAcIrYrVNq4IxHrO-4co-9Hd3PjuQXNatIHDRpOo_Q,4643
|
|
651
651
|
hikyuu/include/hikyuu/utilities/IniParser.h,sha256=eyp3SdzNXRH_tUPv-53OmtMwc8ee8mYkE-0sthUKq2g,3077
|
|
652
652
|
hikyuu/include/hikyuu/utilities/Null.h,sha256=AJQokHM5iRmiCsSh1BVY_WA60p8k0vR1_PLXlPjArNo,2541
|
|
653
|
-
hikyuu/include/hikyuu/utilities/Parameter.h,sha256=
|
|
653
|
+
hikyuu/include/hikyuu/utilities/Parameter.h,sha256=keKyNb7_q4Kge9pEcA5eJfJGTIfmbOaaYiEA-Pk0MSw,21334
|
|
654
654
|
hikyuu/include/hikyuu/utilities/SpendTimer.h,sha256=gxtBDfnLzGNMm2ywEZU2Ga6JVrqFQI9LY_qofqN92Q0,8736
|
|
655
655
|
hikyuu/include/hikyuu/utilities/TimerManager.h,sha256=Mr-FgBxQyPFWRJzDQNstCJg2-buJAVjLpqWnebcgxBQ,20557
|
|
656
656
|
hikyuu/include/hikyuu/utilities/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
@@ -742,9 +742,9 @@ hikyuu/util/notebook.py,sha256=zToRjn0gqrs11SC6CK3IvJUWcerBMID_byxSn255BWk,1159
|
|
|
742
742
|
hikyuu/util/singleton.py,sha256=ADnNpIUK63Q7iqkVv9XVptAPHg3iPlPGv1eYCPXjn34,793
|
|
743
743
|
hikyuu/util/slice.py,sha256=ZPvGFc7MO3USnAS4ADMnjJaPqTRFV0nXY_ssgfysxJ4,1759
|
|
744
744
|
hikyuu/util/timeout.py,sha256=n1KdeXfXgh6fJKdrxmmL5PU6zIkeuVp1LKMwll8okDo,3031
|
|
745
|
-
hikyuu-2.0.
|
|
746
|
-
hikyuu-2.0.
|
|
747
|
-
hikyuu-2.0.
|
|
748
|
-
hikyuu-2.0.
|
|
749
|
-
hikyuu-2.0.
|
|
750
|
-
hikyuu-2.0.
|
|
745
|
+
hikyuu-2.0.9.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
746
|
+
hikyuu-2.0.9.dist-info/METADATA,sha256=yf0FldzX_N5_JOW4d-5Ysfro2CB6Hn7YYNRs19_ApkQ,6509
|
|
747
|
+
hikyuu-2.0.9.dist-info/WHEEL,sha256=QFyD7iG1vTM00KPjkXe0U-9nAHELmt1wPY6NMqaxNHk,100
|
|
748
|
+
hikyuu-2.0.9.dist-info/entry_points.txt,sha256=YSbsDH-RPGc57mPTWqwHT9VO_3aaWtXSytQbVzJX2I0,97
|
|
749
|
+
hikyuu-2.0.9.dist-info/top_level.txt,sha256=kGiufeGthSQrmFCtfLQ9GD-jfAYKnLqm9R0WvuIIBvI,3669
|
|
750
|
+
hikyuu-2.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|