mns-common 1.2.5.2__py3-none-any.whl → 1.2.5.3__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/em/self_choose/__init__.py +27 -0
- mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py +0 -4
- {mns_common-1.2.5.2.dist-info → mns_common-1.2.5.3.dist-info}/METADATA +1 -1
- {mns_common-1.2.5.2.dist-info → mns_common-1.2.5.3.dist-info}/RECORD +6 -5
- {mns_common-1.2.5.2.dist-info → mns_common-1.2.5.3.dist-info}/WHEEL +0 -0
- {mns_common-1.2.5.2.dist-info → mns_common-1.2.5.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
file_path = os.path.abspath(__file__)
|
|
5
|
+
end = file_path.index('mns') + 16
|
|
6
|
+
project_path = file_path[0:end]
|
|
7
|
+
sys.path.append(project_path)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
fetch("https://myfavor.eastmoney.com/v4/webouter/as?appkey=e9166c7e9cdfad3aa3fd7d93b757e9b1&cb=jQuery371045745102863162_1727593084438&g=1&sc=116%2402318&_=1727593084478", {
|
|
12
|
+
"headers": {
|
|
13
|
+
"accept": "*/*",
|
|
14
|
+
"accept-language": "zh-CN,zh;q=0.9",
|
|
15
|
+
"sec-ch-ua": "\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"",
|
|
16
|
+
"sec-ch-ua-mobile": "?0",
|
|
17
|
+
"sec-ch-ua-platform": "\"Windows\"",
|
|
18
|
+
"sec-fetch-dest": "script",
|
|
19
|
+
"sec-fetch-mode": "no-cors",
|
|
20
|
+
"sec-fetch-site": "same-site",
|
|
21
|
+
"cookie": "qgqp_b_id=1e0d79428176ed54bef8434efdc0e8c3; mtp=1; uidal=4253366368931142%e8%82%a1%e5%8f%8b9x56I87727; sid=170711377; vtpst=|; ct=RWJFw3nWsBRloTBCLgO5XX6b48IHj3YiKY0QS2Rn8Vfd14sSHK9v5TAE6wdXndSvskLTqiayWrbw-mHS3wZlLy2Yc0esK7P2WtX_3Pqn_B1ylw0W31ydNOmfMwGdtJEoT8uYVZnOEEKgjGvsZCtXUb5wILUoxwMcjk0Hrjl9meE; ut=FobyicMgeV4IrDnpDeOA2wpy4pz6RNWo-uhd_riT93xOIbOw4OZHlmA5Vsq1An23blEIFsYbBo6zcXjQmAQCxPwQfp4l_z7BCt0O6855lQWHyS4MObxDc9OT11B8PwrZNPxhfY4pQTRMYaXM2aMm0OAXZC-IygpxHk_p83BOWxVYorT-4HoQoLQmix2dcuVG8rd3LKTfjvRJK1zYPIjO_NJe0i-8zEo4B9hmdMkFrGNMHwwG7gmaCZnSDk4s74uv_YstQro7JrrB-5MRdI-xNE9esdGNNM-V; pi=4253366368931142%3Bp4253366368931142%3B%E8%82%A1%E5%8F%8B9x56I87727%3BegTFGhjGzYty9yGOFjlPzZRWVTVOw5PhTyvveXmpLefHG1miuMYvM1XsvT7U3na1uMcMn4s5gPkVCyW%2BLXKU0x0uS%2FqCFE69ubBAbEhaxasiwYbaa9sTVn0HaPC9zWhLNGmoZxykSGh9Xa2aYfqcJeUU4vkPe13ExVrwbSNE44bd2%2B26NIgcGVt1pz7%2F%2FqA8v%2FhkxSn%2F%3BE0adByCvPsoKpsmXX7%2BD2ub2das13Adlj5OiUeTrvF9q6dN54F%2BA0odkH1EZtKjwdUmotY4JmR7x8EHTEoh6PghvOCGUbhm0GcDi2v0qYcBpokFHcQOaz9jIFd0uL1nfkMo96Fb4GWmv9mGrH5iPtjCEKz1bcA%3D%3D; xsb_history=404002%7C%u641C%u7279%u9000%u503A; HAList=ty-0-920019-%u94DC%u51A0%u77FF%u5EFA%2Cty-1-000001-%u4E0A%u8BC1%u6307%u6570%2Cty-0-002296-%u8F89%u714C%u79D1%u6280%2Cty-220-TM-%u5341%u503A%u4E3B%u8FDE%2Cty-0-300133-%u534E%u7B56%u5F71%u89C6%2Cty-0-159546-%u96C6%u6210%u7535%u8DEFETF%2Cty-1-510300-%u6CAA%u6DF1300ETF%2Cty-90-BK0895-%u7EF4%u751F%u7D20%2Cty-1-603777-%u6765%u4F0A%u4EFD%2Cty-90-BK0528-%u8F6C%u503A%u6807%u7684; websitepoptg_api_time=1727593081694; st_si=97341843359922; rskey=XQWMMOHNpaC9BZUFvKzFNYkduYVpvZ0pMQT09ilbyT; st_pvi=26930719093675; st_sp=2024-04-28%2017%3A27%3A05; st_inirUrl=https%3A%2F%2Fcn.bing.com%2F; st_sn=2; st_psi=20240929145804510-113200301712-1483040302; st_asi=20240929145804510-113200301712-1483040302-Web_so_ss-12",
|
|
22
|
+
"Referer": "https://quote.eastmoney.com/zixuan/?from=home",
|
|
23
|
+
"Referrer-Policy": "unsafe-url"
|
|
24
|
+
},
|
|
25
|
+
"body": null,
|
|
26
|
+
"method": "GET"
|
|
27
|
+
});
|
|
@@ -291,10 +291,6 @@ def merge_zt_reason(now_zt_pool_df, str_day, last_trade_zt):
|
|
|
291
291
|
zt_reason_df_copy = zt_reason_df_copy.set_index(['symbol'], drop=True)
|
|
292
292
|
now_zt_pool_df = now_zt_pool_df.set_index(['symbol'], drop=False)
|
|
293
293
|
|
|
294
|
-
# 检查索引是否有重复
|
|
295
|
-
print("now_zt_pool_df 索引是否有重复:", now_zt_pool_df.index.duplicated().any())
|
|
296
|
-
print("zt_reason_df 索引是否有重复:", zt_reason_df_copy.index.duplicated().any())
|
|
297
|
-
|
|
298
294
|
result_zt_df = pd.merge(now_zt_pool_df, zt_reason_df_copy, how='outer',
|
|
299
295
|
left_index=True, right_index=True)
|
|
300
296
|
|
|
@@ -15,6 +15,7 @@ mns_common/api/em/east_money_stock_gdfx_free_top_10_api.py,sha256=vm42aeIB49mFnn
|
|
|
15
15
|
mns_common/api/em/east_money_stock_hk_api.py,sha256=JBMonPLMsz2YwsocCZtwEwtjqQ1fSzfFxKGTdm1fnsQ,9074
|
|
16
16
|
mns_common/api/em/east_money_stock_v2_api.py,sha256=HrvvQiKbIqhhiSBKSZV_hGlWHWFaUfzsHyfYb3oK8yk,14780
|
|
17
17
|
mns_common/api/em/em_concept_index_api.py,sha256=lbW0emuCSlJ54Sj8o07AuTEfLmNfOPo3Cz4lwWiv4c8,8285
|
|
18
|
+
mns_common/api/em/self_choose/__init__.py,sha256=vAy9qYgUgZL9Y0w3BBbqmZ9zES46pPnlJjO2hdtotp0,2673
|
|
18
19
|
mns_common/api/kpl/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
19
20
|
mns_common/api/kpl/common/__init__.py,sha256=8b2PuXJM5fLoq71cWPXp695czQuaRtyR6OVHajGjDPc,161
|
|
20
21
|
mns_common/api/kpl/common/kpl_common_api.py,sha256=leSgOCg5ClWbGCdIkeeMxUy_x1FcF7NlchaMvzvz1ow,6536
|
|
@@ -50,7 +51,7 @@ mns_common/api/ths/wen_cai/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK
|
|
|
50
51
|
mns_common/api/ths/wen_cai/ths_wen_cai_api.py,sha256=TiDbKIB57ARrnGb70vSJ7-c7lodQqivwlC2IWs95xFw,4718
|
|
51
52
|
mns_common/api/ths/zt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
53
|
mns_common/api/ths/zt/ths_stock_zt_pool_api.py,sha256=GIYdc5J7ZrV25Elbf0n3bBZOc7x4OrlI0jFrO3du8lY,10756
|
|
53
|
-
mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py,sha256=
|
|
54
|
+
mns_common/api/ths/zt/ths_stock_zt_pool_v2_api.py,sha256=1qTDjmlsb4rc7Ev8Jtr0rvVXUcDCWGm4MFG7tt0KAoU,16429
|
|
54
55
|
mns_common/component/__init__.py,sha256=8b2PuXJM5fLoq71cWPXp695czQuaRtyR6OVHajGjDPc,161
|
|
55
56
|
mns_common/component/common_service_fun_api.py,sha256=71_w6mKAmdISumjlc5xPPMmO8W_nWeiw11arRohh9Ts,5211
|
|
56
57
|
mns_common/component/cache/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
@@ -113,7 +114,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
|
|
|
113
114
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
114
115
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
115
116
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
116
|
-
mns_common-1.2.5.
|
|
117
|
-
mns_common-1.2.5.
|
|
118
|
-
mns_common-1.2.5.
|
|
119
|
-
mns_common-1.2.5.
|
|
117
|
+
mns_common-1.2.5.3.dist-info/METADATA,sha256=8nLtqcIdI1uJaXJuKT9_wsLa2dphLnV9SDPQWbfX0n8,61
|
|
118
|
+
mns_common-1.2.5.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
119
|
+
mns_common-1.2.5.3.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
120
|
+
mns_common-1.2.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|