获取基金排行
正式环境
正式环境
POST
/fund/rank
请求参数
Body 参数application/json
fundType
array[string]
可选
sort
string
可选
cp
array[string]
可选
creatTimeLimit
integer
可选
fundScale
integer
可选
asc
string
可选
pageIndex
integer
页码
pageSize
integer
页大小
示例
{
"fundType": [
"string"
],
"sort": "string",
"cp": [
"string"
],
"creatTimeLimit": 0,
"fundScale": 0,
"asc": "string",
"pageIndex": 0,
"pageSize": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.autostock.cn/v1/fund/rank' \
--header 'Content-Type: application/json' \
--data-raw '{
"fundType": [
"string"
],
"sort": "string",
"cp": [
"string"
],
"creatTimeLimit": 0,
"fundScale": 0,
"asc": "string",
"pageIndex": 0,
"pageSize": 0
}'
返回响应
🟢200成功
application/json
Body
club.doctorxiong.api.common.CommonResponse<club.doctorxiong.api.common.page.PageData<club.doctorxiong.api.common.dto.FundDTO>>
code
integer
可选
参考
HttpResponse.Code
message
string
返回消息
traceId
string
链路ID
data
object (PageData«FundDTO»)
可选
rank
array[object (FundDTO) {27}]
结果集
pageIndex
integer
页码
pageSize
integer
页大小
totalRecord
integer
总记录数
requestFail
integer
可选
默认值:
0
resolveFail
integer
可选
默认值:
0
meta
object (Object)
可选
示例
{
"code": 0,
"message": "",
"traceId": "",
"data": {
"rank": [
{
"code": "",
"name": "",
"type": "",
"netWorth": 0,
"expectWorth": 0,
"totalWorth": 0,
"expectGrowth": "",
"dayGrowth": "",
"lastWeekGrowth": "",
"lastMonthGrowth": "",
"lastThreeMonthsGrowth": "",
"lastSixMonthsGrowth": "",
"lastYearGrowth": "",
"buyMin": "",
"buySourceRate": "",
"buyRate": "",
"manager": "",
"fundScale": "",
"netWorthDate": "",
"expectWorthDate": "",
"millionCopiesIncome": 0,
"millionCopiesIncomeDate": "",
"sevenDaysYearIncome": 0,
"fundType": "",
"thisYearGrowth": "",
"requestFail": 0,
"resolveFail": 0
}
],
"pageIndex": 0,
"pageSize": 0,
"totalRecord": 0,
"requestFail": 0,
"resolveFail": 0
},
"meta": {}
}
修改于 2024-02-04 10:02:39