akshare 1.15.48__py3-none-any.whl → 1.15.49__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 +2 -1
- akshare/option/option_commodity.py +2 -2
- {akshare-1.15.48.dist-info → akshare-1.15.49.dist-info}/METADATA +1 -1
- {akshare-1.15.48.dist-info → akshare-1.15.49.dist-info}/RECORD +7 -7
- {akshare-1.15.48.dist-info → akshare-1.15.49.dist-info}/LICENSE +0 -0
- {akshare-1.15.48.dist-info → akshare-1.15.49.dist-info}/WHEEL +0 -0
- {akshare-1.15.48.dist-info → akshare-1.15.49.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -2958,9 +2958,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2958
2958
|
1.15.46 fix: fix fund_etf_fund_info_em interface
|
|
2959
2959
|
1.15.47 fix: fix stock_individual_spot_xq interface
|
|
2960
2960
|
1.15.48 fix: fix stock_mda_ym interface
|
|
2961
|
+
1.15.49 fix: fix option_dce_daily interface
|
|
2961
2962
|
"""
|
|
2962
2963
|
|
|
2963
|
-
__version__ = "1.15.
|
|
2964
|
+
__version__ = "1.15.49"
|
|
2964
2965
|
__author__ = "AKFamily"
|
|
2965
2966
|
|
|
2966
2967
|
import sys
|
|
@@ -340,7 +340,7 @@ def option_czce_daily(
|
|
|
340
340
|
|
|
341
341
|
def option_shfe_daily(
|
|
342
342
|
symbol: str = "铝期权", trade_date: str = "20200827"
|
|
343
|
-
) -> Optional[
|
|
343
|
+
) -> Optional[Tuple[pd.DataFrame, pd.DataFrame]]:
|
|
344
344
|
"""
|
|
345
345
|
上海期货交易所-期权-日频行情数据
|
|
346
346
|
https://tsite.shfe.com.cn/statements/dataview.html?paramid=kxQ
|
|
@@ -355,7 +355,7 @@ def option_shfe_daily(
|
|
|
355
355
|
day = convert_date(trade_date) if trade_date is not None else datetime.date.today()
|
|
356
356
|
if day.strftime("%Y%m%d") not in calendar:
|
|
357
357
|
warnings.warn("%s非交易日" % day.strftime("%Y%m%d"))
|
|
358
|
-
return pd.DataFrame()
|
|
358
|
+
return pd.DataFrame(), pd.DataFrame()
|
|
359
359
|
if day > datetime.date(2010, 8, 24):
|
|
360
360
|
url = SHFE_OPTION_URL.format(day.strftime("%Y%m%d"))
|
|
361
361
|
try:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=6eD95fSHSRdCtm2Q0gUuYgHLdlBHHL2Av7QpINsacOE,184634
|
|
2
2
|
akshare/datasets.py,sha256=-qdwaQjgBlftX84uM74KJqCYJYkQ50PV416_neA4uls,995
|
|
3
3
|
akshare/exceptions.py,sha256=WEJjIhSmJ_xXNW6grwV4nufE_cfmmyuhmueVGiN1VAg,878
|
|
4
4
|
akshare/request.py,sha256=HtFFf9MhfEibR-ETWe-1Tts6ELU4VKSqA-ghaXjegQM,4252
|
|
@@ -190,7 +190,7 @@ akshare/nlp/nlp_interface.py,sha256=PyZjT3PkuTbloop-JwLwZ2kNi22zdO-r_pRUWQ5SmgM,
|
|
|
190
190
|
akshare/option/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8,81
|
|
191
191
|
akshare/option/cons.py,sha256=zTRZ62RFwOcAKfmso-7nZJtT3a8Dt1nQbNnEjSqgjpI,4811
|
|
192
192
|
akshare/option/option_comm_qihuo.py,sha256=kjbdp-94KJJJi1ex5U03abtlgviqwP0Aahb6FwddPkk,3128
|
|
193
|
-
akshare/option/option_commodity.py,sha256=
|
|
193
|
+
akshare/option/option_commodity.py,sha256=u0nyhLzqfBVregoJbAsah9aBsihZd8dOWcTXb-At5N0,25354
|
|
194
194
|
akshare/option/option_commodity_sina.py,sha256=r6qK_K7w3A6Uqp5ZtBb4pW7vH04oMyeCEZLLGqi0jpA,7776
|
|
195
195
|
akshare/option/option_czce.py,sha256=L4i7TVKcOns5ZKoqq-mrSykdx3SGwu6OL4eI77-A_lc,1812
|
|
196
196
|
akshare/option/option_daily_stats_sse_szse.py,sha256=Ip_vE81qbEGt4ocbtWfUT7XGu0HWU0zKkzauZeq9RJA,4962
|
|
@@ -380,8 +380,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
|
|
|
380
380
|
akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
|
|
381
381
|
tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
|
|
382
382
|
tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
|
|
383
|
-
akshare-1.15.
|
|
384
|
-
akshare-1.15.
|
|
385
|
-
akshare-1.15.
|
|
386
|
-
akshare-1.15.
|
|
387
|
-
akshare-1.15.
|
|
383
|
+
akshare-1.15.49.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
384
|
+
akshare-1.15.49.dist-info/METADATA,sha256=512Q9bykAy5IsMbzSdTM8pYrxDeuwKovbaQauKRpJvk,13423
|
|
385
|
+
akshare-1.15.49.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
386
|
+
akshare-1.15.49.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
387
|
+
akshare-1.15.49.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|