akshare 1.17.64__py3-none-any.whl → 1.17.66__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/futures/futures_warehouse_receipt.py +2 -2
- {akshare-1.17.64.dist-info → akshare-1.17.66.dist-info}/METADATA +1 -1
- {akshare-1.17.64.dist-info → akshare-1.17.66.dist-info}/RECORD +8 -8
- {akshare-1.17.64.dist-info → akshare-1.17.66.dist-info}/WHEEL +0 -0
- {akshare-1.17.64.dist-info → akshare-1.17.66.dist-info}/licenses/LICENSE +0 -0
- {akshare-1.17.64.dist-info → akshare-1.17.66.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -3171,9 +3171,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
3171
3171
|
1.17.62 fix: fix futures_dce_warehouse_receipt interface
|
|
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
|
+
1.17.65 fix: fix futures_dce_warehouse_receipt interface
|
|
3175
|
+
1.17.66 fix: fix futures_delivery_czce interface
|
|
3174
3176
|
"""
|
|
3175
3177
|
|
|
3176
|
-
__version__ = "1.17.
|
|
3178
|
+
__version__ = "1.17.66"
|
|
3177
3179
|
__author__ = "AKFamily"
|
|
3178
3180
|
|
|
3179
3181
|
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")
|
|
@@ -61,7 +61,7 @@ def futures_dce_warehouse_receipt(date: str = "20250929") -> dict:
|
|
|
61
61
|
:return: 指定日期的仓单日报数据
|
|
62
62
|
:rtype: dict
|
|
63
63
|
"""
|
|
64
|
-
url = "http://
|
|
64
|
+
url = "http://portal.dce.com.cn/publicweb/quotesdata/wbillWeeklyQuotes.html"
|
|
65
65
|
headers = {
|
|
66
66
|
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
67
67
|
"Chrome/83.0.4103.116 Safari/537.36"
|
|
@@ -220,7 +220,7 @@ if __name__ == "__main__":
|
|
|
220
220
|
czce_warehouse_receipt_df = futures_czce_warehouse_receipt(date="20151019")
|
|
221
221
|
print(czce_warehouse_receipt_df)
|
|
222
222
|
|
|
223
|
-
futures_dce_warehouse_receipt_df = futures_dce_warehouse_receipt(date="
|
|
223
|
+
futures_dce_warehouse_receipt_df = futures_dce_warehouse_receipt(date="20251014")
|
|
224
224
|
print(futures_dce_warehouse_receipt_df)
|
|
225
225
|
|
|
226
226
|
futures_shfe_warehouse_receipt_df = futures_shfe_warehouse_receipt(date="20200702")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=F5C7x0FfCQwnWM0e-usbkTKxEliHAC4WI_xtWGk1aY4,199283
|
|
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,8 +130,8 @@ 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=
|
|
134
|
-
akshare/futures/futures_warehouse_receipt.py,sha256=
|
|
133
|
+
akshare/futures/futures_to_spot.py,sha256=fDsnmwUDUWQSF11MBvGEKn_c69fJmaGnRigWzvQMaZc,12898
|
|
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
|
|
137
137
|
akshare/futures/requests_fun.py,sha256=w4inzqYjrAiRx_E3oszbcJwrRJR3MKpm5Rkropdusoo,2893
|
|
@@ -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.66.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.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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|