hikyuu 2.6.6__py3-none-win_amd64.whl → 2.6.8__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.
- hikyuu/__init__.py +16 -2
- hikyuu/__init__.pyi +658 -627
- hikyuu/analysis/__init__.pyi +563 -519
- hikyuu/analysis/analysis.pyi +583 -541
- hikyuu/core.pyi +565 -521
- hikyuu/cpp/__init__.pyi +2 -2
- hikyuu/cpp/concrt140.dll +0 -0
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +1424 -865
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +1424 -865
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +1424 -865
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +1424 -863
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +1424 -865
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/cpp/hku_hdf5.dll +0 -0
- hikyuu/cpp/hku_hdf5_cpp.dll +0 -0
- hikyuu/cpp/hku_hdf5_hl.dll +0 -0
- hikyuu/cpp/hku_hdf5_hl_cpp.dll +0 -0
- hikyuu/cpp/i18n/zh_CN/__init__.py +0 -0
- hikyuu/cpp/i18n/zh_CN/hikyuu.mo +0 -0
- hikyuu/cpp/msvcp140.dll +0 -0
- hikyuu/cpp/msvcp140_1.dll +0 -0
- hikyuu/cpp/msvcp140_2.dll +0 -0
- hikyuu/cpp/msvcp140_atomic_wait.dll +0 -0
- hikyuu/cpp/msvcp140_codecvt_ids.dll +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/cpp/vcruntime140.dll +0 -0
- hikyuu/cpp/vcruntime140_1.dll +0 -0
- hikyuu/data/common_clickhouse.py +0 -47
- hikyuu/data/tdx_to_h5.py +1 -1
- hikyuu/draw/drawplot/__init__.pyi +32 -37
- hikyuu/draw/drawplot/bokeh_draw.pyi +651 -632
- hikyuu/draw/drawplot/common.pyi +3 -4
- hikyuu/draw/drawplot/echarts_draw.py +9 -8
- hikyuu/draw/drawplot/echarts_draw.pyi +598 -567
- hikyuu/draw/drawplot/matplotlib_draw.py +3 -3
- hikyuu/draw/drawplot/matplotlib_draw.pyi +872 -874
- hikyuu/draw/elder.pyi +19 -20
- hikyuu/draw/kaufman.py +1 -1
- hikyuu/draw/kaufman.pyi +18 -18
- hikyuu/draw/volume.pyi +10 -10
- hikyuu/examples/notebook/000-Index.ipynb +1 -1
- hikyuu/examples/notebook/001-overview.ipynb +78 -63
- hikyuu/examples/notebook/002-HowToGetStock.ipynb +259 -40
- hikyuu/examples/notebook/003-HowToGetKDataAndDraw.ipynb +49 -41
- hikyuu/examples/notebook/004-IndicatorOverview.ipynb +29 -29
- hikyuu/examples/notebook/005-Drawplot.ipynb +66 -37
- hikyuu/examples/notebook/006-TradeManager.ipynb +808 -61
- hikyuu/examples/notebook/007-SystemDetails.ipynb +23 -23
- hikyuu/examples/notebook/009-RealData.ipynb +3 -3
- hikyuu/examples/notebook/010-Portfolio.ipynb +761 -122
- hikyuu/extend.py +32 -98
- hikyuu/extend.pyi +597 -593
- hikyuu/gui/HikyuuTDX.py +2 -4
- hikyuu/gui/data/MainWindow.py +185 -174
- hikyuu/hub.pyi +69 -67
- hikyuu/include/hikyuu/DataType.h +3 -12
- hikyuu/include/hikyuu/KData.h +83 -25
- hikyuu/include/hikyuu/KDataImp.h +31 -46
- hikyuu/include/hikyuu/KDataPrivatedBufferImp.h +73 -0
- hikyuu/include/hikyuu/KDataSharedBufferImp.h +69 -0
- hikyuu/include/hikyuu/KQuery.h +38 -32
- hikyuu/include/hikyuu/KRecord.h +4 -1
- hikyuu/include/hikyuu/MarketInfo.h +1 -1
- hikyuu/include/hikyuu/Stock.h +24 -6
- hikyuu/include/hikyuu/StockManager.h +15 -6
- hikyuu/include/hikyuu/StockTypeInfo.h +6 -0
- hikyuu/include/hikyuu/TransRecord.h +2 -8
- hikyuu/include/hikyuu/data_driver/KDataDriver.h +5 -0
- hikyuu/include/hikyuu/doc.h +4 -0
- hikyuu/include/hikyuu/global/GlobalSpotAgent.h +8 -0
- hikyuu/include/hikyuu/global/agent/SpotAgent.h +12 -7
- hikyuu/include/hikyuu/indicator/Indicator.h +48 -0
- hikyuu/include/hikyuu/indicator/Indicator2InImp.h +9 -0
- hikyuu/include/hikyuu/indicator/IndicatorImp.h +83 -15
- hikyuu/include/hikyuu/indicator/build_in.h +1 -0
- hikyuu/include/hikyuu/indicator/crt/AMA.h +2 -1
- hikyuu/include/hikyuu/indicator/crt/ATR.h +1 -1
- hikyuu/include/hikyuu/indicator/crt/CONTEXT.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/CYCLE.h +3 -0
- hikyuu/include/hikyuu/indicator/crt/DMA.h +1 -1
- hikyuu/include/hikyuu/indicator/crt/IC.h +14 -6
- hikyuu/include/hikyuu/indicator/crt/ICIR.h +8 -4
- hikyuu/include/hikyuu/indicator/crt/INSUM.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/PRICELIST.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/REFX.h +25 -0
- hikyuu/include/hikyuu/indicator/crt/SLICE.h +4 -4
- hikyuu/include/hikyuu/indicator/crt/SPEARMAN.h +3 -2
- hikyuu/include/hikyuu/indicator/imp/IContext.h +5 -0
- hikyuu/include/hikyuu/indicator/imp/ICval.h +6 -0
- hikyuu/include/hikyuu/indicator/imp/IDropna.h +9 -0
- hikyuu/include/hikyuu/indicator/imp/IIc.h +2 -1
- hikyuu/include/hikyuu/indicator/imp/IPriceList.h +1 -0
- hikyuu/include/hikyuu/indicator/imp/IRefX.h +23 -0
- hikyuu/include/hikyuu/lang.h +27 -0
- hikyuu/include/hikyuu/plugin/KDataToHdf5Importer.h +6 -1
- hikyuu/include/hikyuu/plugin/backtest.h +2 -0
- hikyuu/include/hikyuu/plugin/extind.h +45 -0
- hikyuu/include/hikyuu/plugin/hkuextra.h +77 -0
- hikyuu/include/hikyuu/plugin/interface/HkuExtraPluginInterface.h +54 -0
- hikyuu/include/hikyuu/plugin/interface/ImportKDataToHdf5PluginInterface.h +10 -1
- hikyuu/include/hikyuu/plugin/interface/TMReportPluginInterface.h +1 -0
- hikyuu/include/hikyuu/plugin/interface/plugins.h +2 -0
- hikyuu/include/hikyuu/python/pybind_utils.h +28 -11
- hikyuu/include/hikyuu/trade_manage/Performance.h +0 -1
- hikyuu/include/hikyuu/trade_manage/TradeCostBase.h +5 -0
- hikyuu/include/hikyuu/trade_manage/TradeManager.h +4 -0
- hikyuu/include/hikyuu/trade_manage/TradeManagerBase.h +10 -1
- hikyuu/include/hikyuu/trade_manage/TradeRecord.h +1 -1
- hikyuu/include/hikyuu/trade_sys/allocatefunds/AllocateFundsBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/condition/ConditionBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/environment/EnvironmentBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/moneymanager/MoneyManagerBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/multifactor/MultiFactorBase.h +6 -3
- hikyuu/include/hikyuu/trade_sys/portfolio/Portfolio.h +4 -0
- hikyuu/include/hikyuu/trade_sys/profitgoal/ProfitGoalBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/selector/SelectorBase.h +5 -2
- hikyuu/include/hikyuu/trade_sys/signal/SignalBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/slippage/SlippageBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/stoploss/StoplossBase.h +6 -1
- hikyuu/include/hikyuu/trade_sys/system/System.h +5 -0
- hikyuu/include/hikyuu/utilities/config.h +0 -2
- hikyuu/include/hikyuu/utilities/datetime/Datetime.h +2 -2
- hikyuu/include/hikyuu/utilities/os.h +7 -0
- hikyuu/include/hikyuu/utilities/plugin/PluginLoader.h +2 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalMQStealThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalMQThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/MQThreadPool.h +1 -1
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/include/hikyuu/views/arrow_common.h +38 -0
- hikyuu/include/hikyuu/views/arrow_views.h +117 -0
- hikyuu/indicator/__init__.py +0 -1
- hikyuu/indicator/indicator.py +17 -57
- hikyuu/plugin/backtest.dll +0 -0
- hikyuu/plugin/clickhousedriver.dll +0 -0
- hikyuu/plugin/dataserver.dll +0 -0
- hikyuu/plugin/device.dll +0 -0
- hikyuu/plugin/extind.dll +0 -0
- hikyuu/plugin/hkuextra.dll +0 -0
- hikyuu/plugin/import2hdf5.dll +0 -0
- hikyuu/plugin/tmreport.dll +0 -0
- hikyuu/strategy/strategy_demo1.py +1 -1
- hikyuu/test/test_init.py +73 -14
- hikyuu/test/test_real_tdx_import.py +336 -0
- hikyuu/test/test_tdx_import.py +315 -0
- hikyuu/test/test_tdx_real_data_import.py +281 -0
- hikyuu/trade_manage/__init__.pyi +583 -553
- hikyuu/trade_manage/broker.pyi +19 -18
- hikyuu/trade_manage/broker_easytrader.pyi +6 -4
- hikyuu/trade_manage/broker_mail.pyi +22 -24
- hikyuu/trade_manage/trade.py +10 -65
- hikyuu/trade_manage/trade.pyi +583 -565
- hikyuu/trade_sys/__init__.py +15 -0
- hikyuu/util/__init__.pyi +0 -1
- hikyuu/util/check.pyi +17 -15
- hikyuu/util/mylog.pyi +8 -7
- hikyuu/util/notebook.pyi +9 -11
- hikyuu/util/singleton.pyi +8 -6
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/METADATA +8 -4
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/RECORD +172 -160
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/top_level.txt +2 -1
- hikyuu/cpp/i18n/zh_CN.mo +0 -0
- hikyuu/include/hikyuu/utilities/mo/mo.h +0 -64
- hikyuu/indicator/talib_wrap.py +0 -1273
- /hikyuu/include/hikyuu/utilities/{mo/moFileReader.h → moFileReader.h} +0 -0
- /hikyuu/include/hikyuu/{utilities/mo → views}/__init__.py +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/LICENSE +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/WHEEL +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/entry_points.txt +0 -0
|
@@ -9,29 +9,32 @@
|
|
|
9
9
|
"name": "stderr",
|
|
10
10
|
"output_type": "stream",
|
|
11
11
|
"text": [
|
|
12
|
-
"
|
|
12
|
+
"2025-08-11 23:24:29,506 [INFO] runing in interactive session [<module>] (D:\\workspace\\hikyuu\\hikyuu\\__init__.py:109) [hikyuu::hku_info]\n",
|
|
13
|
+
"2025-08-11 23:24:29,507 [INFO] running in jupyter [<module>] (D:\\workspace\\hikyuu\\hikyuu\\__init__.py:116) [hikyuu::hku_info]\n"
|
|
13
14
|
]
|
|
14
15
|
},
|
|
15
16
|
{
|
|
16
17
|
"name": "stdout",
|
|
17
18
|
"output_type": "stream",
|
|
18
19
|
"text": [
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
20
|
+
"current plugin path: D:\\workspace\\hikyuu\\hikyuu\\plugin\n",
|
|
21
|
+
"2025-08-11 23:24:29.570 [HKU-I] - Using MYSQL BaseInfoDriver (BaseInfoDriver.cpp:57)\n",
|
|
22
|
+
"2025-08-11 23:24:29.599 [HKU-I] - 加载市场信息…… (StockManager.cpp:572)\n",
|
|
23
|
+
"2025-08-11 23:24:29.606 [HKU-I] - 加载证券类型信息…… (StockManager.cpp:590)\n",
|
|
24
|
+
"2025-08-11 23:24:29.612 [HKU-I] - 加载证券信息…… (StockManager.cpp:476)\n",
|
|
25
|
+
"2025-08-11 23:24:29.744 [HKU-I] - 加载权息数据…… (StockManager.cpp:608)\n",
|
|
26
|
+
"2025-08-11 23:24:30.755 [HKU-I] - 加载板块信息…… (StockManager.cpp:181)\n",
|
|
27
|
+
"2025-08-11 23:24:31.845 [HKU-I] - 加载K线数据…… (StockManager.cpp:185)\n",
|
|
28
|
+
"2025-08-11 23:24:31.845 [HKU-I] - 预加载 day K线数据至缓存 (最大数量: 100000)! (StockManager.cpp:229)\n",
|
|
29
|
+
"2025-08-11 23:24:31.846 [HKU-I] - 2.26 秒数据加载完毕. (StockManager.cpp:191)\n",
|
|
30
|
+
"2025-08-11 23:24:31.847 [HKU-I] - 启动行情接收. (SpotAgent.cpp:39)\n",
|
|
31
|
+
"CPU times: total: 1.81 s\n",
|
|
32
|
+
"Wall time: 3.67 s\n"
|
|
30
33
|
]
|
|
31
34
|
}
|
|
32
35
|
],
|
|
33
36
|
"source": [
|
|
34
|
-
"
|
|
37
|
+
"#%matplotlib inline\n",
|
|
35
38
|
"%time from hikyuu.interactive import *"
|
|
36
39
|
]
|
|
37
40
|
},
|
|
@@ -84,13 +87,13 @@
|
|
|
84
87
|
"name": "stdout",
|
|
85
88
|
"output_type": "stream",
|
|
86
89
|
"text": [
|
|
87
|
-
"全部数量:
|
|
90
|
+
"全部数量: 8471\n"
|
|
88
91
|
]
|
|
89
92
|
},
|
|
90
93
|
{
|
|
91
94
|
"data": {
|
|
92
95
|
"text/plain": [
|
|
93
|
-
"
|
|
96
|
+
"8471"
|
|
94
97
|
]
|
|
95
98
|
},
|
|
96
99
|
"execution_count": 3,
|
|
@@ -121,7 +124,7 @@
|
|
|
121
124
|
},
|
|
122
125
|
{
|
|
123
126
|
"cell_type": "code",
|
|
124
|
-
"execution_count":
|
|
127
|
+
"execution_count": 4,
|
|
125
128
|
"metadata": {},
|
|
126
129
|
"outputs": [
|
|
127
130
|
{
|
|
@@ -150,28 +153,28 @@
|
|
|
150
153
|
},
|
|
151
154
|
{
|
|
152
155
|
"cell_type": "code",
|
|
153
|
-
"execution_count":
|
|
156
|
+
"execution_count": 5,
|
|
154
157
|
"metadata": {},
|
|
155
158
|
"outputs": [
|
|
156
159
|
{
|
|
157
160
|
"name": "stdout",
|
|
158
161
|
"output_type": "stream",
|
|
159
162
|
"text": [
|
|
160
|
-
"Weight(1990-03-01 00:00:00, 0, 1, 3.
|
|
161
|
-
"Weight(1991-04-03 00:00:00, 0, 0, 0, 0, 0, 4850, 2650, 0)\n",
|
|
162
|
-
"Weight(1991-05-02 00:00:00, 4, 0, 0, 3, 0, 8975, 3949, 0)\n",
|
|
163
|
-
"Weight(1991-08-17 00:00:00, 10, 0, 0, 0, 0, 8975, 3949, 0)\n",
|
|
164
|
-
"Weight(1992-03-23 00:00:00, 5, 0, 0, 2, 0, 8975, 3949, 0)\n",
|
|
165
|
-
"Weight(1993-05-24 00:00:00, 8.5, 1, 16, 3, 0,
|
|
166
|
-
"Weight(1993-06-30 00:00:00, 0, 0, 0, 0, 0, 26125, 18004, 0)\n",
|
|
167
|
-
"Weight(1994-07-09 00:00:00, 0, 0, 0, 0, 0,
|
|
168
|
-
"Weight(1994-07-11 00:00:00, 5, 1, 5, 5, 0,
|
|
169
|
-
"Weight(1994-07-14 00:00:00, 0, 0, 0, 0, 0,
|
|
170
|
-
"Weight(1995-09-25 00:00:00, 2, 0, 0, 3, 0,
|
|
171
|
-
"Weight(1995-09-27 00:00:00, 0, 0, 0, 0, 0, 51728,
|
|
172
|
-
"Weight(1996-05-27 00:00:00, 10, 0, 0, 0, 0, 51728,
|
|
173
|
-
"Weight(1996-05-29 00:00:00, 0, 0, 0, 0, 0, 103456, 71442, 0)\n",
|
|
174
|
-
"Weight(1997-08-25 00:00:00, 5, 0, 0, 2, 0, 103456, 71442, 0)\n",
|
|
163
|
+
"Weight(1990-03-01 00:00:00, 0, 1, 3.56, 0, 0, 0, 0, 0)\n",
|
|
164
|
+
"Weight(1991-04-03 00:00:00, 0, 0, 0, 0, 0, 4850.02, 2650, 0)\n",
|
|
165
|
+
"Weight(1991-05-02 00:00:00, 4, 0, 0, 3, 0, 8975.16, 3949.07, 0)\n",
|
|
166
|
+
"Weight(1991-08-17 00:00:00, 10, 0, 0, 0, 0, 8975.16, 3949.07, 0)\n",
|
|
167
|
+
"Weight(1992-03-23 00:00:00, 5, 0, 0, 2, 0, 8975.16, 3949.07, 0)\n",
|
|
168
|
+
"Weight(1993-05-24 00:00:00, 8.5, 1, 16, 3, 0, 26941.8, 18813, 0)\n",
|
|
169
|
+
"Weight(1993-06-30 00:00:00, 0, 0, 0, 0, 0, 26125.4, 18004.3, 0)\n",
|
|
170
|
+
"Weight(1994-07-09 00:00:00, 0, 0, 0, 0, 0, 28737.9, 19804.8, 0)\n",
|
|
171
|
+
"Weight(1994-07-11 00:00:00, 5, 1, 5, 5, 0, 28737.9, 19804.8, 0)\n",
|
|
172
|
+
"Weight(1994-07-14 00:00:00, 0, 0, 0, 0, 0, 43106.9, 29707.2, 0)\n",
|
|
173
|
+
"Weight(1995-09-25 00:00:00, 2, 0, 0, 3, 0, 43106.9, 29707.2, 0)\n",
|
|
174
|
+
"Weight(1995-09-27 00:00:00, 0, 0, 0, 0, 0, 51728.2, 35648.6, 0)\n",
|
|
175
|
+
"Weight(1996-05-27 00:00:00, 10, 0, 0, 0, 0, 51728.2, 35648.6, 0)\n",
|
|
176
|
+
"Weight(1996-05-29 00:00:00, 0, 0, 0, 0, 0, 103456, 71442.3, 0)\n",
|
|
177
|
+
"Weight(1997-08-25 00:00:00, 5, 0, 0, 2, 0, 103456, 71442.3, 0)\n",
|
|
175
178
|
"Weight(1997-08-27 00:00:00, 0, 0, 0, 0, 0, 155185, 107163, 0)\n",
|
|
176
179
|
"Weight(1999-10-18 00:00:00, 0, 0, 0, 6, 0, 155185, 107163, 0)\n",
|
|
177
180
|
"Weight(2000-11-06 00:00:00, 0, 3, 8, 0, 0, 155185, 107163, 0)\n",
|
|
@@ -205,7 +208,7 @@
|
|
|
205
208
|
"Weight(2015-04-13 00:00:00, 2, 0, 0, 1.74, 0, 1.37099e+06, 1.18041e+06, 0)\n",
|
|
206
209
|
"Weight(2015-05-21 00:00:00, 0, 0, 0, 0, 0, 1.43087e+06, 1.18041e+06, 0)\n",
|
|
207
210
|
"Weight(2016-05-23 00:00:00, 0, 0, 0, 0, 0, 1.43087e+06, 1.21926e+06, 0)\n",
|
|
208
|
-
"Weight(2016-06-16 00:00:00, 2, 0, 0, 1.
|
|
211
|
+
"Weight(2016-06-16 00:00:00, 2, 0, 0, 1.53, 0, 1.71704e+06, 1.46312e+06, 0)\n",
|
|
209
212
|
"Weight(2017-01-09 00:00:00, 0, 0, 0, 0, 0, 1.71704e+06, 1.6918e+06, 0)\n",
|
|
210
213
|
"Weight(2017-07-21 00:00:00, 0, 0, 0, 1.58, 0, 1.71704e+06, 1.6918e+06, 0)\n",
|
|
211
214
|
"Weight(2017-12-31 00:00:00, 0, 0, 0, 0, 0, 1.71704e+06, 1.6918e+06, 0)\n",
|
|
@@ -216,14 +219,16 @@
|
|
|
216
219
|
"Weight(2019-09-18 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94058e+06, 0)\n",
|
|
217
220
|
"Weight(2020-05-28 00:00:00, 0, 0, 0, 2.18, 0, 1.94059e+06, 1.94058e+06, 0)\n",
|
|
218
221
|
"Weight(2020-12-31 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94058e+06, 0)\n",
|
|
219
|
-
"Weight(2021-05-14 00:00:00, 0, 0, 0, 1.
|
|
222
|
+
"Weight(2021-05-14 00:00:00, 0, 0, 0, 1.8, 0, 1.94059e+06, 1.94058e+06, 0)\n",
|
|
220
223
|
"Weight(2021-12-31 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94055e+06, 0)\n",
|
|
221
|
-
"Weight(2022-06-30 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.
|
|
222
|
-
"Weight(2022-07-22 00:00:00, 0, 0, 0, 2.
|
|
223
|
-
"Weight(2023-06-14 00:00:00, 0, 0, 0, 2.
|
|
224
|
-
"Weight(2024-06-14 00:00:00, 0, 0, 0, 7.19, 0, 1.94059e+06, 1.
|
|
224
|
+
"Weight(2022-06-30 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94055e+06, 0)\n",
|
|
225
|
+
"Weight(2022-07-22 00:00:00, 0, 0, 0, 2.28, 0, 1.94059e+06, 1.94055e+06, 0)\n",
|
|
226
|
+
"Weight(2023-06-14 00:00:00, 0, 0, 0, 2.85, 0, 1.94059e+06, 1.94055e+06, 0)\n",
|
|
227
|
+
"Weight(2024-06-14 00:00:00, 0, 0, 0, 7.19, 0, 1.94059e+06, 1.94055e+06, 0)\n",
|
|
225
228
|
"Weight(2024-06-30 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94056e+06, 0)\n",
|
|
226
|
-
"Weight(2024-10-10 00:00:00, 0, 0, 0, 2.46, 0, 1.94059e+06, 1.94056e+06, 0)\n"
|
|
229
|
+
"Weight(2024-10-10 00:00:00, 0, 0, 0, 2.46, 0, 1.94059e+06, 1.94056e+06, 0)\n",
|
|
230
|
+
"Weight(2024-12-31 00:00:00, 0, 0, 0, 0, 0, 1.94059e+06, 1.94056e+06, 0)\n",
|
|
231
|
+
"Weight(2025-06-12 00:00:00, 0, 0, 0, 3.62, 0, 1.94059e+06, 1.94056e+06, 0)\n"
|
|
227
232
|
]
|
|
228
233
|
}
|
|
229
234
|
],
|
|
@@ -233,6 +238,220 @@
|
|
|
233
238
|
" print(w)"
|
|
234
239
|
]
|
|
235
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"cell_type": "code",
|
|
243
|
+
"execution_count": 6,
|
|
244
|
+
"metadata": {},
|
|
245
|
+
"outputs": [
|
|
246
|
+
{
|
|
247
|
+
"data": {
|
|
248
|
+
"text/html": [
|
|
249
|
+
"<div>\n",
|
|
250
|
+
"<style scoped>\n",
|
|
251
|
+
" .dataframe tbody tr th:only-of-type {\n",
|
|
252
|
+
" vertical-align: middle;\n",
|
|
253
|
+
" }\n",
|
|
254
|
+
"\n",
|
|
255
|
+
" .dataframe tbody tr th {\n",
|
|
256
|
+
" vertical-align: top;\n",
|
|
257
|
+
" }\n",
|
|
258
|
+
"\n",
|
|
259
|
+
" .dataframe thead th {\n",
|
|
260
|
+
" text-align: right;\n",
|
|
261
|
+
" }\n",
|
|
262
|
+
"</style>\n",
|
|
263
|
+
"<table border=\"1\" class=\"dataframe\">\n",
|
|
264
|
+
" <thead>\n",
|
|
265
|
+
" <tr style=\"text-align: right;\">\n",
|
|
266
|
+
" <th></th>\n",
|
|
267
|
+
" <th>datetime</th>\n",
|
|
268
|
+
" <th>countAsGift</th>\n",
|
|
269
|
+
" <th>countForSell</th>\n",
|
|
270
|
+
" <th>priceForSell</th>\n",
|
|
271
|
+
" <th>bonus</th>\n",
|
|
272
|
+
" <th>countOfIncreasement</th>\n",
|
|
273
|
+
" <th>totalCount</th>\n",
|
|
274
|
+
" <th>freeCount</th>\n",
|
|
275
|
+
" <th>suogu</th>\n",
|
|
276
|
+
" </tr>\n",
|
|
277
|
+
" </thead>\n",
|
|
278
|
+
" <tbody>\n",
|
|
279
|
+
" <tr>\n",
|
|
280
|
+
" <th>0</th>\n",
|
|
281
|
+
" <td>1990-03-01</td>\n",
|
|
282
|
+
" <td>0.0</td>\n",
|
|
283
|
+
" <td>1.0</td>\n",
|
|
284
|
+
" <td>3.56</td>\n",
|
|
285
|
+
" <td>0.00</td>\n",
|
|
286
|
+
" <td>0.0</td>\n",
|
|
287
|
+
" <td>0.000000e+00</td>\n",
|
|
288
|
+
" <td>0.000000e+00</td>\n",
|
|
289
|
+
" <td>0.0</td>\n",
|
|
290
|
+
" </tr>\n",
|
|
291
|
+
" <tr>\n",
|
|
292
|
+
" <th>1</th>\n",
|
|
293
|
+
" <td>1991-04-03</td>\n",
|
|
294
|
+
" <td>0.0</td>\n",
|
|
295
|
+
" <td>0.0</td>\n",
|
|
296
|
+
" <td>0.00</td>\n",
|
|
297
|
+
" <td>0.00</td>\n",
|
|
298
|
+
" <td>0.0</td>\n",
|
|
299
|
+
" <td>4.850017e+03</td>\n",
|
|
300
|
+
" <td>2.650000e+03</td>\n",
|
|
301
|
+
" <td>0.0</td>\n",
|
|
302
|
+
" </tr>\n",
|
|
303
|
+
" <tr>\n",
|
|
304
|
+
" <th>2</th>\n",
|
|
305
|
+
" <td>1991-05-02</td>\n",
|
|
306
|
+
" <td>4.0</td>\n",
|
|
307
|
+
" <td>0.0</td>\n",
|
|
308
|
+
" <td>0.00</td>\n",
|
|
309
|
+
" <td>3.00</td>\n",
|
|
310
|
+
" <td>0.0</td>\n",
|
|
311
|
+
" <td>8.975164e+03</td>\n",
|
|
312
|
+
" <td>3.949072e+03</td>\n",
|
|
313
|
+
" <td>0.0</td>\n",
|
|
314
|
+
" </tr>\n",
|
|
315
|
+
" <tr>\n",
|
|
316
|
+
" <th>3</th>\n",
|
|
317
|
+
" <td>1991-08-17</td>\n",
|
|
318
|
+
" <td>10.0</td>\n",
|
|
319
|
+
" <td>0.0</td>\n",
|
|
320
|
+
" <td>0.00</td>\n",
|
|
321
|
+
" <td>0.00</td>\n",
|
|
322
|
+
" <td>0.0</td>\n",
|
|
323
|
+
" <td>8.975164e+03</td>\n",
|
|
324
|
+
" <td>3.949072e+03</td>\n",
|
|
325
|
+
" <td>0.0</td>\n",
|
|
326
|
+
" </tr>\n",
|
|
327
|
+
" <tr>\n",
|
|
328
|
+
" <th>4</th>\n",
|
|
329
|
+
" <td>1992-03-23</td>\n",
|
|
330
|
+
" <td>5.0</td>\n",
|
|
331
|
+
" <td>0.0</td>\n",
|
|
332
|
+
" <td>0.00</td>\n",
|
|
333
|
+
" <td>2.00</td>\n",
|
|
334
|
+
" <td>0.0</td>\n",
|
|
335
|
+
" <td>8.975164e+03</td>\n",
|
|
336
|
+
" <td>3.949072e+03</td>\n",
|
|
337
|
+
" <td>0.0</td>\n",
|
|
338
|
+
" </tr>\n",
|
|
339
|
+
" <tr>\n",
|
|
340
|
+
" <th>...</th>\n",
|
|
341
|
+
" <td>...</td>\n",
|
|
342
|
+
" <td>...</td>\n",
|
|
343
|
+
" <td>...</td>\n",
|
|
344
|
+
" <td>...</td>\n",
|
|
345
|
+
" <td>...</td>\n",
|
|
346
|
+
" <td>...</td>\n",
|
|
347
|
+
" <td>...</td>\n",
|
|
348
|
+
" <td>...</td>\n",
|
|
349
|
+
" <td>...</td>\n",
|
|
350
|
+
" </tr>\n",
|
|
351
|
+
" <tr>\n",
|
|
352
|
+
" <th>64</th>\n",
|
|
353
|
+
" <td>2024-06-14</td>\n",
|
|
354
|
+
" <td>0.0</td>\n",
|
|
355
|
+
" <td>0.0</td>\n",
|
|
356
|
+
" <td>0.00</td>\n",
|
|
357
|
+
" <td>7.19</td>\n",
|
|
358
|
+
" <td>0.0</td>\n",
|
|
359
|
+
" <td>1.940592e+06</td>\n",
|
|
360
|
+
" <td>1.940555e+06</td>\n",
|
|
361
|
+
" <td>0.0</td>\n",
|
|
362
|
+
" </tr>\n",
|
|
363
|
+
" <tr>\n",
|
|
364
|
+
" <th>65</th>\n",
|
|
365
|
+
" <td>2024-06-30</td>\n",
|
|
366
|
+
" <td>0.0</td>\n",
|
|
367
|
+
" <td>0.0</td>\n",
|
|
368
|
+
" <td>0.00</td>\n",
|
|
369
|
+
" <td>0.00</td>\n",
|
|
370
|
+
" <td>0.0</td>\n",
|
|
371
|
+
" <td>1.940592e+06</td>\n",
|
|
372
|
+
" <td>1.940562e+06</td>\n",
|
|
373
|
+
" <td>0.0</td>\n",
|
|
374
|
+
" </tr>\n",
|
|
375
|
+
" <tr>\n",
|
|
376
|
+
" <th>66</th>\n",
|
|
377
|
+
" <td>2024-10-10</td>\n",
|
|
378
|
+
" <td>0.0</td>\n",
|
|
379
|
+
" <td>0.0</td>\n",
|
|
380
|
+
" <td>0.00</td>\n",
|
|
381
|
+
" <td>2.46</td>\n",
|
|
382
|
+
" <td>0.0</td>\n",
|
|
383
|
+
" <td>1.940592e+06</td>\n",
|
|
384
|
+
" <td>1.940562e+06</td>\n",
|
|
385
|
+
" <td>0.0</td>\n",
|
|
386
|
+
" </tr>\n",
|
|
387
|
+
" <tr>\n",
|
|
388
|
+
" <th>67</th>\n",
|
|
389
|
+
" <td>2024-12-31</td>\n",
|
|
390
|
+
" <td>0.0</td>\n",
|
|
391
|
+
" <td>0.0</td>\n",
|
|
392
|
+
" <td>0.00</td>\n",
|
|
393
|
+
" <td>0.00</td>\n",
|
|
394
|
+
" <td>0.0</td>\n",
|
|
395
|
+
" <td>1.940592e+06</td>\n",
|
|
396
|
+
" <td>1.940557e+06</td>\n",
|
|
397
|
+
" <td>0.0</td>\n",
|
|
398
|
+
" </tr>\n",
|
|
399
|
+
" <tr>\n",
|
|
400
|
+
" <th>68</th>\n",
|
|
401
|
+
" <td>2025-06-12</td>\n",
|
|
402
|
+
" <td>0.0</td>\n",
|
|
403
|
+
" <td>0.0</td>\n",
|
|
404
|
+
" <td>0.00</td>\n",
|
|
405
|
+
" <td>3.62</td>\n",
|
|
406
|
+
" <td>0.0</td>\n",
|
|
407
|
+
" <td>1.940592e+06</td>\n",
|
|
408
|
+
" <td>1.940557e+06</td>\n",
|
|
409
|
+
" <td>0.0</td>\n",
|
|
410
|
+
" </tr>\n",
|
|
411
|
+
" </tbody>\n",
|
|
412
|
+
"</table>\n",
|
|
413
|
+
"<p>69 rows × 9 columns</p>\n",
|
|
414
|
+
"</div>"
|
|
415
|
+
],
|
|
416
|
+
"text/plain": [
|
|
417
|
+
" datetime countAsGift countForSell priceForSell bonus \\\n",
|
|
418
|
+
"0 1990-03-01 0.0 1.0 3.56 0.00 \n",
|
|
419
|
+
"1 1991-04-03 0.0 0.0 0.00 0.00 \n",
|
|
420
|
+
"2 1991-05-02 4.0 0.0 0.00 3.00 \n",
|
|
421
|
+
"3 1991-08-17 10.0 0.0 0.00 0.00 \n",
|
|
422
|
+
"4 1992-03-23 5.0 0.0 0.00 2.00 \n",
|
|
423
|
+
".. ... ... ... ... ... \n",
|
|
424
|
+
"64 2024-06-14 0.0 0.0 0.00 7.19 \n",
|
|
425
|
+
"65 2024-06-30 0.0 0.0 0.00 0.00 \n",
|
|
426
|
+
"66 2024-10-10 0.0 0.0 0.00 2.46 \n",
|
|
427
|
+
"67 2024-12-31 0.0 0.0 0.00 0.00 \n",
|
|
428
|
+
"68 2025-06-12 0.0 0.0 0.00 3.62 \n",
|
|
429
|
+
"\n",
|
|
430
|
+
" countOfIncreasement totalCount freeCount suogu \n",
|
|
431
|
+
"0 0.0 0.000000e+00 0.000000e+00 0.0 \n",
|
|
432
|
+
"1 0.0 4.850017e+03 2.650000e+03 0.0 \n",
|
|
433
|
+
"2 0.0 8.975164e+03 3.949072e+03 0.0 \n",
|
|
434
|
+
"3 0.0 8.975164e+03 3.949072e+03 0.0 \n",
|
|
435
|
+
"4 0.0 8.975164e+03 3.949072e+03 0.0 \n",
|
|
436
|
+
".. ... ... ... ... \n",
|
|
437
|
+
"64 0.0 1.940592e+06 1.940555e+06 0.0 \n",
|
|
438
|
+
"65 0.0 1.940592e+06 1.940562e+06 0.0 \n",
|
|
439
|
+
"66 0.0 1.940592e+06 1.940562e+06 0.0 \n",
|
|
440
|
+
"67 0.0 1.940592e+06 1.940557e+06 0.0 \n",
|
|
441
|
+
"68 0.0 1.940592e+06 1.940557e+06 0.0 \n",
|
|
442
|
+
"\n",
|
|
443
|
+
"[69 rows x 9 columns]"
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"execution_count": 6,
|
|
447
|
+
"metadata": {},
|
|
448
|
+
"output_type": "execute_result"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"source": [
|
|
452
|
+
"ws.to_df()"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
236
455
|
{
|
|
237
456
|
"cell_type": "code",
|
|
238
457
|
"execution_count": null,
|
|
@@ -257,7 +476,7 @@
|
|
|
257
476
|
"name": "python",
|
|
258
477
|
"nbconvert_exporter": "python",
|
|
259
478
|
"pygments_lexer": "ipython3",
|
|
260
|
-
"version": "3.12.
|
|
479
|
+
"version": "3.12.9"
|
|
261
480
|
}
|
|
262
481
|
},
|
|
263
482
|
"nbformat": 4,
|