mns-common 1.4.0.7__py3-none-any.whl → 1.4.0.8__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/component/task/real_time_data_sync_check.py +1 -2
- {mns_common-1.4.0.7.dist-info → mns_common-1.4.0.8.dist-info}/METADATA +1 -1
- {mns_common-1.4.0.7.dist-info → mns_common-1.4.0.8.dist-info}/RECORD +5 -5
- {mns_common-1.4.0.7.dist-info → mns_common-1.4.0.8.dist-info}/WHEEL +0 -0
- {mns_common-1.4.0.7.dist-info → mns_common-1.4.0.8.dist-info}/top_level.txt +0 -0
|
@@ -78,8 +78,6 @@ def exist_sync_task():
|
|
|
78
78
|
|
|
79
79
|
def check_data_sync_task_status():
|
|
80
80
|
now_date = datetime.datetime.now()
|
|
81
|
-
str_day = now_date.strftime('%Y-%m-%d')
|
|
82
|
-
|
|
83
81
|
if bool(is_data_sync_time(now_date)):
|
|
84
82
|
if bool(1 - exist_sync_task()):
|
|
85
83
|
real_time_sync_task_open()
|
|
@@ -99,6 +97,7 @@ def is_data_sync_time(now_date):
|
|
|
99
97
|
or (hour == 10) \
|
|
100
98
|
or (hour == 11 and minute < 30) \
|
|
101
99
|
or (hour == 11 and minute == 30 and second < 5) \
|
|
100
|
+
or (hour == 12 and minute == 59) \
|
|
102
101
|
or (hour == 13) \
|
|
103
102
|
or (hour == 14) \
|
|
104
103
|
or (hour == 15 and minute == 0 and second < 10)
|
|
@@ -124,7 +124,7 @@ mns_common/component/self_choose/__init__.py,sha256=voLVczBLoJxYDgDvbh9AGbYT30On
|
|
|
124
124
|
mns_common/component/self_choose/black_list_service_api.py,sha256=BUySMNHDM3OzXe3g7WGola8_yGZ0ub_fjHj7e6-eB7s,1993
|
|
125
125
|
mns_common/component/self_choose/self_choose_service_api.py,sha256=v-ThYn5OMva-ciawOFaGi_joxDzLp5HYUHuIP7wz5Z8,1456
|
|
126
126
|
mns_common/component/task/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
127
|
-
mns_common/component/task/real_time_data_sync_check.py,sha256=
|
|
127
|
+
mns_common/component/task/real_time_data_sync_check.py,sha256=GYh1nRuu3-WW6osEPCoCmcArAbbTtMaygbTwQPO5P18,3920
|
|
128
128
|
mns_common/component/tfp/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
|
|
129
129
|
mns_common/component/tfp/stock_tfp_api.py,sha256=_iScNNUmzEXeZ32PFQ_bFs3CErQk_188ESS3hUgCH7E,4455
|
|
130
130
|
mns_common/component/trade_date/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
@@ -152,7 +152,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
|
|
|
152
152
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
153
153
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
154
154
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
155
|
-
mns_common-1.4.0.
|
|
156
|
-
mns_common-1.4.0.
|
|
157
|
-
mns_common-1.4.0.
|
|
158
|
-
mns_common-1.4.0.
|
|
155
|
+
mns_common-1.4.0.8.dist-info/METADATA,sha256=wm4_iBhPNAZNj0-i-L8bF5q83CmJx3GoJ7mEEnNon1Y,61
|
|
156
|
+
mns_common-1.4.0.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
157
|
+
mns_common-1.4.0.8.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
158
|
+
mns_common-1.4.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|