Stock data query api
Stock data query: you can query Shanghai and Shenzhen, Hong Kong, the United States and other stock market values, increases and a series of information.
See http://www.haoservice.com/docs/34
Example:
{
"error_code": "0"
"reason": "Success"
"result": {
"data": {
"gid": "aapl", / * Stock number * /
"name": "Apple", * Stock name * /
"lastestpri": "437.87", / * latest price * /
"openpri": "429.70", / * opening price * /
"formpri": "431.72", / * previous closing price * /
"maxpri": "439.01", / * maximum price * /
"minpri": "425.14", / * lowest price * /
"uppic": "6.15", / * up and down * /
"limit": "1.42", / * up or down% * /
"traAmount": "16884191", / * turnover (shares) * /
"avgTraNumber": "16910781", / * average turnover (shares) * /
"markValue": "411185326460", / * Market value * /
"max52": "705.07", / * 52 week highest * /
"min52": "419.00", / * 52 week minimum * /
"EPS": "44.16", / * US stock earnings * /
"priearn": "9.92", / * P / E * /
"beta": "1.10", / * Beta coefficient * /
"divident": "10.60", / * dividend * /
"ROR": "10.24", / * yield * /
"capital": "939058000", / * share capital * /
"afterpic": "437.29", / * after-hours price * /
"afterlimit": "- 0.13", / * up or down% * / after hours
"afteruppic": "- 0.58", / * after-hours ups and downs * /
"aftertime": "Mar 11 7:59PMEDT", / * after-disk calculation time * /
"ustime": "Mar 11 4:00PMEDT", / * current update time in the US * /
"chtime": "2013-03-1207 5815 04" / * China time * /
}
"gopicture": {
"minurl": "https://cache.yisu.com/upload/information/20200311/71/167474.jpg",/* timesharing K diagram * /
"min_weekpic": "https://cache.yisu.com/upload/information/20200311/71/167475.jpg",/*5 daily K chart * /
"dayurl": "https://cache.yisu.com/upload/information/20200311/71/167476.jpg",/* daily K chart * /
"weekurl": "https://cache.yisu.com/upload/information/20200311/71/167477.jpg",/* weekly K chart * /
"monthurl": "https://cache.yisu.com/upload/information/20200311/71/167478.jpg"/* monthly K chart * /
}
}
}