获取标的K线实时数据

获取标的实时K线数据

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

最大支持同时查询100个标的,最大支持返回500根最近K线

入参说明

参数名类型必填描述示例值
klineTypeintkline类型,参考下面的kline类型1
klineNumint最近多少根k线,最大支持500根(多产品最多只能同时获取最近两根k线)500
codesString标的列表,多个用,间隔,最大支持100个标的USDCNY,XAUAUD,CN50

klineType

类型描述
11分钟k线
25分钟k线
315分钟k线
430分钟k线
51小时k线
62小时k线
74小时k线
81日k线
91周k线
101月k线
111季k线
121年k线

出参说明

字段名类型必填描述示例值
sString标的代码USDCNY
respListArrayk线列表参考下面的respList

respList

字段名类型必填描述示例值
tString成交时间1747382898892
hString最高价18.01
oString开盘价18.01
lString最低价18.01
cString收盘价18.01
vString成交量18000
vmString成交额20000
pcString涨跌幅0.12%
pcaString涨跌额0.11
Path Params
string
required
Defaults to 1

kline类型,多个用,间隔,参考上面的kline类型

string
required
Defaults to 10

最近多少根k线,最大支持500

string
required
Defaults to USDCNY,XAUAUD,CN50

标的代码,最大支持100

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json