akshare 1.17.66__py3-none-any.whl → 1.17.67__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
@@ -3173,9 +3173,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
3173
3173
  1.17.64 fix: fix stock_individual_spot_xq interface
3174
3174
  1.17.65 fix: fix futures_dce_warehouse_receipt interface
3175
3175
  1.17.66 fix: fix futures_delivery_czce interface
3176
+ 1.17.67 fix: fix stock_zh_a_hist_tx interface
3176
3177
  """
3177
3178
 
3178
- __version__ = "1.17.66"
3179
+ __version__ = "1.17.67"
3179
3180
  __author__ = "AKFamily"
3180
3181
 
3181
3182
  import sys
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  # -*- coding:utf-8 -*-
3
3
  """
4
- Date: 2023/7/25 15:30
4
+ Date: 2025/10/15 22:30
5
5
  Desc: 腾讯证券-行情首页-沪深京A股
6
6
  https://quote.eastmoney.com/
7
7
  """
@@ -77,7 +77,8 @@ def stock_zh_a_hist_tx(
77
77
  big_df["low"] = pd.to_numeric(big_df["low"], errors="coerce")
78
78
  big_df["amount"] = pd.to_numeric(big_df["amount"], errors="coerce")
79
79
  big_df.drop_duplicates(inplace=True, ignore_index=True)
80
- big_df.index = pd.to_datetime(big_df["date"])
80
+ big_df.index = pd.to_datetime(big_df["date"], errors="coerce")
81
+ big_df.sort_index(inplace=True)
81
82
  big_df = big_df[start_date:end_date]
82
83
  big_df.reset_index(inplace=True, drop=True)
83
84
  return big_df
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akshare
3
- Version: 1.17.66
3
+ Version: 1.17.67
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=F5C7x0FfCQwnWM0e-usbkTKxEliHAC4WI_xtWGk1aY4,199283
1
+ akshare/__init__.py,sha256=hKS-ojSMjy7EqJZMv4c_hdjQj_DsueED1dnAKBjlSz0,199329
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
@@ -331,7 +331,7 @@ akshare/stock_feature/stock_gdzjc_em.py,sha256=3bx2kQmM7OeZWoa9WtkwoCXVaMfIUZw23
331
331
  akshare/stock_feature/stock_gpzy_em.py,sha256=FgyjVgdoxrtMM7WwxdQJxK0mYGJklIHaT9KmMCFmEPM,17869
332
332
  akshare/stock_feature/stock_gxl_lg.py,sha256=iX-lYPZI4c7Jh_j8P6eT8eSNLmLHl_8NjsWYJ4qiufI,2644
333
333
  akshare/stock_feature/stock_hist_em.py,sha256=sS7qv6kNvS36YsYtx3fCX2QW_HBH6ju1fHi-KMm5p-Q,65493
334
- akshare/stock_feature/stock_hist_tx.py,sha256=T3eegWWohahHzsFOx58qJFLq9QQRUiDXEaiJdQLkex0,3346
334
+ akshare/stock_feature/stock_hist_tx.py,sha256=3Ogdg0yOtzTN8mxQDIqDxcreM3O4LstP43RYWOKZJi0,3400
335
335
  akshare/stock_feature/stock_hk_valuation_baidu.py,sha256=_sErx4UhNsSXJgXyPfrL0aPxkW53Mg1zH9gEKoziaCA,1968
336
336
  akshare/stock_feature/stock_hot_xq.py,sha256=P4-fLjrh-9CdVe5BQ2O5hmeSesHQAu9E49aMKmhMedM,9023
337
337
  akshare/stock_feature/stock_hsgt_em.py,sha256=6X4izxAbApHIO1YK2nYaZCE1hdn18tTbGjJta4Q-7a0,62222
@@ -399,10 +399,10 @@ akshare/utils/func.py,sha256=4cwmXFztU86yJNONJ40KJLvsIEQHBbct4iMm3zT2v30,2315
399
399
  akshare/utils/multi_decrypt.py,sha256=aWoL2iEPeuXHJg8-n7OtMKixLnIhfzepACgxfrfmQB4,1657
400
400
  akshare/utils/token_process.py,sha256=nGtgnZGRprXJkhLXH8mcUH4TgIFwzsTOb0EaEPa0Euo,667
401
401
  akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
402
- akshare-1.17.66.dist-info/licenses/LICENSE,sha256=s18q7gS2g1F9-Cnk5eqrJG4OGWSwSxVEMzIuT6HyYNY,1073
402
+ akshare-1.17.67.dist-info/licenses/LICENSE,sha256=s18q7gS2g1F9-Cnk5eqrJG4OGWSwSxVEMzIuT6HyYNY,1073
403
403
  tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
404
404
  tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
405
- akshare-1.17.66.dist-info/METADATA,sha256=zCJBVC2xdZbnVy1eV9mRs343tQRV2Qi6Iv5IO1YPUdQ,12593
406
- akshare-1.17.66.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
- akshare-1.17.66.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
408
- akshare-1.17.66.dist-info/RECORD,,
405
+ akshare-1.17.67.dist-info/METADATA,sha256=z9GPrQ2QfOH-Kzto3HjgWfgPTH3BEyX-hyRdAWAswq0,12593
406
+ akshare-1.17.67.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
+ akshare-1.17.67.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
408
+ akshare-1.17.67.dist-info/RECORD,,