A股实时股票行情,指数行情web API 使用方法

例如,请求

http://shuorel.com/ws/realtime/v1/sz000001

 

将得到

 {"data":{"name":"平安银行","time":"2016-04-08 15:05:57","open":10.55,"high":10.67,"close":10.57,"low":10.5,"volume":37655386,"amount":397998243,"average":10.57},"status":"done"} 

 

要获得上证指数行情,发送请求

http://shuorel.com/ws/realtime/v1/sh000001

得到

{"data":{"name":"上证指数","time":"2016-04-08 15:03:57","open":2988.2,"high":2996.1706,"close":2984.9582,"low":2960.46,"volume":187904633,"amount":207337095111,"average":1103.42},"status":"done"}

posted @ 2016-05-03 08:01  Leonid  阅读(967)  评论(0编辑  收藏  举报