查看某个指数的所有交易所关系
GET
http://localhost:8081/spot/exchange/getExchangeBySpot?spotId=6
请求头
参数名
类型
描述
必填
token
string
示例:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJsaXUiLCJzb3VyY2UiOiJwYyIsImV4cCI6MTYwMTAwMDIyMywiaWF0IjoxNjAwOTEzODIzfQ.MEyR89WJDWvRAD3wP31dJ7KJVqYdgzyeepD3ybD4HnI
必填
请求参数
参数名
类型
描述
必填
spotId
int
示例:6(现货价格指数id)
必填
响应参数
参数名
类型
描述
必填
success
boolean
示例:true
必填
msg
string
示例:
必填
id
int
示例:1(交易所和现货价格指数关系id)
必填
weight
int
示例:10(权重)
必填
spotPair
string
示例:BTC/USDT(现货价格交易所交易对符号)
必填
exchangeId
int
示例:3(交易所id)
必填
spotId
int
示例:6(现货价格指数Id)
必填
created
string
示例:2020-09-18 14:47:25
必填
modified
object
示例:null
必填
id
int
示例:6(现货价格指数id)
必填
spotSymbol
string
示例:XBT(现货价格符号)
必填
spotPeriod
string
示例:1min(现货价格周期)
必填
exchangeNumber
int
示例:5(现货价格指数组成成分数量)
必填
created
string
示例:2020-09-18 10:53:49
必填
modified
object
示例:null
必填
indexTitle
object
示例:null
必填
indexDescription
object
示例:null
必填
code
string
示例:100
必填
version
string
示例:1.0
必填
size
int
示例:0
必填