mns-common 1.3.2.9__py3-none-any.whl → 1.3.3.0__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/east_money_debt_api.py +2 -0
- mns_common/api/em/east_money_etf_api.py +2 -0
- mns_common/api/em/east_money_stock_api.py +2 -0
- mns_common/api/em/east_money_stock_hk_api.py +2 -0
- mns_common/api/em/east_money_stock_us_api.py +2 -0
- {mns_common-1.3.2.9.dist-info → mns_common-1.3.3.0.dist-info}/METADATA +1 -1
- {mns_common-1.3.2.9.dist-info → mns_common-1.3.3.0.dist-info}/RECORD +9 -9
- {mns_common-1.3.2.9.dist-info → mns_common-1.3.3.0.dist-info}/WHEEL +0 -0
- {mns_common-1.3.2.9.dist-info → mns_common-1.3.3.0.dist-info}/top_level.txt +0 -0
|
@@ -109,10 +109,12 @@ def get_debt_real_time_quotes():
|
|
|
109
109
|
# 数据接口正常返回5600以上的数量
|
|
110
110
|
if page_one_df.shape[0] > min_number:
|
|
111
111
|
page_one_df = rename_real_time_quotes_df(page_one_df)
|
|
112
|
+
page_one_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
112
113
|
return page_one_df
|
|
113
114
|
else:
|
|
114
115
|
page_df = all_debt_ticker_data(fields)
|
|
115
116
|
page_df = rename_real_time_quotes_df(page_df)
|
|
117
|
+
page_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
116
118
|
return page_df
|
|
117
119
|
|
|
118
120
|
|
|
@@ -347,10 +347,12 @@ def get_etf_real_time_quotes():
|
|
|
347
347
|
# 数据接口正常返回5600以上的数量
|
|
348
348
|
if page_one_df.shape[0] > min_number:
|
|
349
349
|
page_one_df = rename_etf(page_one_df)
|
|
350
|
+
page_one_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
350
351
|
return page_one_df
|
|
351
352
|
else:
|
|
352
353
|
page_df = thread_pool_executor()
|
|
353
354
|
page_df = rename_etf(page_df)
|
|
355
|
+
page_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
354
356
|
return page_df
|
|
355
357
|
|
|
356
358
|
|
|
@@ -99,10 +99,12 @@ def get_real_time_quotes_all_stocks():
|
|
|
99
99
|
# 数据接口正常返回5600以上的数量
|
|
100
100
|
if page_one_df.shape[0] > min_number:
|
|
101
101
|
page_one_df = rename_real_time_quotes_df(page_one_df)
|
|
102
|
+
page_one_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
102
103
|
return page_one_df
|
|
103
104
|
else:
|
|
104
105
|
page_df = all_stock_ticker_data_new(fields, fs)
|
|
105
106
|
page_df = rename_real_time_quotes_df(page_df)
|
|
107
|
+
page_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
106
108
|
return page_df
|
|
107
109
|
|
|
108
110
|
|
|
@@ -202,9 +202,11 @@ def get_hk_real_time_quotes(cookie):
|
|
|
202
202
|
page_one_df = hk_real_time_quotes_page_df(cookie, 1)
|
|
203
203
|
# 数据接口正常返回5600以上的数量
|
|
204
204
|
if page_one_df.shape[0] > min_number:
|
|
205
|
+
page_one_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
205
206
|
return page_one_df
|
|
206
207
|
else:
|
|
207
208
|
page_df = thread_pool_executor(cookie)
|
|
209
|
+
page_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
208
210
|
return page_df
|
|
209
211
|
|
|
210
212
|
|
|
@@ -91,10 +91,12 @@ def get_us_stock_real_time_quotes(cookie):
|
|
|
91
91
|
# 数据接口正常返回5600以上的数量
|
|
92
92
|
if page_one_df.shape[0] > min_number:
|
|
93
93
|
page_one_df = rename_us_stock(page_one_df)
|
|
94
|
+
page_one_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
94
95
|
return page_one_df
|
|
95
96
|
else:
|
|
96
97
|
page_df = thread_pool_executor(cookie)
|
|
97
98
|
page_df = rename_us_stock(page_df)
|
|
99
|
+
page_df.drop_duplicates('symbol', keep='last', inplace=True)
|
|
98
100
|
return page_df
|
|
99
101
|
|
|
100
102
|
|
|
@@ -8,13 +8,13 @@ mns_common/api/akshare/stock_zb_pool.py,sha256=ylcVgZTzsD3qz9WaItLtoqTf4t-Ex49MD
|
|
|
8
8
|
mns_common/api/akshare/stock_zt_pool_api.py,sha256=_4PG_Wd88S4zweKNwZprwxaMMHBF4OQSB77DGW1l9UQ,1929
|
|
9
9
|
mns_common/api/akshare/yjyg_sync_api.py,sha256=cvk50_XhJWUqduOiC15SYvQTCQqECt6td_L2Hvnl7Jg,4108
|
|
10
10
|
mns_common/api/em/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
11
|
-
mns_common/api/em/east_money_debt_api.py,sha256=
|
|
12
|
-
mns_common/api/em/east_money_etf_api.py,sha256=
|
|
13
|
-
mns_common/api/em/east_money_stock_api.py,sha256=
|
|
11
|
+
mns_common/api/em/east_money_debt_api.py,sha256=XgLjOOqcthFScEt9JoKUHnODMTQhGPNgbPzW6jJfIlo,14142
|
|
12
|
+
mns_common/api/em/east_money_etf_api.py,sha256=4fh06a2Vy1a1TwWnDwI56O0A-HLEtAtYJiNT6gV65Oc,13988
|
|
13
|
+
mns_common/api/em/east_money_stock_api.py,sha256=4fLF_oopT-x22bwP6LPNO8GdgF6pS9XUIjndB_dSPmQ,9348
|
|
14
14
|
mns_common/api/em/east_money_stock_api_develop.py,sha256=IijcfCwqzuwd7okAjOnFoWiWSvlRttSg1vGzkDXljeM,9888
|
|
15
15
|
mns_common/api/em/east_money_stock_gdfx_free_top_10_api.py,sha256=jVy3fNdrkLq3ri7yUwXWt0ItB8LCHzt9CPz91Fj8sPA,9198
|
|
16
|
-
mns_common/api/em/east_money_stock_hk_api.py,sha256=
|
|
17
|
-
mns_common/api/em/east_money_stock_us_api.py,sha256=
|
|
16
|
+
mns_common/api/em/east_money_stock_hk_api.py,sha256=bZ36xV_ZVYQ7u_r6m6ek41fgWLdUtFezOVrI5o4_FaM,14352
|
|
17
|
+
mns_common/api/em/east_money_stock_us_api.py,sha256=4sC0F4ez73pLvbA_h3NCS2jXlnxmjuOK4wnszDA1B8g,11012
|
|
18
18
|
mns_common/api/em/east_money_stock_v2_api.py,sha256=1fZaY6CzDY4OGFjOsqG0gtfu8DPudowndYVyg2-opZI,9190
|
|
19
19
|
mns_common/api/em/em_concept_index_api.py,sha256=PP87ES8a_y0o3SKLzBsPrc7DCPI3MBCD-4SmoUUirl0,8285
|
|
20
20
|
mns_common/api/em/self_choose/__init__.py,sha256=vAy9qYgUgZL9Y0w3BBbqmZ9zES46pPnlJjO2hdtotp0,2673
|
|
@@ -137,7 +137,7 @@ mns_common/utils/date_handle_util.py,sha256=P4WJUmoDpo4IoCrt2z4keyr7pqXHKmCZBVod
|
|
|
137
137
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
138
138
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
139
139
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
140
|
-
mns_common-1.3.
|
|
141
|
-
mns_common-1.3.
|
|
142
|
-
mns_common-1.3.
|
|
143
|
-
mns_common-1.3.
|
|
140
|
+
mns_common-1.3.3.0.dist-info/METADATA,sha256=4ms55iG0rAaZyhes5GxFEScCl4Q8Qy8riaRy2vZcBQI,61
|
|
141
|
+
mns_common-1.3.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
142
|
+
mns_common-1.3.3.0.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
143
|
+
mns_common-1.3.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|