mns-scheduler 1.1.3.9__py3-none-any.whl → 1.1.4.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-scheduler might be problematic. Click here for more details.
- mns_scheduler/common/redis/redis_msg_push_service.py +1 -1
- mns_scheduler/concept/ths/common/ths_concept_sync_common_api.py +2 -1
- mns_scheduler/concept/ths/detaill/ths_concept_detail_api.py +3 -1
- mns_scheduler/concept/ths/sync_new_index/sync_ths_concept_new_index_api.py +2 -1
- mns_scheduler/concept/ths/update_concept_info/sync_one_symbol_all_concepts_api.py +2 -1
- {mns_scheduler-1.1.3.9.dist-info → mns_scheduler-1.1.4.0.dist-info}/METADATA +1 -1
- {mns_scheduler-1.1.3.9.dist-info → mns_scheduler-1.1.4.0.dist-info}/RECORD +9 -9
- {mns_scheduler-1.1.3.9.dist-info → mns_scheduler-1.1.4.0.dist-info}/WHEEL +0 -0
- {mns_scheduler-1.1.3.9.dist-info → mns_scheduler-1.1.4.0.dist-info}/top_level.txt +0 -0
|
@@ -20,6 +20,7 @@ import mns_common.utils.data_frame_util as data_frame_util
|
|
|
20
20
|
import mns_common.constant.db_name_constant as db_name_constant
|
|
21
21
|
import mns_scheduler.common.redis.redis_msg_push_service as redis_msg_push_service
|
|
22
22
|
import mns_scheduler.concept.clean.ths_concept_clean_api as ths_concept_clean_api
|
|
23
|
+
import mns_common.constant.redis_msg_constant as redis_msg_constant
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
# 推送消息
|
|
@@ -29,7 +30,7 @@ def push_msg_to_we_chat_and_redis(concept_code, concept_name, url):
|
|
|
29
30
|
# 推送到微信
|
|
30
31
|
push_msg_api.push_msg_to_wechat(title, msg)
|
|
31
32
|
# 项目之前推送消息
|
|
32
|
-
redis_msg_push_service.send_redis_msg(
|
|
33
|
+
redis_msg_push_service.send_redis_msg(redis_msg_constant.THS_NEW_CONCEPT_ADD_MSG)
|
|
33
34
|
|
|
34
35
|
# 更新ths概念信息
|
|
35
36
|
ths_concept_clean_api.update_ths_concept_info()
|
|
@@ -20,6 +20,8 @@ import time
|
|
|
20
20
|
from datetime import datetime
|
|
21
21
|
import mns_scheduler.concept.ths.common.ths_concept_sync_common_api as ths_concept_sync_common_api
|
|
22
22
|
import mns_scheduler.common.redis.redis_msg_push_service as redis_msg_push_service
|
|
23
|
+
import mns_common.constant.redis_msg_constant as redis_msg_constant
|
|
24
|
+
|
|
23
25
|
|
|
24
26
|
def get_ths_concept_detail(concept_code, concept_name):
|
|
25
27
|
real_time_quotes_all_stocks = east_money_stock_api.get_real_time_quotes_all_stocks()
|
|
@@ -211,7 +213,7 @@ def sync_ths_concept_detail_to_db(concept_code, concept_name):
|
|
|
211
213
|
str_now_time, concept_code)
|
|
212
214
|
|
|
213
215
|
# 项目之前推送消息
|
|
214
|
-
redis_msg_push_service.send_redis_msg(
|
|
216
|
+
redis_msg_push_service.send_redis_msg(redis_msg_constant.THS_NEW_CONCEPT_ADD_MSG)
|
|
215
217
|
|
|
216
218
|
|
|
217
219
|
if __name__ == '__main__':
|
|
@@ -17,6 +17,7 @@ import pandas as pd
|
|
|
17
17
|
import mns_scheduler.concept.ths.detaill.ths_concept_detail_api as ths_concept_detail_api
|
|
18
18
|
import mns_common.constant.db_name_constant as db_name_constant
|
|
19
19
|
import mns_scheduler.common.redis.redis_msg_push_service as redis_msg_push_service
|
|
20
|
+
import mns_common.constant.redis_msg_constant as redis_msg_constant
|
|
20
21
|
|
|
21
22
|
mongodb_util = MongodbUtil('27017')
|
|
22
23
|
import mns_common.component.concept.ths_concept_common_service_api as ths_concept_common_service_api
|
|
@@ -155,7 +156,7 @@ def sync_ths_concept_new_index_from_detail():
|
|
|
155
156
|
# 更新ths概念统计信息
|
|
156
157
|
ths_concept_clean_api.update_ths_concept_info()
|
|
157
158
|
# 项目之前推送消息
|
|
158
|
-
redis_msg_push_service.send_redis_msg(
|
|
159
|
+
redis_msg_push_service.send_redis_msg(redis_msg_constant.THS_NEW_CONCEPT_ADD_MSG)
|
|
159
160
|
|
|
160
161
|
|
|
161
162
|
if __name__ == '__main__':
|
|
@@ -14,6 +14,7 @@ import mns_scheduler.concept.ths.common.ths_concept_update_common_api as ths_con
|
|
|
14
14
|
import mns_common.utils.date_handle_util as date_handle_util
|
|
15
15
|
import mns_common.constant.db_name_constant as db_name_constant
|
|
16
16
|
import mns_scheduler.common.redis.redis_msg_push_service as redis_msg_push_service
|
|
17
|
+
import mns_common.constant.redis_msg_constant as redis_msg_constant
|
|
17
18
|
|
|
18
19
|
file_path = os.path.abspath(__file__)
|
|
19
20
|
end = file_path.index('mns') + 17
|
|
@@ -54,7 +55,7 @@ def sync_new_concept_to_ths_detail(symbol_add_new_concept_df, str_day, str_now_t
|
|
|
54
55
|
except BaseException as e:
|
|
55
56
|
logger.error("转换同花顺概念异常:{},{}", new_concept_one, e)
|
|
56
57
|
# 项目之前推送消息
|
|
57
|
-
redis_msg_push_service.send_redis_msg(
|
|
58
|
+
redis_msg_push_service.send_redis_msg(redis_msg_constant.THS_NEW_CONCEPT_ADD_MSG)
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
# 保存数据到对比
|
|
@@ -3,7 +3,7 @@ mns_scheduler/big_deal/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9
|
|
|
3
3
|
mns_scheduler/big_deal/ths_big_deal_sync.py,sha256=aMFj-_pLprh4vGjSSzmr_tlYoPA0L4Lm0SkLRkQwIiw,4564
|
|
4
4
|
mns_scheduler/common/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
5
5
|
mns_scheduler/common/redis/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
6
|
-
mns_scheduler/common/redis/redis_msg_push_service.py,sha256=
|
|
6
|
+
mns_scheduler/common/redis/redis_msg_push_service.py,sha256=uJxiwc5SVQnAX7Pc_w7tgXBK_H2SP1LhjgdL2QZQnm8,472
|
|
7
7
|
mns_scheduler/company_info/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
8
8
|
mns_scheduler/company_info/base/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
9
9
|
mns_scheduler/company_info/base/sync_company_base_info_api.py,sha256=NRuwc5oJF9Ngt932OrnG76oP22OmkjbGgcWKgWplafg,19106
|
|
@@ -21,15 +21,15 @@ mns_scheduler/concept/clean/kpl_concept_clean_api.py,sha256=xxIIgrXLI6xLf10t4unJ
|
|
|
21
21
|
mns_scheduler/concept/clean/ths_concept_clean_api.py,sha256=wxdT5Eb3awHW9HuFlgSe8-C6sC6TNaDYozr8VvNdYe0,5953
|
|
22
22
|
mns_scheduler/concept/ths/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
23
23
|
mns_scheduler/concept/ths/common/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
24
|
-
mns_scheduler/concept/ths/common/ths_concept_sync_common_api.py,sha256=
|
|
24
|
+
mns_scheduler/concept/ths/common/ths_concept_sync_common_api.py,sha256=nvPo4EW7nsULLoZhRF5E5a6Qm4svd6EScWUsB0MmDa0,8416
|
|
25
25
|
mns_scheduler/concept/ths/common/ths_concept_update_common_api.py,sha256=4BQT3A9t-nDIyCpILgRZF7ZOgK1oabp-gJl5nyWvKWc,4418
|
|
26
26
|
mns_scheduler/concept/ths/detaill/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
-
mns_scheduler/concept/ths/detaill/ths_concept_detail_api.py,sha256=
|
|
27
|
+
mns_scheduler/concept/ths/detaill/ths_concept_detail_api.py,sha256=qPJllFhy9BSM4LOCAbQ5MLhpOvP3oNxlwzhgvHFKsn4,10784
|
|
28
28
|
mns_scheduler/concept/ths/sync_new_index/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
29
|
-
mns_scheduler/concept/ths/sync_new_index/sync_ths_concept_new_index_api.py,sha256=
|
|
29
|
+
mns_scheduler/concept/ths/sync_new_index/sync_ths_concept_new_index_api.py,sha256=vNe9Wt0yTiPLj0svA-2H4Pd94P9yr1kNM0EJmaw85uE,7621
|
|
30
30
|
mns_scheduler/concept/ths/update_concept_info/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
31
31
|
mns_scheduler/concept/ths/update_concept_info/sync_one_concept_all_symbols_api.py,sha256=wwuLfjj9AnFcHP-oQPC5AhpwgZ8IsPiNUh-Z6swcngA,1380
|
|
32
|
-
mns_scheduler/concept/ths/update_concept_info/sync_one_symbol_all_concepts_api.py,sha256=
|
|
32
|
+
mns_scheduler/concept/ths/update_concept_info/sync_one_symbol_all_concepts_api.py,sha256=nwDsH3wD_EXf4HHtwEsj0HFezGdIe0MPB-r6l8WOjY8,9305
|
|
33
33
|
mns_scheduler/db/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
34
34
|
mns_scheduler/db/col_move_service.py,sha256=-d3JUCjWyaGKBhyUSkqwpCgZtHkIy1JOasgpxmH74zg,4057
|
|
35
35
|
mns_scheduler/db/db_status.py,sha256=e5eW5ZSm5J7tHvmxxhFmFdbZb2_oB_SAcdcFqc4KDmw,733
|
|
@@ -128,7 +128,7 @@ mns_scheduler/zt/zt_pool/em_zt_pool_sync_api.py,sha256=x3-NCugHoY5IuX2s1UOUMl8DZ
|
|
|
128
128
|
mns_scheduler/zt/zt_pool/ths_zt_pool_sync_api.py,sha256=LJVGqJyLn04oC-Xp59RVE1IOz7lx6ao78bw9l67sKBM,10382
|
|
129
129
|
mns_scheduler/zz_task/__init__.py,sha256=QWBdZwBCvQw8aS4hnL9_pg3U3ZiNLUXzlImyy9WhUcI,163
|
|
130
130
|
mns_scheduler/zz_task/data_sync_task.py,sha256=KI7I5R4RFZ67KSzXJiObnIrsKecvvvMQpCFNMX1qHJQ,19069
|
|
131
|
-
mns_scheduler-1.1.
|
|
132
|
-
mns_scheduler-1.1.
|
|
133
|
-
mns_scheduler-1.1.
|
|
134
|
-
mns_scheduler-1.1.
|
|
131
|
+
mns_scheduler-1.1.4.0.dist-info/METADATA,sha256=yPwQkWkKLxLHIzzyZIWpcotteXG5QNZAF-7y25ISL3k,64
|
|
132
|
+
mns_scheduler-1.1.4.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
133
|
+
mns_scheduler-1.1.4.0.dist-info/top_level.txt,sha256=PXQDFBGR1pWmsUbH5yiLAh71P5HZODTRED0zJ8CCgOc,14
|
|
134
|
+
mns_scheduler-1.1.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|