- UID
- 2
- 积分
- 2874604
- 威望
- 1387331 布
- 龙e币
- 1487273 刀
- 在线时间
- 13155 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-24
|
接口示例- pro = ts.pro_api()
- #获取单日统计数据
- df = pro.sge_daily(trade_date='20220311')
- #获取某合约指定日期,指定字段输出的数据
- df = pro.sge_daily(ts_code='', start_date='20220301', end_date='20220311', fields='ts_code,close,open,vol')
复制代码 数据示例- ts_code trade_date close open high low vol settle_dire
- 0 Au99.95 20220311 403.3000 403.2000 403.3000 403.2000 24.00 None
- 1 Au99.99 20220311 403.6000 405.9700 408.0000 402.8000 13667.66 None
- 2 Au(T+D) 20220311 403.2200 405.0100 407.7000 402.5300 27196.00 空支付给多
- 3 Pt99.95 20220311 227.0400 228.0000 228.0000 226.3000 384.00 None
- 4 Ag(T+D) 20220311 5.1340 5.1820 5.1850 5.1090 2428664.00 空支付给多
- 5 Au100g 20220311 403.0300 405.4500 406.0000 402.3600 29.40 None
- 6 Au(T+N1) 20220311 405.7000 408.0000 408.0000 402.2000 21.80 None
- 7 Au(T+N2) 20220311 408.1000 411.0000 414.5000 408.0500 91.20 None
- 8 mAu(T+D) 20220311 403.4400 406.6200 407.7500 402.7500 4367.80 空支付给多
- 9 iAu99.99 20220311 405.3400 406.3000 408.0000 405.0000 2.06 None
- 10 PGC30g 20220311 409.3200 410.0000 410.0000 408.9000 0.36 None
- 11 NYAuTN06 20220311 404.5500 407.8500 408.8000 404.0000 15.80 None
- 12 NYAuTN12 20220311 409.0500 413.8500 413.8500 408.9000 214.40 None
复制代码 |
|