akshare 1.17.13__py3-none-any.whl → 1.17.14__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 akshare might be problematic. Click here for more details.

akshare/__init__.py CHANGED
@@ -3120,9 +3120,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
3120
3120
  1.17.11 fix: fix stock_individual_spot_xq interface
3121
3121
  1.17.12 fix: fix get_receipt interface
3122
3122
  1.17.13 fix: fix futures_shfe_warehouse_receipt interface
3123
+ 1.17.14 fix: fix forex_spot_em interface
3123
3124
  """
3124
3125
 
3125
- __version__ = "1.17.13"
3126
+ __version__ = "1.17.14"
3126
3127
  __author__ = "AKFamily"
3127
3128
 
3128
3129
  import sys
akshare/forex/forex_em.py CHANGED
@@ -40,10 +40,10 @@ def forex_spot_em() -> pd.DataFrame:
40
40
  "index": "序号",
41
41
  "f12": "代码",
42
42
  "f14": "名称",
43
- "f17": "最新价",
43
+ "f17": "今开",
44
44
  "f4": "涨跌额",
45
45
  "f3": "涨跌幅",
46
- "f2": "今开",
46
+ "f2": "最新价",
47
47
  "f15": "最高",
48
48
  "f16": "最低",
49
49
  "f18": "昨收",
@@ -64,13 +64,13 @@ def forex_spot_em() -> pd.DataFrame:
64
64
  "昨收",
65
65
  ]
66
66
  ]
67
- temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce") / 10000
68
- temp_df["涨跌额"] = pd.to_numeric(temp_df["涨跌额"], errors="coerce") / 10000
69
- temp_df["涨跌幅"] = pd.to_numeric(temp_df["涨跌幅"], errors="coerce") / 100
70
- temp_df["今开"] = pd.to_numeric(temp_df["今开"], errors="coerce") / 10000
71
- temp_df["最高"] = pd.to_numeric(temp_df["最高"], errors="coerce") / 10000
72
- temp_df["最低"] = pd.to_numeric(temp_df["最低"], errors="coerce") / 10000
73
- temp_df["昨收"] = pd.to_numeric(temp_df["昨收"], errors="coerce") / 10000
67
+ temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce")
68
+ temp_df["涨跌额"] = pd.to_numeric(temp_df["涨跌额"], errors="coerce")
69
+ temp_df["涨跌幅"] = pd.to_numeric(temp_df["涨跌幅"], errors="coerce")
70
+ temp_df["今开"] = pd.to_numeric(temp_df["今开"], errors="coerce")
71
+ temp_df["最高"] = pd.to_numeric(temp_df["最高"], errors="coerce")
72
+ temp_df["最低"] = pd.to_numeric(temp_df["最低"], errors="coerce")
73
+ temp_df["昨收"] = pd.to_numeric(temp_df["昨收"], errors="coerce")
74
74
  return temp_df
75
75
 
76
76
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akshare
3
- Version: 1.17.13
3
+ Version: 1.17.14
4
4
  Summary: AKShare is an elegant and simple financial data interface library for Python, built for human beings!
5
5
  Home-page: https://github.com/akfamily/akshare
6
6
  Author: AKFamily
@@ -1,4 +1,4 @@
1
- akshare/__init__.py,sha256=TSNT3kp21qt77y_VUT6hxmYtaa1zjsLuQYho6LLi3-c,195013
1
+ akshare/__init__.py,sha256=OvpXN8kg_btFhjtvt_c6ZTNOK5wgEzK0RZkIUBkBgIw,195054
2
2
  akshare/datasets.py,sha256=rKuRNZrqi6IMsZ9nyvO3Rx02js0tH3zMLjz8HQNAoPQ,963
3
3
  akshare/exceptions.py,sha256=WEJjIhSmJ_xXNW6grwV4nufE_cfmmyuhmueVGiN1VAg,878
4
4
  akshare/request.py,sha256=HtFFf9MhfEibR-ETWe-1Tts6ELU4VKSqA-ghaXjegQM,4252
@@ -78,7 +78,7 @@ akshare/file_fold/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8
78
78
  akshare/file_fold/calendar.json,sha256=t25_O-jatjQOzR6KmSQdPhZMY85yV_hr9_wq26u7jWo,119773
79
79
  akshare/forex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  akshare/forex/cons.py,sha256=62e0ogTbuanOtrw79swGCuygsabJsUqvWdsEwQFJMJA,3659
81
- akshare/forex/forex_em.py,sha256=sNHi2_DojffmS-r-9NjcFWmKELPrNjLC-BCAwrMacag,4588
81
+ akshare/forex/forex_em.py,sha256=dpNrDIWBrkWBsTd8k7XZvV_K0oTqL2cTNb-ASSTNoQo,4534
82
82
  akshare/fortune/__init__.py,sha256=4OCuVKMykUB3Ubm8WogA814U5EGLdrexmfTAOcBnYM4,82
83
83
  akshare/fortune/fortune_500.py,sha256=QqF3dLdDiCcSoDxsyEgJf8CHu72Ppsu7u0EajbXr6mg,3197
84
84
  akshare/fortune/fortune_bloomberg.py,sha256=cFuuM2Zf712ZpTzY2zVBr7n2li4sf0nAmYjJnO6rZ2E,3690
@@ -392,10 +392,10 @@ akshare/utils/func.py,sha256=4cwmXFztU86yJNONJ40KJLvsIEQHBbct4iMm3zT2v30,2315
392
392
  akshare/utils/multi_decrypt.py,sha256=aWoL2iEPeuXHJg8-n7OtMKixLnIhfzepACgxfrfmQB4,1657
393
393
  akshare/utils/token_process.py,sha256=nGtgnZGRprXJkhLXH8mcUH4TgIFwzsTOb0EaEPa0Euo,667
394
394
  akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
395
- akshare-1.17.13.dist-info/licenses/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
395
+ akshare-1.17.14.dist-info/licenses/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
396
396
  tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
397
397
  tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
398
- akshare-1.17.13.dist-info/METADATA,sha256=6iZiaUllSa2qN_DmxDLScg2WSzjOkCBxkDcTyTqGGoQ,11902
399
- akshare-1.17.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
400
- akshare-1.17.13.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
401
- akshare-1.17.13.dist-info/RECORD,,
398
+ akshare-1.17.14.dist-info/METADATA,sha256=kZbiFe88QFKw7QwUwVj42olnTqquB9vtIKeQJwISPrw,11902
399
+ akshare-1.17.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
400
+ akshare-1.17.14.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
401
+ akshare-1.17.14.dist-info/RECORD,,