File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 3130
3130
1.17.21 fix: fix stock_sector_fund_flow_hist interface
3131
3131
1.17.22 fix: fix stock_individual_spot_xq interface
3132
3132
1.17.23 fix: fix get_roll_yield interface
3133
+ 1.17.24 fix: fix futures_inventory_99 interface
3133
3134
"""
3134
3135
3135
- __version__ = "1.17.23 "
3136
+ __version__ = "1.17.24 "
3136
3137
__author__ = "AKFamily"
3137
3138
3138
3139
import sys
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding:utf-8 -*-
3
3
"""
4
- Date: 2025/3/5 17:30
4
+ Date: 2025/7/17 18:00
5
5
Desc: 99 期货网-大宗商品库存数据
6
6
https://www.99qh.com/
7
7
"""
@@ -63,10 +63,10 @@ def futures_inventory_99(symbol: str = "豆一") -> pd.DataFrame:
63
63
url = "https://centerapi.fx168api.com/app/qh/api/stock/trend"
64
64
headers = {
65
65
"Content-Type" : "application/json;charset=UTF-8" ,
66
- "_pcc" : "MJoF6aEybQVb5pvgsbutqScmcZ0fEiVbs0JL2u0YTQp9K2uJzRhmlddA+NQpabK1LMw3q622YnRyNiO1dhx5yO "
67
- "3QHjPfeGPuRf8DQUcjlRiOjgOkc9C72pv+gg3yiTVvweDdwXqhFIBEa8ZIyNL1+uZksQtFyqYxFqurePEjD84 =" ,
66
+ "_pcc" : "LXbAQMr0TYT8dDsJKEEQE4yFSLKOVQ1LguCImNzNBQXu2vyAq7MN34kKtBhtp7VsCjm1x5oobzlyd4kC9PDaOJnbk "
67
+ "GQeS0PLhhvjbUlysSk3LOnuqhxMzlls9eEspnnu3iRJbtD4dAcGSoUAUf/AiRWZvysT/aVbkRzQj9lv5ck =" ,
68
68
"user-agent" : "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
69
- "Chrome/58.0.3029.110 Safari/537.3" ,
69
+ "Chrome/58.0.3029.110 Safari/537.3" ,
70
70
"referer" : "https://www.99qh.com" ,
71
71
"origin" : "https://www.99qh.com" ,
72
72
}
Original file line number Diff line number Diff line change 81
81
82
82
## 更新说明详情
83
83
84
+ 1.17.24 fix: fix futures_inventory_99 interface
85
+
86
+ 1. 修复 futures_inventory_99 接口
87
+
84
88
1.17.23 fix: fix get_roll_yield interface
85
89
86
90
1. 修复 get_roll_yield 接口
5682
5686
5683
5687
## 版本更新说明
5684
5688
5689
+ 1.17.24 fix: fix futures_inventory_99 interface
5690
+
5685
5691
1.17.23 fix: fix get_roll_yield interface
5686
5692
5687
5693
1.17.22 fix: fix stock_individual_spot_xq interface
You can’t perform that action at this time.
0 commit comments