mns-common 1.5.2.4__py3-none-any.whl → 1.5.2.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.

@@ -275,10 +275,14 @@ def zt_reason_group(zt_pool_df):
275
275
 
276
276
 
277
277
  def zt_analyse(symbol):
278
- key = symbol + '涨停分析'
279
- zt_dict = ths_wen_cai_api.wen_cai_api(key, 'stock')
280
- zt_analyse_detail = zt_dict['涨停揭秘'][0]['content']['value']
281
- return zt_analyse_detail
278
+ try:
279
+ key = symbol + '涨停分析'
280
+ zt_dict = ths_wen_cai_api.wen_cai_api(key, 'stock')
281
+ zt_analyse_detail = zt_dict['涨停揭秘'][0]['content']['value']
282
+ return zt_analyse_detail
283
+ except BaseException as e:
284
+ logger.error("获取涨停分享异常b:{},{}", symbol, str(e))
285
+ return ''
282
286
 
283
287
 
284
288
  if __name__ == '__main__':
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns-common
3
- Version: 1.5.2.4
3
+ Version: 1.5.2.5
4
4
 
@@ -68,7 +68,7 @@ mns_common/api/ths/self_choose/ths_self_choose_api.py,sha256=TkV4r8iRkgcm4OaclUT
68
68
  mns_common/api/ths/wen_cai/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
69
69
  mns_common/api/ths/wen_cai/ths_wen_cai_api.py,sha256=e_HoW_MVpYLIUSnClTCA9U2QJ5o1GGge6ZIPrs93zLs,4947
70
70
  mns_common/api/ths/zt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
- mns_common/api/ths/zt/ths_stock_zt_pool_api.py,sha256=HfFRpsq6j359g6KxJicw9tcny_NunDksKRG0R3e-biE,10991
71
+ mns_common/api/ths/zt/ths_stock_zt_pool_api.py,sha256=AkfA-mE67dha5VIKiHyQbYljtAIds1xZ9-2iQbo17Tk,11141
72
72
  mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py,sha256=3ADUkXpf9FsXsg3r2_bQmdjkxhwB08UtVyTUGes9TnI,19515
73
73
  mns_common/api/us/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
74
74
  mns_common/api/us/ths_us_company_info_api.py,sha256=qQjv4F-ovQ2uuu-FlBAnxjvVA7qj9y_x5WZtUoyoEW4,241
@@ -159,7 +159,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
159
159
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
160
160
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
161
161
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
162
- mns_common-1.5.2.4.dist-info/METADATA,sha256=mCnfe7RNNmyggWU14hn45AetnG2uI02Axnyqsb9JQoY,61
163
- mns_common-1.5.2.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
164
- mns_common-1.5.2.4.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
165
- mns_common-1.5.2.4.dist-info/RECORD,,
162
+ mns_common-1.5.2.5.dist-info/METADATA,sha256=OWewhOP5SS-XiA89F8u3XfrKbnCq9uV2bfB22voSnw4,61
163
+ mns_common-1.5.2.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
164
+ mns_common-1.5.2.5.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
165
+ mns_common-1.5.2.5.dist-info/RECORD,,