mns-common 1.2.3.3__py3-none-any.whl → 1.2.3.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.
- mns_common/component/company/company_common_service_new_api.py +1 -0
- mns_common/component/data/data_init_api.py +1 -1
- mns_common/constant/redis_msg_constant.py +17 -2
- {mns_common-1.2.3.3.dist-info → mns_common-1.2.3.5.dist-info}/METADATA +1 -1
- {mns_common-1.2.3.3.dist-info → mns_common-1.2.3.5.dist-info}/RECORD +7 -7
- {mns_common-1.2.3.3.dist-info → mns_common-1.2.3.5.dist-info}/WHEEL +0 -0
- {mns_common-1.2.3.3.dist-info → mns_common-1.2.3.5.dist-info}/top_level.txt +0 -0
|
@@ -99,6 +99,7 @@ def amend_ths_industry(real_time_quotes_now_init):
|
|
|
99
99
|
na_industry_data = na_industry_data.loc[na_industry_data['amount'] != 0]
|
|
100
100
|
|
|
101
101
|
real_time_quotes_now_result = pd.concat([real_time_quotes_now, na_industry_data], axis=0)
|
|
102
|
+
real_time_quotes_now['mv_circulation_ratio'].fillna(1, inplace=True)
|
|
102
103
|
# 处理na值
|
|
103
104
|
real_time_quotes_now_result.fillna('', inplace=True)
|
|
104
105
|
return real_time_quotes_now_result
|
|
@@ -56,7 +56,7 @@ def calculate_parameter_factor(real_time_quotes_now):
|
|
|
56
56
|
(real_time_quotes_now['super_large_order_net_inflow'] / real_time_quotes_now['reference_main_inflow']), 2)
|
|
57
57
|
real_time_quotes_now['large_inflow_multiple'] = round(
|
|
58
58
|
(real_time_quotes_now['large_order_net_inflow'] / real_time_quotes_now['reference_main_inflow']), 2)
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
real_time_quotes_now.loc[:, 'real_disk_diff_amount_exchange'] = round(
|
|
61
61
|
(real_time_quotes_now['disk_diff_amount_exchange'] / real_time_quotes_now['mv_circulation_ratio']), 2)
|
|
62
62
|
|
|
@@ -11,8 +11,23 @@ TOPIC
|
|
|
11
11
|
'''
|
|
12
12
|
|
|
13
13
|
# redis 消息TOPIC
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
'''
|
|
16
|
+
ths 概念topic
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
THS_CONCEPT_MSG_TOPIC = 'THS_CONCEPT_MSG_TOPIC'
|
|
20
|
+
'''
|
|
21
|
+
MSG
|
|
22
|
+
'''
|
|
23
|
+
THS_NEW_CONCEPT_ADD_MSG = 'THS_NEW_CONCEPT_ADD_MSG'
|
|
24
|
+
|
|
25
|
+
'''
|
|
26
|
+
自选板块股票 topic
|
|
27
|
+
'''
|
|
28
|
+
|
|
29
|
+
SELF_CHOOSE_TOPIC = 'SELF_CHOOSE_TOPIC'
|
|
15
30
|
'''
|
|
16
31
|
MSG
|
|
17
32
|
'''
|
|
18
|
-
|
|
33
|
+
SELF_CHOOSE_CHANGE_MSG = 'SELF_CHOOSE_CHANGE_MSG'
|
|
@@ -59,12 +59,12 @@ mns_common/component/classify/symbol_classify_api.py,sha256=fwT2qM-F-eADOtUeRgyq
|
|
|
59
59
|
mns_common/component/classify/symbol_classify_param.py,sha256=ZOXoZeZ2grVACrpRCQyTF6_NEI9fI-tspYj7jubnkmc,1356
|
|
60
60
|
mns_common/component/company/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
61
61
|
mns_common/component/company/company_common_service_api.py,sha256=HHnLkhMgaOk6ZZoOJ2-E_R7-WeX1q0HtLM2IPAk06WE,7992
|
|
62
|
-
mns_common/component/company/company_common_service_new_api.py,sha256=
|
|
62
|
+
mns_common/component/company/company_common_service_new_api.py,sha256=r7pP88K5mK8t-TFzntdOh-HvsaEXE1_FUHZTq1QPPBw,4904
|
|
63
63
|
mns_common/component/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
64
64
|
mns_common/component/concept/kpl_concept_common_service_api.py,sha256=Ruc3INOhVjB0X1LeMRX0zL3uhv9OLweG2hj6wkZffow,3235
|
|
65
65
|
mns_common/component/concept/ths_concept_common_service_api.py,sha256=KkbEnBTz3HZs8mSJ-2FX-UrPSlJfMOd8xSXRmtDpqPc,9682
|
|
66
66
|
mns_common/component/data/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
67
|
-
mns_common/component/data/data_init_api.py,sha256=
|
|
67
|
+
mns_common/component/data/data_init_api.py,sha256=LGWPTDRdWCwv9ngvfgxMVm46BrX1v06jSyEVhIMfEXw,4757
|
|
68
68
|
mns_common/component/deal/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
69
69
|
mns_common/component/deal/deal_service_api.py,sha256=XV_L8qfeTPbojmNXFjnUe-5ZTp3ADT3ett0j-gPuPVI,3806
|
|
70
70
|
mns_common/component/deal/terminal_enum.py,sha256=JUkSTXLQW1fob05PCCzIBg_VKlGmqaJEa0GOvrQH6e0,275
|
|
@@ -96,7 +96,7 @@ mns_common/constant/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZ
|
|
|
96
96
|
mns_common/constant/black_list_classify_enum.py,sha256=I8U_DcltzYvlWjgn-TFLImgVgPuO0lxMnEJAQJBljdo,3995
|
|
97
97
|
mns_common/constant/db_name_constant.py,sha256=nCYyvRvKYdlDij4575GfcRicUYPZAU07J3LGHyVjVwM,2994
|
|
98
98
|
mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
|
|
99
|
-
mns_common/constant/redis_msg_constant.py,sha256=
|
|
99
|
+
mns_common/constant/redis_msg_constant.py,sha256=fMtI_WbJ2IkMX4qGwvR5MkMO0NqU8XgUUZqQzHIRscU,501
|
|
100
100
|
mns_common/constant/self_choose_constant.py,sha256=rHaVnFy3T2uF9T9y6utucyz1rpbbe0Zjb1f8ZAChXl0,492
|
|
101
101
|
mns_common/db/MongodbUtil.py,sha256=9SRED0DJH-4_NzbVehdm2x07Ts68YYm87nEvCywHIf4,11750
|
|
102
102
|
mns_common/db/MongodbUtilLocal.py,sha256=xLUTeeZ83BbqPtUEwy7QmPtkSfwPyNB_5ggkn-eMpBQ,7560
|
|
@@ -109,7 +109,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
|
|
|
109
109
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
110
110
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
111
111
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
112
|
-
mns_common-1.2.3.
|
|
113
|
-
mns_common-1.2.3.
|
|
114
|
-
mns_common-1.2.3.
|
|
115
|
-
mns_common-1.2.3.
|
|
112
|
+
mns_common-1.2.3.5.dist-info/METADATA,sha256=YTu3nTgd5HQVsMOo6sPz9I9ltOyoBagQHNZ3QqdD1lU,61
|
|
113
|
+
mns_common-1.2.3.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
114
|
+
mns_common-1.2.3.5.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
115
|
+
mns_common-1.2.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|