mns-common 1.5.1.2__py3-none-any.whl → 1.5.1.5__py3-none-any.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.
Potentially problematic release.
This version of mns-common might be problematic. Click here for more details.
- mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py +2 -1
- mns_common/component/common_service_fun_api.py +5 -0
- {mns_common-1.5.1.2.dist-info → mns_common-1.5.1.5.dist-info}/METADATA +1 -1
- {mns_common-1.5.1.2.dist-info → mns_common-1.5.1.5.dist-info}/RECORD +6 -6
- {mns_common-1.5.1.2.dist-info → mns_common-1.5.1.5.dist-info}/WHEEL +0 -0
- {mns_common-1.5.1.2.dist-info → mns_common-1.5.1.5.dist-info}/top_level.txt +0 -0
|
@@ -344,7 +344,6 @@ def merge_zt_reason(now_zt_pool_df, str_day, last_trade_zt, now_continue_zt):
|
|
|
344
344
|
zt_reason_df_copy = zt_reason_df_copy.set_index(['symbol'], drop=True)
|
|
345
345
|
now_zt_pool_df = now_zt_pool_df.set_index(['symbol'], drop=False)
|
|
346
346
|
|
|
347
|
-
now_zt_pool_df['main_line'] = ''
|
|
348
347
|
if data_frame_util.is_not_empty(now_continue_zt):
|
|
349
348
|
now_continue_zt = now_continue_zt[['symbol', 'main_line']]
|
|
350
349
|
|
|
@@ -364,8 +363,10 @@ def merge_zt_reason(now_zt_pool_df, str_day, last_trade_zt, now_continue_zt):
|
|
|
364
363
|
last_trade_zt_copy = last_trade_zt_copy.set_index(['symbol'], drop=True)
|
|
365
364
|
del zt_reason_na['zt_reason']
|
|
366
365
|
zt_reason_na = zt_reason_na.set_index(['symbol'], drop=False)
|
|
366
|
+
del last_trade_zt_copy['main_line']
|
|
367
367
|
zt_reason_na = pd.merge(zt_reason_na, last_trade_zt_copy, how='outer',
|
|
368
368
|
left_index=True, right_index=True)
|
|
369
|
+
|
|
369
370
|
zt_reason_na['zt_reason'] = zt_reason_na['zt_reason'].fillna('0')
|
|
370
371
|
# 删除昨日涨停 今日未涨停的
|
|
371
372
|
zt_reason_na.dropna(subset=['symbol'], inplace=True)
|
|
@@ -68,13 +68,13 @@ mns_common/api/ths/wen_cai/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK
|
|
|
68
68
|
mns_common/api/ths/wen_cai/ths_wen_cai_api.py,sha256=zDwZyh60sHdJ_folWDVZmLD1mndKc40Ltc4JbL12HF4,4935
|
|
69
69
|
mns_common/api/ths/zt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
mns_common/api/ths/zt/ths_stock_zt_pool_api.py,sha256=NAfyOWWROVpCRlw3jcCxPLQMwR8m0jt9tfIZT7Jr1UE,10690
|
|
71
|
-
mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py,sha256=
|
|
71
|
+
mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py,sha256=3ADUkXpf9FsXsg3r2_bQmdjkxhwB08UtVyTUGes9TnI,19515
|
|
72
72
|
mns_common/api/us/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
73
73
|
mns_common/api/us/ths_us_company_info_api.py,sha256=qQjv4F-ovQ2uuu-FlBAnxjvVA7qj9y_x5WZtUoyoEW4,241
|
|
74
74
|
mns_common/api/xueqiu/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
75
75
|
mns_common/api/xueqiu/xue_qiu_k_line_api.py,sha256=yABuo5AsJRj6ElXkq8Xzwe-LIWzS0fo-g2fJtzLswoA,3535
|
|
76
76
|
mns_common/component/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
77
|
-
mns_common/component/common_service_fun_api.py,sha256=
|
|
77
|
+
mns_common/component/common_service_fun_api.py,sha256=cVPG3dzn1XKvjmmeaWHRPbC_mzGoxeC2ffo45FBEIqY,7259
|
|
78
78
|
mns_common/component/cache/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
79
79
|
mns_common/component/cache/cache_service.py,sha256=QX7tjR1iGsoCyGt6O41w8aRbZ-3xXQ-53Ps3nmUzAGQ,809
|
|
80
80
|
mns_common/component/classify/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
@@ -158,7 +158,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
|
|
|
158
158
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
159
159
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
160
160
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
161
|
-
mns_common-1.5.1.
|
|
162
|
-
mns_common-1.5.1.
|
|
163
|
-
mns_common-1.5.1.
|
|
164
|
-
mns_common-1.5.1.
|
|
161
|
+
mns_common-1.5.1.5.dist-info/METADATA,sha256=YLPOLO_99ZymHoEEaKi2LjFOg3DPzburAquYZHCVRLs,61
|
|
162
|
+
mns_common-1.5.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
163
|
+
mns_common-1.5.1.5.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
164
|
+
mns_common-1.5.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|