akshare 1.15.25__py3-none-any.whl → 1.15.26__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 +9 -4
- {akshare-1.15.25.dist-info → akshare-1.15.26.dist-info}/METADATA +1 -1
- {akshare-1.15.25.dist-info → akshare-1.15.26.dist-info}/RECORD +7 -7
- {akshare-1.15.25.dist-info → akshare-1.15.26.dist-info}/LICENSE +0 -0
- {akshare-1.15.25.dist-info → akshare-1.15.26.dist-info}/WHEEL +0 -0
- {akshare-1.15.25.dist-info → akshare-1.15.26.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -2935,9 +2935,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2935
2935
|
1.15.23 fix: fix stock_sector_fund_flow_summary interface
|
|
2936
2936
|
1.15.24 fix: fix get_dce_daily interface
|
|
2937
2937
|
1.15.25 fix: fix stock_news_main_cx interface
|
|
2938
|
+
1.15.26 fix: fix option_dce_daily interface
|
|
2938
2939
|
"""
|
|
2939
2940
|
|
|
2940
|
-
__version__ = "1.15.
|
|
2941
|
+
__version__ = "1.15.26"
|
|
2941
2942
|
__author__ = "AKFamily"
|
|
2942
2943
|
|
|
2943
2944
|
import sys
|
|
@@ -140,17 +140,22 @@ def option_dce_daily(
|
|
|
140
140
|
elif symbol == "鸡蛋期权":
|
|
141
141
|
result_one_df, result_two_df = (
|
|
142
142
|
table_df[table_df["商品名称"] == "鸡蛋"],
|
|
143
|
-
another_df[another_df.iloc[:, 0].str.contains("
|
|
143
|
+
another_df[another_df.iloc[:, 0].str.contains("jd")],
|
|
144
144
|
)
|
|
145
145
|
elif symbol == "玉米淀粉期权":
|
|
146
146
|
result_one_df, result_two_df = (
|
|
147
147
|
table_df[table_df["商品名称"] == "玉米淀粉"],
|
|
148
|
-
another_df[another_df.iloc[:, 0].str.contains("
|
|
148
|
+
another_df[another_df.iloc[:, 0].str.contains("cs")],
|
|
149
149
|
)
|
|
150
150
|
elif symbol == "生猪期权":
|
|
151
151
|
result_one_df, result_two_df = (
|
|
152
152
|
table_df[table_df["商品名称"] == "生猪"],
|
|
153
|
-
another_df[another_df.iloc[:, 0].str.contains("
|
|
153
|
+
another_df[another_df.iloc[:, 0].str.contains("lh")],
|
|
154
|
+
)
|
|
155
|
+
elif symbol == "原木期权":
|
|
156
|
+
result_one_df, result_two_df = (
|
|
157
|
+
table_df[table_df["商品名称"] == "原木"],
|
|
158
|
+
another_df[another_df.iloc[:, 0].str.contains("lg")],
|
|
154
159
|
)
|
|
155
160
|
result_one_df.reset_index(inplace=True, drop=True)
|
|
156
161
|
result_two_df.reset_index(inplace=True, drop=True)
|
|
@@ -526,7 +531,7 @@ if __name__ == "__main__":
|
|
|
526
531
|
print(option_czce_daily_df)
|
|
527
532
|
|
|
528
533
|
option_dce_daily_one, option_dce_daily_two = option_dce_daily(
|
|
529
|
-
symbol="鸡蛋期权", trade_date="
|
|
534
|
+
symbol="鸡蛋期权", trade_date="20241118"
|
|
530
535
|
)
|
|
531
536
|
print(option_dce_daily_one)
|
|
532
537
|
print(option_dce_daily_two)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=3OjA_N1Ftt4-7aH6Fa3L2cGqy2iqjxuyzJy3WfOENv0,183986
|
|
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
|
|
@@ -194,7 +194,7 @@ akshare/nlp/nlp_interface.py,sha256=PyZjT3PkuTbloop-JwLwZ2kNi22zdO-r_pRUWQ5SmgM,
|
|
|
194
194
|
akshare/option/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8,81
|
|
195
195
|
akshare/option/cons.py,sha256=zTRZ62RFwOcAKfmso-7nZJtT3a8Dt1nQbNnEjSqgjpI,4811
|
|
196
196
|
akshare/option/option_comm_qihuo.py,sha256=kjbdp-94KJJJi1ex5U03abtlgviqwP0Aahb6FwddPkk,3128
|
|
197
|
-
akshare/option/option_commodity.py,sha256=
|
|
197
|
+
akshare/option/option_commodity.py,sha256=M1R5dGQcW1iZzQ6d3DztZ2yq7V0jzrkCuoW1GKJTwjU,22274
|
|
198
198
|
akshare/option/option_commodity_sina.py,sha256=r6qK_K7w3A6Uqp5ZtBb4pW7vH04oMyeCEZLLGqi0jpA,7776
|
|
199
199
|
akshare/option/option_czce.py,sha256=L4i7TVKcOns5ZKoqq-mrSykdx3SGwu6OL4eI77-A_lc,1812
|
|
200
200
|
akshare/option/option_daily_stats_sse_szse.py,sha256=Ip_vE81qbEGt4ocbtWfUT7XGu0HWU0zKkzauZeq9RJA,4962
|
|
@@ -383,8 +383,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
|
|
|
383
383
|
akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
|
|
384
384
|
tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
|
|
385
385
|
tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
|
|
386
|
-
akshare-1.15.
|
|
387
|
-
akshare-1.15.
|
|
388
|
-
akshare-1.15.
|
|
389
|
-
akshare-1.15.
|
|
390
|
-
akshare-1.15.
|
|
386
|
+
akshare-1.15.26.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
387
|
+
akshare-1.15.26.dist-info/METADATA,sha256=XkNTYEhjtO_FHIQ6Op9jL9D1qyNbe0kk42zwP0yT9Vo,14259
|
|
388
|
+
akshare-1.15.26.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
|
389
|
+
akshare-1.15.26.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
390
|
+
akshare-1.15.26.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|