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

@@ -247,4 +247,4 @@ def stock_real_quotes() -> pd.DataFrame:
247
247
  if __name__ == "__main__":
248
248
  while True:
249
249
  stock_zh_a_spot_em_df = stock_real_quotes()
250
- logger.info(stock_zh_a_spot_em_df)
250
+ logger.info(1)
@@ -33,6 +33,10 @@ def calculate_real_time_k_line_param(real_time_quotes_now):
33
33
  real_time_quotes_now['chg_from_open'] = round(
34
34
  (((real_time_quotes_now['now_price'] - real_time_quotes_now['open']) / real_time_quotes_now[
35
35
  'open']) * 100), 2)
36
+ # 最低和最高之间的差值
37
+ real_time_quotes_now['high_from_low_chg'] = round(
38
+ (((real_time_quotes_now['high'] - real_time_quotes_now['low']) / real_time_quotes_now[
39
+ 'low']) * 100), 2)
36
40
 
37
41
  if 'average_price' in real_time_quotes_now.columns:
38
42
  # 高于平均线的差值 越大表明极速拉伸
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns-common
3
- Version: 1.3.5.8
3
+ Version: 1.3.5.9
4
4
 
@@ -13,7 +13,7 @@ mns_common/api/em/east_money_etf_api.py,sha256=PtVBNArQ5sMjzBVCW-WBnAuqSp8qB4E1H
13
13
  mns_common/api/em/east_money_stock_api.py,sha256=NkV8jmdYOrOpQd00KsMBNoAkPZuWGtw0N1Rryg21RZ0,9892
14
14
  mns_common/api/em/east_money_stock_gdfx_free_top_10_api.py,sha256=jVy3fNdrkLq3ri7yUwXWt0ItB8LCHzt9CPz91Fj8sPA,9198
15
15
  mns_common/api/em/east_money_stock_hk_api.py,sha256=C75TfZzRnNVaz_ILEPHcxhgJqV7f4rFrlWjgMWLRu7c,14788
16
- mns_common/api/em/east_money_stock_quotes_sync_api.py,sha256=6KGu6qf4vD8VIwm0dVbTMy_4YzMG8qaKC45NdjQKZN0,7588
16
+ mns_common/api/em/east_money_stock_quotes_sync_api.py,sha256=-me8o6n9XzE3gruKNXHlhvJiVByA6aoXBeORFCnqllc,7568
17
17
  mns_common/api/em/east_money_stock_us_api.py,sha256=6u0fSkIxZqPVrI1JChhwTrUWRTCDDSBNvU5cehPA1uM,11417
18
18
  mns_common/api/em/east_money_stock_v2_api.py,sha256=BxLZqIUecy71TkbMelAF8Bg3xEd3tR02r2Nj3NfF8Ts,16326
19
19
  mns_common/api/em/em_concept_index_api.py,sha256=PP87ES8a_y0o3SKLzBsPrc7DCPI3MBCD-4SmoUUirl0,8285
@@ -97,7 +97,7 @@ mns_common/component/k_line/clean/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1
97
97
  mns_common/component/k_line/clean/k_line_param.py,sha256=ErcOZdanTOkY2qDDJ9M9DJTMiE3q5sW9rYxDlJx0oEo,248
98
98
  mns_common/component/k_line/clean/sh_small_normal_zt_k_line_check_api.py,sha256=Xao8JPtvEqUwiEO1-l2YIwSIYCaCuuDUu34KY5mdncA,12593
99
99
  mns_common/component/k_line/common/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
100
- mns_common/component/k_line/common/k_line_common_service_api.py,sha256=BxN7aqCueGKaJzWiJSSJZKQbG06KCJrAS8v35E0pCRg,4770
100
+ mns_common/component/k_line/common/k_line_common_service_api.py,sha256=UODqzK3eApC776vDdxTDnp3Q7er2EIQtz4sDmKasXwo,4992
101
101
  mns_common/component/k_line/patterns/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
102
102
  mns_common/component/k_line/patterns/k_line_patterns_service_api.py,sha256=C5mg49OhACILto657H513sg1-lOmYlgCXl7y_Gw88ro,1809
103
103
  mns_common/component/k_line/patterns/pattern_Enum.py,sha256=bl8cH1H3BWdj_deVO124oSGYMPUtDQWvqqWk_5rf5rQ,509
@@ -141,7 +141,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
141
141
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
142
142
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
143
143
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
144
- mns_common-1.3.5.8.dist-info/METADATA,sha256=JahkuWPbhhn6h8jOg45CKz3kmWEsAPUKjBIvy8kQeaE,61
145
- mns_common-1.3.5.8.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
146
- mns_common-1.3.5.8.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
147
- mns_common-1.3.5.8.dist-info/RECORD,,
144
+ mns_common-1.3.5.9.dist-info/METADATA,sha256=o2Pf9nqAOl0fJPRJ06oQtKyo_ETBMs7orHmkhPC9i1U,61
145
+ mns_common-1.3.5.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
146
+ mns_common-1.3.5.9.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
147
+ mns_common-1.3.5.9.dist-info/RECORD,,