文档
测试

市场数据

GET
https://easydoc.xyz/mock/3XM8lrSd/api/stock/market/data/get

接口描述

市场数据

请求头

参数名
类型
描述
必填
apiToken
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
oil
object
石油
必填
value
float
示例:42.63
必填
ratio
float
示例:-0.01
必填
change
float
示例:-0.64
必填
tdDate
int
示例:1605196800000
必填
gold
object
黄金
必填
value
float
示例:1600.27
必填
ratio
float
示例:0.01
必填
change
float
示例:10.96
必填
tdDate
int
示例:1605196800000
必填
exchange
object
汇率
必填
value
float
示例:6.59805
必填
ratio
int
示例:0
必填
change
float
示例:-0.02
必填
tdDate
int
示例:1605196800000
必填
shibor
object
利率
必填
value
float
示例:2.252
必填
ratio
float
示例:-0.11
必填
change
float
示例:-0.27
必填
tdDate
int
示例:1605456000000
必填
shindex
object
上证指数
必填
value
float
示例:3346.97
必填
ratio
float
示例:1.11
必填
change
float
示例:36.86
必填
tdDate
int
示例:1605456000000
必填
szindex
object
深圳成指
必填
value
float
示例:13850.83
必填
ratio
float
示例:0.7
必填
change
float
示例:96.28
必填
tdDate
int
示例:1605456000000
必填
hsiindex
object
恒生指数
必填
value
float
示例:26156.86
必填
ratio
float
示例:-0.05
必填
change
float
示例:-12.52
必填
tdDate
int
示例:1605196800000
必填
dqsindex
object
道琼斯指数
必填
value
float
示例:1225.3
必填
ratio
float
示例:1.48
必填
change
float
示例:17.9
必填
tdDate
int
示例:1605456000000
必填
marketact
object
沪深市场
必填
normal
int
示例:3944
必填
rise
int
示例:246
必填
down
int
示例:262
必填
tdDate
int
示例:1605196800000
必填
foreign
object
北向资金净买入额
必填
value
float
示例:-4933887305.4171
必填
ratio
float
示例:9.11涨跌百分比
必填
change
float
示例:-4445761301.54 涨跌值
必填
tdDate
int
示例:1605196800000
必填
mtss
object
融资融券余额
必填
value
int
示例:1553359959222
必填
ratio
int
示例:0
必填
change
int
示例:-808279416
必填
tdDate
int
示例:1605196800000
必填
hots
array
热点板块
必填
name
string
示例:昨日换手前十
必填
ratio
int
示例:10
必填
tdDate
int
示例:1605456000000
必填