mns-common 1.4.1.5__py3-none-any.whl → 1.4.1.7__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.

@@ -188,3 +188,8 @@ STOCK_QFQ_YEAR = 'stock_qfq_year'
188
188
  MAIN_LINE_LIST = 'main_line_list'
189
189
  # 主线详情
190
190
  MAIN_LINE_DETAIL = 'main_line_detail'
191
+
192
+ # 整体选择表
193
+ STRATEGY_TOTAL_CHOOSE_PARAM = 'strategy_total_choose_param'
194
+ # k 线参数表
195
+ STRATEGY_K_LINE_PARAM = 'strategy_k_line_param'
@@ -0,0 +1,46 @@
1
+ from enum import Enum
2
+
3
+
4
+ class StrategyClassify(Enum):
5
+ # 731 到无穷天的股票 kc
6
+ KC_NORMAL = ('kc_normal', 'kc_normal')
7
+
8
+ # 365 到730的股票 kc
9
+ KC_NORMAL_SUB = ('kc_normal_sub', 'kc_normal_sub')
10
+
11
+ # 100 到 365 天的股票 kc
12
+ KC_SUB = ('kc_sub', 'kc_sub')
13
+
14
+ # 6 到 100的股票 kc
15
+ KC_SUB_NEW = ('kc_sub_new', 'kc_sub_new')
16
+
17
+ # 731 到无穷天的股票 sh
18
+ SH_NORMAL = ('sh_normal', 'sh_normal')
19
+
20
+ # 365 到730的股票 sh
21
+ SH_NORMAL_SUB = ('sh_normal_sub', 'sh_normal_sub')
22
+
23
+ # 100 到 365天的股票 sh
24
+ SH_SUB = ('sh_sub', 'sh_sub')
25
+
26
+ # 6 到 100的股票 sh
27
+ SH_SUB_NEW = ('sh_sub_new', 'sh_sub_new')
28
+
29
+ # 北交所股票 普通
30
+ BJS_NORMAL = ('bjs_normal', 'bjs_normal')
31
+
32
+ # 北交所股票 次新
33
+ BJS_SUB_NEW = ('bjs_sub_new', 'bjs_sub_new')
34
+
35
+ # 上市交易 1-5天的股票
36
+ NEW_STOCK = ('new_stock', 'new_stock')
37
+
38
+ # 集合竞价 高外盘买入
39
+ HIGH_OUT_DISK_BUY = ('high_out_disk_buy', 'high_out_disk_buy')
40
+
41
+ # 所有策略
42
+ ALL = ('all', '所有')
43
+
44
+ def __init__(self, strategy_code, strategy_name):
45
+ self.strategy_name = strategy_name
46
+ self.strategy_code = strategy_code
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns-common
3
- Version: 1.4.1.5
3
+ Version: 1.4.1.7
4
4
 
@@ -134,12 +134,13 @@ mns_common/component/zt/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3Hi
134
134
  mns_common/component/zt/zt_common_service_api.py,sha256=6pHRLLJjKcLLBA-xXkAU8SE6DZ5dgVFBRVjJmhkL0II,11945
135
135
  mns_common/constant/__init__.py,sha256=xu36nA6MJTauswUWPfKIKH0E-lpOAHTw2TL5QI_6TeY,165
136
136
  mns_common/constant/black_list_classify_enum.py,sha256=I8U_DcltzYvlWjgn-TFLImgVgPuO0lxMnEJAQJBljdo,3995
137
- mns_common/constant/db_name_constant.py,sha256=uOwqzlLoTweqlwyAK4MkXB2fXi7-9JT5sxrvo_UI-Y8,4670
137
+ mns_common/constant/db_name_constant.py,sha256=99VWm-hb78dcZ5_Xs-H7RXl2rE6dTJVV63vPEy61s-U,4819
138
138
  mns_common/constant/east_money_stock_api.py,sha256=mW0b8sEgkf8WJtars2frOQYzsWgjIl4FDYEwcCcCSZY,7557
139
139
  mns_common/constant/extra_income_db_name.py,sha256=RRhn6pI2SOshXsA8DVIYDVLIhl2LeWPA_DF9e1kNyx8,2445
140
140
  mns_common/constant/price_enum.py,sha256=nhcPxk0AFdQAp8IsNr5EP9xURLqqJuSl6ljIzTp7Wyo,1093
141
141
  mns_common/constant/redis_msg_constant.py,sha256=fMtI_WbJ2IkMX4qGwvR5MkMO0NqU8XgUUZqQzHIRscU,501
142
142
  mns_common/constant/self_choose_constant.py,sha256=Xnzp9cn5x5_UdqF4gozSDErkzafnbCYBjDH8YpTEU84,777
143
+ mns_common/constant/strategy_classify.py,sha256=DLDLHpqVnoQ-v5nmz1H7DMz3ti8duS_1dwazE-eDnRo,1240
143
144
  mns_common/db/MongodbUtil.py,sha256=g1KAY79S-2cfAP9l6OW4tqwtxNOzEsKT6_4XSgJ_GjE,11654
144
145
  mns_common/db/MongodbUtilLocal.py,sha256=c5bPSFAA92ZFTgXqe9gw8NE88PoDjg4yPd_J8T6iNBI,7508
145
146
  mns_common/db/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
@@ -153,7 +154,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
153
154
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
154
155
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
155
156
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
156
- mns_common-1.4.1.5.dist-info/METADATA,sha256=u_01ijJJJZ7CNQVqaF7vwoYXAcVHct4z7SyaNwtnkwE,61
157
- mns_common-1.4.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
158
- mns_common-1.4.1.5.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
159
- mns_common-1.4.1.5.dist-info/RECORD,,
157
+ mns_common-1.4.1.7.dist-info/METADATA,sha256=A7kDYDWGMT2eb2yJD1kP9vNmry3r4oUJQNF-m4es1K4,61
158
+ mns_common-1.4.1.7.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
159
+ mns_common-1.4.1.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
160
+ mns_common-1.4.1.7.dist-info/RECORD,,