### 说明
1. **数据解析**:将每一行数据分割并转换为字典格式,日期作为键,其他数值作为列表。
2. **保存为 JSON**:使用 `json.dump` 将数据写入 `data.json` 文件中,格式化输出以便于阅读。
import json
# 原始数据
data = [
'2022-01-28,1032.67,882.80,1171.13,873.02,101231009,194888748288.00,29.81,-11.72,-117.20,24.01',
'2022-02-28,876.24,987.02,994.82,814.33,143602568,270602609152.00,20.45,11.81,104.22,34.06',
'2022-03-31,983.57,1086.66,1181.44,917.99,286402160,681405074432.00,26.69,10.10,99.64,67.93',
'2022-04-29,1063.78,823.44,1100.68,749.27,212675906,441003176448.00,32.34,-24.22,-263.22,50.44',
'2022-05-31,820.52,849.90,937.21,812.76,233271074,505089667328.00,15.11,3.21,26.46,55.33',
'2022-06-30,845.92,888.32,902.85,827.97,217032840,423956370688.00,8.81,4.52,38.42,51.47',
'2022-07-29,887.94,848.48,922.13,847.43,179161187,371129885848.00,8.41,-