Skip to content

Commit

Permalink
Date (#4381)
Browse files Browse the repository at this point in the history
* update date

* add version 1.12.7

* update 2024

* fix option_gfex_daily
  • Loading branch information
albertandking authored Jan 2, 2024
1 parent 691ee23 commit 33b0765
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 5 deletions.
3 changes: 2 additions & 1 deletion akshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2619,9 +2619,10 @@
1.12.4 fix: fix tool_trade_date_hist_sina interface
1.12.5 fix: fix stock_zh_a_gdhs interface
1.12.6 fix: fix fund_open_fund_info_em interface
1.12.7 fix: fix option_gfex_daily interface
"""

__version__ = "1.12.6"
__version__ = "1.12.7"
__author__ = "AKFamily"

import sys
Expand Down
246 changes: 244 additions & 2 deletions akshare/file_fold/calendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8068,5 +8068,247 @@
"20231226",
"20231227",
"20231228",
"20231229"
]
"20231229",
"20240102",
"20240103",
"20240104",
"20240105",
"20240108",
"20240109",
"20240110",
"20240111",
"20240112",
"20240115",
"20240116",
"20240117",
"20240118",
"20240119",
"20240122",
"20240123",
"20240124",
"20240125",
"20240126",
"20240129",
"20240130",
"20240131",
"20240201",
"20240202",
"20240205",
"20240206",
"20240207",
"20240208",
"20240219",
"20240220",
"20240221",
"20240222",
"20240223",
"20240226",
"20240227",
"20240228",
"20240229",
"20240301",
"20240304",
"20240305",
"20240306",
"20240307",
"20240308",
"20240311",
"20240312",
"20240313",
"20240314",
"20240315",
"20240318",
"20240319",
"20240320",
"20240321",
"20240322",
"20240325",
"20240326",
"20240327",
"20240328",
"20240329",
"20240401",
"20240402",
"20240403",
"20240408",
"20240409",
"20240410",
"20240411",
"20240412",
"20240415",
"20240416",
"20240417",
"20240418",
"20240419",
"20240422",
"20240423",
"20240424",
"20240425",
"20240426",
"20240429",
"20240430",
"20240506",
"20240507",
"20240508",
"20240509",
"20240510",
"20240513",
"20240514",
"20240515",
"20240516",
"20240517",
"20240520",
"20240521",
"20240522",
"20240523",
"20240524",
"20240527",
"20240528",
"20240529",
"20240530",
"20240531",
"20240603",
"20240604",
"20240605",
"20240606",
"20240607",
"20240611",
"20240612",
"20240613",
"20240614",
"20240617",
"20240618",
"20240619",
"20240620",
"20240621",
"20240624",
"20240625",
"20240626",
"20240627",
"20240628",
"20240701",
"20240702",
"20240703",
"20240704",
"20240705",
"20240708",
"20240709",
"20240710",
"20240711",
"20240712",
"20240715",
"20240716",
"20240717",
"20240718",
"20240719",
"20240722",
"20240723",
"20240724",
"20240725",
"20240726",
"20240729",
"20240730",
"20240731",
"20240801",
"20240802",
"20240805",
"20240806",
"20240807",
"20240808",
"20240809",
"20240812",
"20240813",
"20240814",
"20240815",
"20240816",
"20240819",
"20240820",
"20240821",
"20240822",
"20240823",
"20240826",
"20240827",
"20240828",
"20240829",
"20240830",
"20240902",
"20240903",
"20240904",
"20240905",
"20240906",
"20240909",
"20240910",
"20240911",
"20240912",
"20240913",
"20240918",
"20240919",
"20240920",
"20240923",
"20240924",
"20240925",
"20240926",
"20240927",
"20240930",
"20241008",
"20241009",
"20241010",
"20241011",
"20241014",
"20241015",
"20241016",
"20241017",
"20241018",
"20241021",
"20241022",
"20241023",
"20241024",
"20241025",
"20241028",
"20241029",
"20241030",
"20241031",
"20241101",
"20241104",
"20241105",
"20241106",
"20241107",
"20241108",
"20241111",
"20241112",
"20241113",
"20241114",
"20241115",
"20241118",
"20241119",
"20241120",
"20241121",
"20241122",
"20241125",
"20241126",
"20241127",
"20241128",
"20241129",
"20241202",
"20241203",
"20241204",
"20241205",
"20241206",
"20241209",
"20241210",
"20241211",
"20241212",
"20241213",
"20241216",
"20241217",
"20241218",
"20241219",
"20241220",
"20241223",
"20241224",
"20241225",
"20241226",
"20241227",
"20241230",
"20241231"
]
2 changes: 1 addition & 1 deletion akshare/option/option_commodity.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def option_gfex_vol_daily(symbol: str = "碳酸锂", trade_date: str = "20230724
print(option_shfe_daily_one)
print(option_shfe_daily_two)

option_gfex_daily_df = option_gfex_daily(symbol="工业硅", trade_date="20230418")
option_gfex_daily_df = option_gfex_daily(symbol="工业硅", trade_date="20240102")
print(option_gfex_daily_df)

option_gfex_vol_daily_df = option_gfex_vol_daily(symbol="工业硅", trade_date="20230418")
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@

## 更新说明详情

1.12.7 fix: fix option_gfex_daily interface

1. 修复 option_gfex_daily 接口
2. 更新 calendar.json 文件

1.12.6 fix: fix fund_open_fund_info_em interface

1. 修复 fund_open_fund_info_em 接口
Expand Down Expand Up @@ -3285,6 +3290,8 @@

## 版本更新说明

1.12.7 fix: fix option_gfex_daily interface

1.12.6 fix: fix fund_open_fund_info_em interface

1.12.5 fix: fix stock_zh_a_gdhs interface
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**风险提示:[AKShare](https://github.com/akfamily/akshare) 开源财经数据接口库所采集的数据皆来自公开的数据源,不涉及任何个人隐私数据和非公开数据。
同时本项目提供的数据接口及相关数据仅用于学术研究,任何个人、机构及团体使用本项目的数据接口及相关数据请注意商业风险。**

1. 本文档更新时间:**2023-12-31**
1. 本文档更新时间:**2024-01-02**
2. 如有 [AKShare](https://github.com/akfamily/akshare) 库、文档及数据的相关问题,请在 [AKShare Issues](https://github.com/akfamily/akshare/issues) 中提 Issues;
3. 欢迎关注 **数据科学实战** 微信公众号:<div><img src="https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/ds.png"></div>;
4. 如果您的问题未能在文档中找到答案,您也可以加入 **AKShare-VIP QQ 群**: 为了提高问答质量,此群为收费群(一杯咖啡钱即可入群,赠送[《AKShare-初阶-使用教学》](https://zmj.xet.tech/s/wck86)视频课),可以添加 **AKShare-小助手** QQ:1254836886,由小助手邀请入群! ![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/qr_code_1254836886.jpg)
Expand Down

0 comments on commit 33b0765

Please sign in to comment.