分时图接口

接口名称:

/kline.php

请求方式:

GET

请求参数:

参数 必填 类型 描述
code Y string 股票代码
cycle Y string K线图类型 timeline=分时图
fq N string 复权类型 data=原始数据,before=前复权,after=后复权
t Y int 十位时间戳
token Y string 签名

请求实列

http://kline.api.shqingsi.cn/v1/kline.php?code=sh000001&cycle=timeline&fq=data

返回数据:

{
  "error": 0,
  "msg": "",
  "success": true,
  "data": [
    "20190717,0930,2925.71,371063300,3.643859E9",
    "20190717,0931,2927.96,181438600,5.600273E9",
    "20190717,0932,2924.97,159356500,7.312587E9",
    "20190717,0933,2926.86,119253500,8.553137E9",
    "20190717,0934,2926.2,184681100,1.05304E10",
    "20190717,0935,2927.55,112214000,1.180101E10",
    "20190717,0936,2932.27,177708000,1.370601E10",
    "20190717,0937,2933.28,86014000,1.461343E10",
    "20190717,0938,2933.31,121899000,1.602706E10",
    "20190717,0939,2935.16,69481000,1.677416E10",
    "20190717,0940,2935.1,167786000,1.856697E10",
    "20190717,0941,2933.78,111962000,1.974588E10",
    "20190717,0942,2933.61,106765000,2.080227E10",
    "20190717,0943,2934.16,96492000,2.17915E10",
    "20190717,0944,2936.47,98845000,2.284642E10",
    "20190717,0945,2935.82,90692000,2.379293E10",
    "20190717,0946,2936.09,94046000,2.474098E10",
    "20190717,0947,2936.92,104567000,2.578299E10",
    "20190717,0948,2938.21,89815000,2.673395E10",
    "20190717,0949,2938.42,95761000,2.7772E10",
    "20190717,0950,2938.91,98443000,2.879233E10",
    "20190717,0951,2938.52,63729000,2.94458E10",
    "20190717,0952,2935.58,108025000,3.066556E10",
    "20190717,0953,2935.84,86755000,3.153796E10",
    "20190717,0954,2934.82,78749000,3.239225E10",
    "20190717,0955,2936.79,81765000,3.325265E10",
    "20190717,0956,2936.51,63756000,3.391055E10",
    "20190717,0957,2936.13,79974000,3.475601E10",
    "20190717,0958,2936.28,76560000,3.560412E10",
    "20190717,0959,2937.88,77968000,3.648537E10",
    "20190717,1000,2937.38,75976000,3.730557E10",
    "20190717,1001,2938.35,72701000,3.805058E10",
    "20190717,1002,2938.77,49632000,3.857434E10",
    "20190717,1003,2938.51,72201000,3.935294E10",
    "20190717,1004,2938.6,65560000,4.006601E10",
    "20190717,1005,2937.11,53896000,4.066022E10",
    "20190717,1006,2936.78,78318000,4.148516E10",
    "20190717,1007,2936.65,66890000,4.2185E10",
    "20190717,1008,2936.65,0,4.2185E10",
    "20190717,1009,2938.06,97893000,4.314296E10",
    "20190717,1010,2937.43,73777000,4.391538E10",
    "20190717,1011,2938.67,62559000,4.458125E10",
    "20190717,1012,2939.6,52995000,4.513766E10",
    "20190717,1013,2940.8,54905000,4.573254E10",
    "20190717,1014,2941.21,88335000,4.660579E10",
    "20190717,1015,2941.34,53662000,4.710923E10",
    "20190717,1016,2940.5,87689000,4.799419E10",
    "20190717,1017,2940.45,46039000,4.844452E10",
    "20190717,1018,2939.95,59510000,4.905552E10",
    "20190717,1019,2940.04,57488000,4.964843E10",
    "20190717,1020,2940.53,59643000,5.025621E10",
    "20190717,1021,2941.81,67249000,5.097003E10",
    "20190717,1022,2941.6,61320000,5.153391E10",
    "20190717,1023,2940.89,71204000,5.225332E10",
    "20190717,1024,2939.81,51746000,5.275932E10",
    "20190717,1025,2938.39,79343000,5.352084E10",
    "20190717,1026,2938.7,61268000,5.415023E10",
    "20190717,1027,2938.44,30636000,5.448972E10",
    "20190717,1028,2937.33,64787000,5.516222E10",
    "20190717,1029,2937.63,48280000,5.564705E10",
    "20190717,1030,2936.64,58084000,5.624687E10",
    "20190717,1031,2936.65,36452000,5.661521E10",
    "20190717,1032,2937.03,49901000,5.712714E10",
    "20190717,1033,2936.0,50869000,5.766844E10",
    "20190717,1034,2934.78,81572000,5.855757E10",
    "20190717,1035,2934.46,56059000,5.907808E10",
    "20190717,1036,2934.9,39417000,5.945257E10",
    "20190717,1037,2934.94,75992000,6.026453E10",
    "20190717,1038,2935.05,43099000,6.075284E10",
    "20190717,1039,2934.22,69551000,6.152167E10",
    "20190717,1040,2933.9,57132000,6.209994E10",
    "20190717,1041,2934.24,64459000,6.278844E10",
    "20190717,1042,2933.9,49333000,6.333258E10",
    "20190717,1043,2933.53,29091000,6.362638E10",
    "20190717,1044,2932.99,89543000,6.454807E10",
    "20190717,1045,2933.01,16651000,6.472696E10",
    "20190717,1046,2932.01,128776000,6.611593E10",
    "20190717,1047,2931.44,61087000,6.677443E10",
    "20190717,1048,2931.18,32239000,6.713315E10",
    "20190717,1049,2930.93,53532000,6.772328E10",
    "20190717,1050,2929.43,142311000,6.916732E10",
    "20190717,1051,2930.79,61218000,6.982785E10",
    "20190717,1052,2930.89,55469000,7.040338E10",
    "20190717,1053,2930.65,49887000,7.091504E10",
    "20190717,1054,2930.34,59217000,7.151143E10",
    "20190717,1055,2930.51,43108000,7.194726E10",
    "20190717,1056,2930.7,37503000,7.232667E10"
  ]
}

#数组格式为
日期,时间,当前价格,成交量(股),成交额(元)