akshare 1.17.65__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 +3 -1
- akshare/futures/futures_to_spot.py +5 -6
- akshare/stock_feature/stock_hist_tx.py +3 -2
- {akshare-1.17.65.dist-info → akshare-1.17.67.dist-info}/METADATA +1 -1
- {akshare-1.17.65.dist-info → akshare-1.17.67.dist-info}/RECORD +8 -8
- {akshare-1.17.65.dist-info → akshare-1.17.67.dist-info}/WHEEL +0 -0
- {akshare-1.17.65.dist-info → akshare-1.17.67.dist-info}/licenses/LICENSE +0 -0
- {akshare-1.17.65.dist-info → akshare-1.17.67.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -3172,9 +3172,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
3172
3172
|
1.17.63 fix: fix stock_financial_analysis_indicator_em interface
|
|
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
|
+
1.17.66 fix: fix futures_delivery_czce interface
|
|
3176
|
+
1.17.67 fix: fix stock_zh_a_hist_tx interface
|
|
3175
3177
|
"""
|
|
3176
3178
|
|
|
3177
|
-
__version__ = "1.17.
|
|
3179
|
+
__version__ = "1.17.67"
|
|
3178
3180
|
__author__ = "AKFamily"
|
|
3179
3181
|
|
|
3180
3182
|
import sys
|
|
@@ -259,11 +259,10 @@ def futures_delivery_czce(date: str = "20210112") -> pd.DataFrame:
|
|
|
259
259
|
"交割数量",
|
|
260
260
|
"交割额",
|
|
261
261
|
]
|
|
262
|
-
temp_df["交割数量"] = temp_df["交割数量"].str.replace(",", "")
|
|
263
|
-
temp_df["交割额"] = temp_df["交割额"].str.replace(",", "")
|
|
264
|
-
|
|
265
|
-
temp_df["
|
|
266
|
-
temp_df["交割额"] = pd.to_numeric(temp_df["交割额"])
|
|
262
|
+
temp_df["交割数量"] = temp_df["交割数量"].astype(str).str.replace(",", "")
|
|
263
|
+
temp_df["交割额"] = temp_df["交割额"].astype(str).str.replace(",", "")
|
|
264
|
+
temp_df["交割数量"] = pd.to_numeric(temp_df["交割数量"], errors="coerce")
|
|
265
|
+
temp_df["交割额"] = pd.to_numeric(temp_df["交割额"], errors="coerce")
|
|
267
266
|
return temp_df
|
|
268
267
|
|
|
269
268
|
|
|
@@ -328,7 +327,7 @@ if __name__ == "__main__":
|
|
|
328
327
|
futures_delivery_dce_df = futures_delivery_dce(date="202101")
|
|
329
328
|
print(futures_delivery_dce_df)
|
|
330
329
|
|
|
331
|
-
futures_delivery_monthly_czce_df = futures_delivery_czce(date="
|
|
330
|
+
futures_delivery_monthly_czce_df = futures_delivery_czce(date="20251014")
|
|
332
331
|
print(futures_delivery_monthly_czce_df)
|
|
333
332
|
|
|
334
333
|
futures_delivery_shfe_df = futures_delivery_shfe(date="202312")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
# -*- coding:utf-8 -*-
|
|
3
3
|
"""
|
|
4
|
-
Date:
|
|
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,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
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
|
|
@@ -130,7 +130,7 @@ akshare/futures/futures_rule_em.py,sha256=qcXfYZibRJLN2pb3ybNIkNonUOjDMvSirG5xKk
|
|
|
130
130
|
akshare/futures/futures_settlement_price_sgx.py,sha256=SJxAGNuNxNEGDk7EF2odRPrWKIpzFoNf6PSNGW2KO9M,2525
|
|
131
131
|
akshare/futures/futures_spot_stock_em.py,sha256=43CPkAouDu691M6aCMdO1SGKglTak2aba2Np7ftkAdg,3523
|
|
132
132
|
akshare/futures/futures_stock_js.py,sha256=sAao7ZcqBovdEo4wrVt2K6kXK2rf1_kT_StQdzhm9og,1635
|
|
133
|
-
akshare/futures/futures_to_spot.py,sha256=
|
|
133
|
+
akshare/futures/futures_to_spot.py,sha256=fDsnmwUDUWQSF11MBvGEKn_c69fJmaGnRigWzvQMaZc,12898
|
|
134
134
|
akshare/futures/futures_warehouse_receipt.py,sha256=koiyOO6HmpgwPapyVyFHHK_yJeU7oAzfJArVmo19_hk,9047
|
|
135
135
|
akshare/futures/futures_zh_sina.py,sha256=wFFiPdud7a6HUHxohlQmN0FsnrvsadTYhbq0cZT4dpo,26191
|
|
136
136
|
akshare/futures/receipt.py,sha256=6KFgO6BJcQ0S5ZlRIQfPwXOuMLuncn7pcFCPOp1QJGI,23588
|
|
@@ -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=
|
|
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.
|
|
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.
|
|
406
|
-
akshare-1.17.
|
|
407
|
-
akshare-1.17.
|
|
408
|
-
akshare-1.17.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|