mns-common 1.2.3.0__py3-none-any.whl → 1.2.3.2__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 +32 -0
- mns_common/constant/redis_msg_constant.py +1 -1
- {mns_common-1.2.3.0.dist-info → mns_common-1.2.3.2.dist-info}/METADATA +1 -1
- {mns_common-1.2.3.0.dist-info → mns_common-1.2.3.2.dist-info}/RECORD +6 -6
- {mns_common-1.2.3.0.dist-info → mns_common-1.2.3.2.dist-info}/WHEEL +0 -0
- {mns_common-1.2.3.0.dist-info → mns_common-1.2.3.2.dist-info}/top_level.txt +0 -0
|
@@ -26,6 +26,38 @@ def get_de_list_company():
|
|
|
26
26
|
return list(mongodb_util.find_all_data(db_name_constant.DE_LIST_STOCK)['symbol'])
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
# 获取公司详情
|
|
30
|
+
@lru_cache(maxsize=None)
|
|
31
|
+
def get_company_info_info():
|
|
32
|
+
return mongodb_util.find_query_data_choose_field('company_info', {},
|
|
33
|
+
{"_id": 1,
|
|
34
|
+
"industry": 1,
|
|
35
|
+
"company_type": 1,
|
|
36
|
+
"ths_concept_name": 1,
|
|
37
|
+
"ths_concept_code": 1,
|
|
38
|
+
"ths_concept_sync_day": 1,
|
|
39
|
+
'sub_stock': 1,
|
|
40
|
+
"first_sw_industry": 1,
|
|
41
|
+
"second_sw_industry": 1,
|
|
42
|
+
"third_sw_industry": 1,
|
|
43
|
+
"mv_circulation_ratio": 1,
|
|
44
|
+
"diff_days": 1,
|
|
45
|
+
"list_date": 1,
|
|
46
|
+
'em_industry': 1,
|
|
47
|
+
'ths_concept_list_info': 1,
|
|
48
|
+
"kpl_plate_name": 1,
|
|
49
|
+
"kpl_plate_list_info": 1,
|
|
50
|
+
'operate_profit': 1,
|
|
51
|
+
'total_operate_income': 1,
|
|
52
|
+
"flow_mv_sp": 1,
|
|
53
|
+
"total_mv_sp": 1
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def clear_company_info_cache():
|
|
58
|
+
get_company_info_info.cache_clear()
|
|
59
|
+
|
|
60
|
+
|
|
29
61
|
# 使用同花顺行业分类
|
|
30
62
|
def amend_ths_industry(real_time_quotes_now_init):
|
|
31
63
|
real_time_quotes_now = real_time_quotes_now_init.copy()
|
|
@@ -59,7 +59,7 @@ 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=dUP5Uocvgflf5wmAlRdBWpUzQ6EbTK4hGnOCyHlkEek,4830
|
|
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
|
|
@@ -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=2KuivO0DbS9sVEXH_G7XD1O6mXkBA8Z1NlCa_72gAdA,310
|
|
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.2.dist-info/METADATA,sha256=8AQ2X0903zr87KZPMC_LbNxT5LosoghyHhH1DxSweOI,61
|
|
113
|
+
mns_common-1.2.3.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
114
|
+
mns_common-1.2.3.2.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
115
|
+
mns_common-1.2.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|