auto-sync: 2026-05-01 15:56:35
This commit is contained in:
@@ -24,7 +24,7 @@ try:
|
|||||||
hs300.to_csv(output_file, index=False, encoding='utf-8')
|
hs300.to_csv(output_file, index=False, encoding='utf-8')
|
||||||
|
|
||||||
# 保存JSON格式
|
# 保存JSON格式
|
||||||
json_file = "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/zhaoyun-data/data/raw/stock_info/hs300_constituents_latest.json"
|
json_file = "/Volumes/stock/A股数据/stock_info/hs300_constituents_latest.json"
|
||||||
constituents = []
|
constituents = []
|
||||||
for _, row in hs300.iterrows():
|
for _, row in hs300.iterrows():
|
||||||
code = str(row.get('code', '')).zfill(6)
|
code = str(row.get('code', '')).zfill(6)
|
||||||
|
|||||||
Reference in New Issue
Block a user