@investoday/investoday-api 1.8.0 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/openapi.json +739 -5
- package/data/tree.json +56 -0
- package/package.json +4 -4
package/data/openapi.json
CHANGED
|
@@ -931,6 +931,151 @@
|
|
|
931
931
|
"ApiKeyAuth": []
|
|
932
932
|
}
|
|
933
933
|
]
|
|
934
|
+
},
|
|
935
|
+
"post": {
|
|
936
|
+
"tags": [
|
|
937
|
+
"指数历史日行情"
|
|
938
|
+
],
|
|
939
|
+
"summary": "指数历史日行情",
|
|
940
|
+
"description": "支持通过单个指数代码或多个指数代码列表,结合可选的日期范围(开始日期、结束日期,格式为yyyy-MM-dd)、页码、页大小,查询指数的历史日行情数据,包括日期(yyyy-MM-dd HH:mm:ss)、指数代码、指数名称、昨收盘价、开盘价、最高价、最低价、收盘价、成交量、成交金额等核心指标,可用于市场分析和指数表现追踪。",
|
|
941
|
+
"operationId": "list_index_quote_barch",
|
|
942
|
+
"requestBody": {
|
|
943
|
+
"description": "支持通过单个指数代码或多个指数代码列表,结合可选的日期范围(开始日期、结束日期,格式为yyyy-MM-dd)、页码、页大小,查询指数的历史日行情数据,包括日期(yyyy-MM-dd HH:mm:ss)、指数代码、指数名称、昨收盘价、开盘价、最高价、最低价、收盘价、成交量、成交金额等核心指标,可用于市场分析和指数表现追踪。",
|
|
944
|
+
"content": {
|
|
945
|
+
"application/json": {
|
|
946
|
+
"schema": {
|
|
947
|
+
"type": "object",
|
|
948
|
+
"properties": {
|
|
949
|
+
"indexCode": {
|
|
950
|
+
"type": "string",
|
|
951
|
+
"description": "指数代码【与indexCodes组成多选一参数,必须且只能传递其中一个】",
|
|
952
|
+
"example": "000300"
|
|
953
|
+
},
|
|
954
|
+
"indexCodes": {
|
|
955
|
+
"type": "array",
|
|
956
|
+
"description": "指数代码列表【与indexCode组成多选一参数,必须且只能传递其中一个】",
|
|
957
|
+
"example": [
|
|
958
|
+
"399300",
|
|
959
|
+
"399301"
|
|
960
|
+
],
|
|
961
|
+
"items": {
|
|
962
|
+
"type": "string"
|
|
963
|
+
}
|
|
964
|
+
},
|
|
965
|
+
"beginDate": {
|
|
966
|
+
"type": "string",
|
|
967
|
+
"description": "开始日期(格式yyyy-MM-dd)。\n最小值:2020-01-01;",
|
|
968
|
+
"example": "2025-01-01"
|
|
969
|
+
},
|
|
970
|
+
"endDate": {
|
|
971
|
+
"type": "string",
|
|
972
|
+
"description": "结束日期(格式yyyy-MM-dd)",
|
|
973
|
+
"example": "2025-01-01"
|
|
974
|
+
},
|
|
975
|
+
"pageNum": {
|
|
976
|
+
"type": "integer",
|
|
977
|
+
"description": "页码。\n最小值:1;",
|
|
978
|
+
"format": "int32",
|
|
979
|
+
"example": 1
|
|
980
|
+
},
|
|
981
|
+
"pageSize": {
|
|
982
|
+
"type": "integer",
|
|
983
|
+
"description": "页长。\n最小值:1;\n最大值:500;",
|
|
984
|
+
"format": "int32",
|
|
985
|
+
"example": 10
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"required": true
|
|
992
|
+
},
|
|
993
|
+
"responses": {
|
|
994
|
+
"200": {
|
|
995
|
+
"description": "成功响应",
|
|
996
|
+
"content": {
|
|
997
|
+
"application/json": {
|
|
998
|
+
"schema": {
|
|
999
|
+
"type": "object",
|
|
1000
|
+
"properties": {
|
|
1001
|
+
"code": {
|
|
1002
|
+
"type": "integer",
|
|
1003
|
+
"description": "响应状态码",
|
|
1004
|
+
"format": "int32",
|
|
1005
|
+
"example": 0
|
|
1006
|
+
},
|
|
1007
|
+
"message": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"description": "响应消息",
|
|
1010
|
+
"example": "success"
|
|
1011
|
+
},
|
|
1012
|
+
"date": {
|
|
1013
|
+
"type": "string",
|
|
1014
|
+
"description": "发布日期",
|
|
1015
|
+
"example": "2015-05-26 00:00:00"
|
|
1016
|
+
},
|
|
1017
|
+
"indexCode": {
|
|
1018
|
+
"type": "string",
|
|
1019
|
+
"description": "指数代码",
|
|
1020
|
+
"example": "000300"
|
|
1021
|
+
},
|
|
1022
|
+
"indexName": {
|
|
1023
|
+
"type": "string",
|
|
1024
|
+
"description": "指数名称",
|
|
1025
|
+
"example": "沪深300"
|
|
1026
|
+
},
|
|
1027
|
+
"previousClosePrice": {
|
|
1028
|
+
"type": "number",
|
|
1029
|
+
"description": "昨收盘价",
|
|
1030
|
+
"example": 3850.25
|
|
1031
|
+
},
|
|
1032
|
+
"openPrice": {
|
|
1033
|
+
"type": "number",
|
|
1034
|
+
"description": "开盘价",
|
|
1035
|
+
"example": 3860.15
|
|
1036
|
+
},
|
|
1037
|
+
"highPrice": {
|
|
1038
|
+
"type": "number",
|
|
1039
|
+
"description": "最高价",
|
|
1040
|
+
"example": 3880.45
|
|
1041
|
+
},
|
|
1042
|
+
"lowPrice": {
|
|
1043
|
+
"type": "number",
|
|
1044
|
+
"description": "最低价",
|
|
1045
|
+
"example": 3845.3
|
|
1046
|
+
},
|
|
1047
|
+
"closePrice": {
|
|
1048
|
+
"type": "number",
|
|
1049
|
+
"description": "收盘价",
|
|
1050
|
+
"example": 3875.6
|
|
1051
|
+
},
|
|
1052
|
+
"volume": {
|
|
1053
|
+
"type": "number",
|
|
1054
|
+
"description": "成交量",
|
|
1055
|
+
"example": 125000000.0
|
|
1056
|
+
},
|
|
1057
|
+
"tradingAmountCny": {
|
|
1058
|
+
"type": "number",
|
|
1059
|
+
"description": "成交金额(元)",
|
|
1060
|
+
"example": 4850000000.0
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"400": {
|
|
1068
|
+
"description": "无效请求"
|
|
1069
|
+
},
|
|
1070
|
+
"500": {
|
|
1071
|
+
"description": "服务器内部错误"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"security": [
|
|
1075
|
+
{
|
|
1076
|
+
"ApiKeyAuth": []
|
|
1077
|
+
}
|
|
1078
|
+
]
|
|
934
1079
|
}
|
|
935
1080
|
},
|
|
936
1081
|
"/announcements": {
|
|
@@ -37836,6 +37981,12 @@
|
|
|
37836
37981
|
"description": "研发费用占比个股排名",
|
|
37837
37982
|
"format": "int32",
|
|
37838
37983
|
"example": 150
|
|
37984
|
+
},
|
|
37985
|
+
"netProfitAdjRank": {
|
|
37986
|
+
"type": "integer",
|
|
37987
|
+
"description": "扣非净利润排名",
|
|
37988
|
+
"format": "int32",
|
|
37989
|
+
"example": 100
|
|
37839
37990
|
}
|
|
37840
37991
|
}
|
|
37841
37992
|
}
|
|
@@ -37955,7 +38106,7 @@
|
|
|
37955
38106
|
"allOf": [
|
|
37956
38107
|
{
|
|
37957
38108
|
"type": "integer",
|
|
37958
|
-
"description": "1代表一级行业;\n2代表二级行业;\n3
|
|
38109
|
+
"description": "1代表一级行业;\n2代表二级行业;\n3代表三级行业",
|
|
37959
38110
|
"format": "int32",
|
|
37960
38111
|
"enum": [
|
|
37961
38112
|
1,
|
|
@@ -37987,7 +38138,7 @@
|
|
|
37987
38138
|
"allOf": [
|
|
37988
38139
|
{
|
|
37989
38140
|
"type": "string",
|
|
37990
|
-
"description": "Q1代表第一季度;\nQ2代表第二季度;\nQ3代表第三季度;\nQ4
|
|
38141
|
+
"description": "Q1代表第一季度;\nQ2代表第二季度;\nQ3代表第三季度;\nQ4代表第四季度",
|
|
37991
38142
|
"enum": [
|
|
37992
38143
|
"Q1",
|
|
37993
38144
|
"Q2",
|
|
@@ -38084,6 +38235,12 @@
|
|
|
38084
38235
|
"description": "研发费用占比个股排名",
|
|
38085
38236
|
"format": "int32",
|
|
38086
38237
|
"example": 150
|
|
38238
|
+
},
|
|
38239
|
+
"netProfitAdjRank": {
|
|
38240
|
+
"type": "integer",
|
|
38241
|
+
"description": "扣非净利润排名",
|
|
38242
|
+
"format": "int32",
|
|
38243
|
+
"example": 100
|
|
38087
38244
|
}
|
|
38088
38245
|
}
|
|
38089
38246
|
}
|
|
@@ -42810,6 +42967,11 @@
|
|
|
42810
42967
|
"description": "响应消息",
|
|
42811
42968
|
"example": "success"
|
|
42812
42969
|
},
|
|
42970
|
+
"date": {
|
|
42971
|
+
"type": "string",
|
|
42972
|
+
"description": "发布日期",
|
|
42973
|
+
"example": "2025-10-20"
|
|
42974
|
+
},
|
|
42813
42975
|
"fundCode": {
|
|
42814
42976
|
"type": "string",
|
|
42815
42977
|
"description": "基金代码",
|
|
@@ -42852,7 +43014,7 @@
|
|
|
42852
43014
|
"allOf": [
|
|
42853
43015
|
{
|
|
42854
43016
|
"type": "string",
|
|
42855
|
-
"description": "1代表股票型;\n2代表债券型;\n3代表QDII;\n4代表商品型;\n5代表混合型;\n6代表货币型;\n7代表另类基金;\n8代表FOF;\n9
|
|
43017
|
+
"description": "1代表股票型;\n2代表债券型;\n3代表QDII;\n4代表商品型;\n5代表混合型;\n6代表货币型;\n7代表另类基金;\n8代表FOF;\n9代表其他",
|
|
42856
43018
|
"enum": [
|
|
42857
43019
|
"1",
|
|
42858
43020
|
"2",
|
|
@@ -42901,7 +43063,7 @@
|
|
|
42901
43063
|
"allOf": [
|
|
42902
43064
|
{
|
|
42903
43065
|
"type": "string",
|
|
42904
|
-
"description": "1代表偏股型;\n2代表偏债型;\n3代表商品型;\n4代表货币型;\n5
|
|
43066
|
+
"description": "1代表偏股型;\n2代表偏债型;\n3代表商品型;\n4代表货币型;\n5代表其他",
|
|
42905
43067
|
"enum": [
|
|
42906
43068
|
"1",
|
|
42907
43069
|
"2",
|
|
@@ -44048,7 +44210,7 @@
|
|
|
44048
44210
|
"type": "string"
|
|
44049
44211
|
}
|
|
44050
44212
|
},
|
|
44051
|
-
"isIncumbent
|
|
44213
|
+
"isIncumbent": {
|
|
44052
44214
|
"type": "integer",
|
|
44053
44215
|
"description": "是否在职",
|
|
44054
44216
|
"format": "int32",
|
|
@@ -45212,6 +45374,11 @@
|
|
|
45212
45374
|
"description": "响应消息",
|
|
45213
45375
|
"example": "success"
|
|
45214
45376
|
},
|
|
45377
|
+
"date": {
|
|
45378
|
+
"type": "string",
|
|
45379
|
+
"description": "发布日期",
|
|
45380
|
+
"example": "2026-01-01"
|
|
45381
|
+
},
|
|
45215
45382
|
"fundCode": {
|
|
45216
45383
|
"type": "string",
|
|
45217
45384
|
"description": "基金代码",
|
|
@@ -54851,6 +55018,16 @@
|
|
|
54851
55018
|
"description": "市净率",
|
|
54852
55019
|
"example": 1.376
|
|
54853
55020
|
},
|
|
55021
|
+
"peRank5y": {
|
|
55022
|
+
"type": "number",
|
|
55023
|
+
"description": "近五年PE百分位",
|
|
55024
|
+
"example": 0.8399
|
|
55025
|
+
},
|
|
55026
|
+
"pbRank5y": {
|
|
55027
|
+
"type": "number",
|
|
55028
|
+
"description": "近五年PB百分位",
|
|
55029
|
+
"example": 0.6399
|
|
55030
|
+
},
|
|
54854
55031
|
"turnoverRate": {
|
|
54855
55032
|
"type": "number",
|
|
54856
55033
|
"description": "换手率",
|
|
@@ -62981,6 +63158,563 @@
|
|
|
62981
63158
|
}
|
|
62982
63159
|
]
|
|
62983
63160
|
}
|
|
63161
|
+
},
|
|
63162
|
+
"/fund-manager/hist-performance": {
|
|
63163
|
+
"post": {
|
|
63164
|
+
"tags": [
|
|
63165
|
+
"基金经理历史管理基金业绩"
|
|
63166
|
+
],
|
|
63167
|
+
"summary": "基金经理历史管理基金业绩",
|
|
63168
|
+
"description": "支持通过基金经理名称(支持模糊查询)查询其历史管理的基金及任期业绩数据,返回基金代码、基金ID、基金名称、基金经理代码、基金经理名称、是否在职、任职开始日期、任职结束日期(格式均为yyyy-MM-dd)、任期回报等核心信息,可用于评估基金经理的历史任职表现与管理业绩。",
|
|
63169
|
+
"operationId": "list_fund_mgr_hist_per",
|
|
63170
|
+
"requestBody": {
|
|
63171
|
+
"description": "支持通过基金经理名称(支持模糊查询)查询其历史管理的基金及任期业绩数据,返回基金代码、基金ID、基金名称、基金经理代码、基金经理名称、是否在职、任职开始日期、任职结束日期(格式均为yyyy-MM-dd)、任期回报等核心信息,可用于评估基金经理的历史任职表现与管理业绩。",
|
|
63172
|
+
"content": {
|
|
63173
|
+
"application/json": {
|
|
63174
|
+
"schema": {
|
|
63175
|
+
"type": "object",
|
|
63176
|
+
"properties": {
|
|
63177
|
+
"fundManagerName": {
|
|
63178
|
+
"type": "string",
|
|
63179
|
+
"description": "基金经理",
|
|
63180
|
+
"example": "张三"
|
|
63181
|
+
},
|
|
63182
|
+
"pageNum": {
|
|
63183
|
+
"type": "integer",
|
|
63184
|
+
"description": "页码。\n最小值:1;",
|
|
63185
|
+
"format": "int32",
|
|
63186
|
+
"example": 1
|
|
63187
|
+
},
|
|
63188
|
+
"pageSize": {
|
|
63189
|
+
"type": "integer",
|
|
63190
|
+
"description": "页长。\n最小值:1;\n最大值:500;",
|
|
63191
|
+
"format": "int32",
|
|
63192
|
+
"example": 10
|
|
63193
|
+
}
|
|
63194
|
+
}
|
|
63195
|
+
}
|
|
63196
|
+
}
|
|
63197
|
+
},
|
|
63198
|
+
"required": true
|
|
63199
|
+
},
|
|
63200
|
+
"responses": {
|
|
63201
|
+
"200": {
|
|
63202
|
+
"description": "成功响应",
|
|
63203
|
+
"content": {
|
|
63204
|
+
"application/json": {
|
|
63205
|
+
"schema": {
|
|
63206
|
+
"type": "object",
|
|
63207
|
+
"properties": {
|
|
63208
|
+
"code": {
|
|
63209
|
+
"type": "integer",
|
|
63210
|
+
"description": "响应状态码",
|
|
63211
|
+
"format": "int32",
|
|
63212
|
+
"example": 0
|
|
63213
|
+
},
|
|
63214
|
+
"message": {
|
|
63215
|
+
"type": "string",
|
|
63216
|
+
"description": "响应消息",
|
|
63217
|
+
"example": "success"
|
|
63218
|
+
},
|
|
63219
|
+
"date": {
|
|
63220
|
+
"type": "string",
|
|
63221
|
+
"description": "发布日期",
|
|
63222
|
+
"example": "2026-01-01"
|
|
63223
|
+
},
|
|
63224
|
+
"fundCode": {
|
|
63225
|
+
"type": "string",
|
|
63226
|
+
"description": " 基金代码",
|
|
63227
|
+
"example": "159355"
|
|
63228
|
+
},
|
|
63229
|
+
"fundId": {
|
|
63230
|
+
"type": "string",
|
|
63231
|
+
"description": "今日投资内部编码",
|
|
63232
|
+
"example": "J000DVGB"
|
|
63233
|
+
},
|
|
63234
|
+
"fundName": {
|
|
63235
|
+
"type": "string",
|
|
63236
|
+
"description": "基金名称",
|
|
63237
|
+
"example": "800红利低波ETF华宝"
|
|
63238
|
+
},
|
|
63239
|
+
"fundManagerCode": {
|
|
63240
|
+
"type": "string",
|
|
63241
|
+
"description": "基金经理代码",
|
|
63242
|
+
"example": "001O57M2"
|
|
63243
|
+
},
|
|
63244
|
+
"fundManagerName": {
|
|
63245
|
+
"type": "string",
|
|
63246
|
+
"description": "基金经理姓名",
|
|
63247
|
+
"example": "胡一江"
|
|
63248
|
+
},
|
|
63249
|
+
"isIncumbent": {
|
|
63250
|
+
"type": "integer",
|
|
63251
|
+
"description": "是否在任",
|
|
63252
|
+
"format": "int32",
|
|
63253
|
+
"example": 1,
|
|
63254
|
+
"allOf": [
|
|
63255
|
+
{
|
|
63256
|
+
"type": "integer",
|
|
63257
|
+
"description": "0代表历任;\n1代表在任",
|
|
63258
|
+
"format": "int32",
|
|
63259
|
+
"enum": [
|
|
63260
|
+
0,
|
|
63261
|
+
1
|
|
63262
|
+
]
|
|
63263
|
+
}
|
|
63264
|
+
]
|
|
63265
|
+
},
|
|
63266
|
+
"tenureEndDate": {
|
|
63267
|
+
"type": "string",
|
|
63268
|
+
"description": "任职开始日期",
|
|
63269
|
+
"example": "2025-01-18"
|
|
63270
|
+
},
|
|
63271
|
+
"tenureStartDate": {
|
|
63272
|
+
"type": "string",
|
|
63273
|
+
"description": "任职结束日期",
|
|
63274
|
+
"example": "2025-01-18"
|
|
63275
|
+
},
|
|
63276
|
+
"returnTenure": {
|
|
63277
|
+
"type": "number",
|
|
63278
|
+
"description": "任期回报",
|
|
63279
|
+
"example": 0.1053
|
|
63280
|
+
}
|
|
63281
|
+
}
|
|
63282
|
+
}
|
|
63283
|
+
}
|
|
63284
|
+
}
|
|
63285
|
+
},
|
|
63286
|
+
"400": {
|
|
63287
|
+
"description": "无效请求"
|
|
63288
|
+
},
|
|
63289
|
+
"500": {
|
|
63290
|
+
"description": "服务器内部错误"
|
|
63291
|
+
}
|
|
63292
|
+
},
|
|
63293
|
+
"security": [
|
|
63294
|
+
{
|
|
63295
|
+
"ApiKeyAuth": []
|
|
63296
|
+
}
|
|
63297
|
+
]
|
|
63298
|
+
}
|
|
63299
|
+
},
|
|
63300
|
+
"/stock/up-down-list": {
|
|
63301
|
+
"post": {
|
|
63302
|
+
"tags": [
|
|
63303
|
+
"每日股票涨跌停列表"
|
|
63304
|
+
],
|
|
63305
|
+
"summary": "每日股票涨跌停列表",
|
|
63306
|
+
"description": "支持通过指定涨跌停标识(必填,1为涨停、-1为跌停、0为未涨跌停)、日期范围(格式yyyy-MM-dd)、页码和页长,查询沪深京A股、B股在指定交易日的涨跌停状态、连续涨跌停天数、昨日收盘价及昨日前复权收盘价等核心数据,可用于分析股票的极端价格行为和短期市场情绪。",
|
|
63307
|
+
"operationId": "list_stock_up_down_list",
|
|
63308
|
+
"requestBody": {
|
|
63309
|
+
"description": "支持通过指定涨跌停标识(必填,1为涨停、-1为跌停、0为未涨跌停)、日期范围(格式yyyy-MM-dd)、页码和页长,查询沪深京A股、B股在指定交易日的涨跌停状态、连续涨跌停天数、昨日收盘价及昨日前复权收盘价等核心数据,可用于分析股票的极端价格行为和短期市场情绪。",
|
|
63310
|
+
"content": {
|
|
63311
|
+
"application/json": {
|
|
63312
|
+
"schema": {
|
|
63313
|
+
"required": [
|
|
63314
|
+
"limitFlag"
|
|
63315
|
+
],
|
|
63316
|
+
"type": "object",
|
|
63317
|
+
"properties": {
|
|
63318
|
+
"beginDate": {
|
|
63319
|
+
"type": "string",
|
|
63320
|
+
"description": "开始日期(格式yyyy-MM-dd)。\n最小值:2020-01-01;",
|
|
63321
|
+
"example": "2020-01-01"
|
|
63322
|
+
},
|
|
63323
|
+
"endDate": {
|
|
63324
|
+
"type": "string",
|
|
63325
|
+
"description": "结束日期(格式yyyy-MM-dd)",
|
|
63326
|
+
"example": "2025-01-01"
|
|
63327
|
+
},
|
|
63328
|
+
"limitFlag": {
|
|
63329
|
+
"type": "integer",
|
|
63330
|
+
"description": "涨跌停标识",
|
|
63331
|
+
"format": "int32",
|
|
63332
|
+
"example": 1,
|
|
63333
|
+
"allOf": [
|
|
63334
|
+
{
|
|
63335
|
+
"type": "integer",
|
|
63336
|
+
"description": "1代表涨停;\n-1代表跌停;\n0代表未涨跌停",
|
|
63337
|
+
"format": "int32",
|
|
63338
|
+
"enum": [
|
|
63339
|
+
1,
|
|
63340
|
+
-1,
|
|
63341
|
+
0
|
|
63342
|
+
]
|
|
63343
|
+
}
|
|
63344
|
+
]
|
|
63345
|
+
},
|
|
63346
|
+
"pageNum": {
|
|
63347
|
+
"type": "integer",
|
|
63348
|
+
"description": "页码。\n最小值:1;",
|
|
63349
|
+
"format": "int32",
|
|
63350
|
+
"example": 1
|
|
63351
|
+
},
|
|
63352
|
+
"pageSize": {
|
|
63353
|
+
"type": "integer",
|
|
63354
|
+
"description": "页长。\n最小值:1;\n最大值:500;",
|
|
63355
|
+
"format": "int32",
|
|
63356
|
+
"example": 10
|
|
63357
|
+
}
|
|
63358
|
+
}
|
|
63359
|
+
}
|
|
63360
|
+
}
|
|
63361
|
+
},
|
|
63362
|
+
"required": true
|
|
63363
|
+
},
|
|
63364
|
+
"responses": {
|
|
63365
|
+
"200": {
|
|
63366
|
+
"description": "成功响应",
|
|
63367
|
+
"content": {
|
|
63368
|
+
"application/json": {
|
|
63369
|
+
"schema": {
|
|
63370
|
+
"type": "object",
|
|
63371
|
+
"properties": {
|
|
63372
|
+
"code": {
|
|
63373
|
+
"type": "integer",
|
|
63374
|
+
"description": "响应状态码",
|
|
63375
|
+
"format": "int32",
|
|
63376
|
+
"example": 0
|
|
63377
|
+
},
|
|
63378
|
+
"message": {
|
|
63379
|
+
"type": "string",
|
|
63380
|
+
"description": "响应消息",
|
|
63381
|
+
"example": "success"
|
|
63382
|
+
},
|
|
63383
|
+
"date": {
|
|
63384
|
+
"type": "string",
|
|
63385
|
+
"description": "交易日期",
|
|
63386
|
+
"example": "1990-12-21 00:00:00"
|
|
63387
|
+
},
|
|
63388
|
+
"stockCode": {
|
|
63389
|
+
"type": "string",
|
|
63390
|
+
"description": "股票代码",
|
|
63391
|
+
"example": "600652"
|
|
63392
|
+
},
|
|
63393
|
+
"stockName": {
|
|
63394
|
+
"type": "string",
|
|
63395
|
+
"description": "股票名称",
|
|
63396
|
+
"example": "游久"
|
|
63397
|
+
},
|
|
63398
|
+
"keepLimitUpDays": {
|
|
63399
|
+
"type": "integer",
|
|
63400
|
+
"description": "连续涨停天数",
|
|
63401
|
+
"format": "int32",
|
|
63402
|
+
"example": 5
|
|
63403
|
+
},
|
|
63404
|
+
"keepLimitDownDays": {
|
|
63405
|
+
"type": "integer",
|
|
63406
|
+
"description": "连续跌停天数",
|
|
63407
|
+
"format": "int32",
|
|
63408
|
+
"example": 5
|
|
63409
|
+
},
|
|
63410
|
+
"limitFlag": {
|
|
63411
|
+
"type": "integer",
|
|
63412
|
+
"description": "涨跌停",
|
|
63413
|
+
"format": "int32",
|
|
63414
|
+
"example": 1,
|
|
63415
|
+
"allOf": [
|
|
63416
|
+
{
|
|
63417
|
+
"type": "integer",
|
|
63418
|
+
"description": "1代表涨停;\n-1代表跌停;\n0代表未涨跌停",
|
|
63419
|
+
"format": "int32",
|
|
63420
|
+
"enum": [
|
|
63421
|
+
1,
|
|
63422
|
+
-1,
|
|
63423
|
+
0
|
|
63424
|
+
]
|
|
63425
|
+
}
|
|
63426
|
+
]
|
|
63427
|
+
},
|
|
63428
|
+
"prevClosePriceAdj": {
|
|
63429
|
+
"type": "number",
|
|
63430
|
+
"description": "昨日收盘价",
|
|
63431
|
+
"example": 0.1591
|
|
63432
|
+
},
|
|
63433
|
+
"prevClosePrice": {
|
|
63434
|
+
"type": "number",
|
|
63435
|
+
"description": "昨日前复权收盘价",
|
|
63436
|
+
"example": 193
|
|
63437
|
+
}
|
|
63438
|
+
}
|
|
63439
|
+
}
|
|
63440
|
+
}
|
|
63441
|
+
}
|
|
63442
|
+
},
|
|
63443
|
+
"400": {
|
|
63444
|
+
"description": "无效请求"
|
|
63445
|
+
},
|
|
63446
|
+
"500": {
|
|
63447
|
+
"description": "服务器内部错误"
|
|
63448
|
+
}
|
|
63449
|
+
},
|
|
63450
|
+
"security": [
|
|
63451
|
+
{
|
|
63452
|
+
"ApiKeyAuth": []
|
|
63453
|
+
}
|
|
63454
|
+
]
|
|
63455
|
+
}
|
|
63456
|
+
},
|
|
63457
|
+
"/stock-quote/realtime-ext": {
|
|
63458
|
+
"post": {
|
|
63459
|
+
"tags": [
|
|
63460
|
+
"沪深京最新实时扩展日行情"
|
|
63461
|
+
],
|
|
63462
|
+
"summary": "沪深京最新实时扩展日行情",
|
|
63463
|
+
"description": "获取沪深京股票的最新实时扩展行情数据,支持按股票代码列表查询或全市场排序筛选(如涨跌幅、涨跌停时间),返回包含最新价、开盘价、最高最低价、成交量额、多周期涨跌幅、总市值、流通市值、换手率、所属行业及涨跌停价格与时间(格式yyyy-MM-dd HH:mm:ss)等核心指标,适用于实时市场监测、异动股票发现及多维度的量化分析任务。",
|
|
63464
|
+
"operationId": "get_stock_quote_rt_ext",
|
|
63465
|
+
"parameters": [
|
|
63466
|
+
{
|
|
63467
|
+
"name": "order",
|
|
63468
|
+
"in": "query",
|
|
63469
|
+
"description": "排序方式(asc、desc)",
|
|
63470
|
+
"required": false,
|
|
63471
|
+
"schema": {
|
|
63472
|
+
"type": "string",
|
|
63473
|
+
"example": "asc"
|
|
63474
|
+
}
|
|
63475
|
+
},
|
|
63476
|
+
{
|
|
63477
|
+
"name": "sortColumn",
|
|
63478
|
+
"in": "query",
|
|
63479
|
+
"description": "排序字段",
|
|
63480
|
+
"required": true,
|
|
63481
|
+
"schema": {
|
|
63482
|
+
"type": "string",
|
|
63483
|
+
"example": "changeRatio",
|
|
63484
|
+
"allOf": [
|
|
63485
|
+
{
|
|
63486
|
+
"type": "string",
|
|
63487
|
+
"description": "changeRatio代表涨跌幅;\nlimitUpTime代表涨停时间;\nlimitDownTime代表跌停时间",
|
|
63488
|
+
"enum": [
|
|
63489
|
+
"changeRatio",
|
|
63490
|
+
"limitUpTime",
|
|
63491
|
+
"limitDownTime"
|
|
63492
|
+
]
|
|
63493
|
+
}
|
|
63494
|
+
]
|
|
63495
|
+
}
|
|
63496
|
+
},
|
|
63497
|
+
{
|
|
63498
|
+
"name": "page",
|
|
63499
|
+
"in": "query",
|
|
63500
|
+
"description": "页码",
|
|
63501
|
+
"required": false,
|
|
63502
|
+
"schema": {
|
|
63503
|
+
"type": "integer",
|
|
63504
|
+
"format": "int32",
|
|
63505
|
+
"example": 1
|
|
63506
|
+
}
|
|
63507
|
+
}
|
|
63508
|
+
],
|
|
63509
|
+
"requestBody": {
|
|
63510
|
+
"description": "获取沪深京股票的最新实时扩展行情数据,支持按股票代码列表查询或全市场排序筛选(如涨跌幅、涨跌停时间),返回包含最新价、开盘价、最高最低价、成交量额、多周期涨跌幅、总市值、流通市值、换手率、所属行业及涨跌停价格与时间(格式yyyy-MM-dd HH:mm:ss)等核心指标,适用于实时市场监测、异动股票发现及多维度的量化分析任务。",
|
|
63511
|
+
"content": {
|
|
63512
|
+
"application/json": {
|
|
63513
|
+
"schema": {
|
|
63514
|
+
"type": "object",
|
|
63515
|
+
"properties": {
|
|
63516
|
+
"stockCodes": {
|
|
63517
|
+
"type": "array",
|
|
63518
|
+
"description": "股票代码(单股票示例:[\"000001\"],多股票示例: [\"600839\",\"000002\"])",
|
|
63519
|
+
"example": [
|
|
63520
|
+
"000001"
|
|
63521
|
+
],
|
|
63522
|
+
"items": {
|
|
63523
|
+
"type": "string"
|
|
63524
|
+
}
|
|
63525
|
+
}
|
|
63526
|
+
}
|
|
63527
|
+
}
|
|
63528
|
+
}
|
|
63529
|
+
},
|
|
63530
|
+
"required": true
|
|
63531
|
+
},
|
|
63532
|
+
"responses": {
|
|
63533
|
+
"200": {
|
|
63534
|
+
"description": "成功响应",
|
|
63535
|
+
"content": {
|
|
63536
|
+
"application/json": {
|
|
63537
|
+
"schema": {
|
|
63538
|
+
"type": "object",
|
|
63539
|
+
"properties": {
|
|
63540
|
+
"code": {
|
|
63541
|
+
"type": "integer",
|
|
63542
|
+
"description": "响应状态码",
|
|
63543
|
+
"format": "int32",
|
|
63544
|
+
"example": 0
|
|
63545
|
+
},
|
|
63546
|
+
"message": {
|
|
63547
|
+
"type": "string",
|
|
63548
|
+
"description": "响应消息",
|
|
63549
|
+
"example": "success"
|
|
63550
|
+
},
|
|
63551
|
+
"bix": {
|
|
63552
|
+
"type": "integer",
|
|
63553
|
+
"description": "开始序号",
|
|
63554
|
+
"format": "int32"
|
|
63555
|
+
},
|
|
63556
|
+
"data": {
|
|
63557
|
+
"type": "array",
|
|
63558
|
+
"items": {
|
|
63559
|
+
"type": "object",
|
|
63560
|
+
"properties": {
|
|
63561
|
+
"changeRatio": {
|
|
63562
|
+
"type": "number",
|
|
63563
|
+
"description": "涨跌幅"
|
|
63564
|
+
},
|
|
63565
|
+
"changeRatio1W": {
|
|
63566
|
+
"type": "number",
|
|
63567
|
+
"description": "股票近一周涨跌幅"
|
|
63568
|
+
},
|
|
63569
|
+
"changeRatioB10D": {
|
|
63570
|
+
"type": "number",
|
|
63571
|
+
"description": "股票近10日涨跌幅"
|
|
63572
|
+
},
|
|
63573
|
+
"circulationValue": {
|
|
63574
|
+
"type": "number",
|
|
63575
|
+
"description": "流通市值(T-1日)"
|
|
63576
|
+
},
|
|
63577
|
+
"closePriceYDay": {
|
|
63578
|
+
"type": "number",
|
|
63579
|
+
"description": "昨收价"
|
|
63580
|
+
},
|
|
63581
|
+
"currentPrice": {
|
|
63582
|
+
"type": "number",
|
|
63583
|
+
"description": "最新价"
|
|
63584
|
+
},
|
|
63585
|
+
"dataTime": {
|
|
63586
|
+
"type": "string",
|
|
63587
|
+
"description": "数据时间"
|
|
63588
|
+
},
|
|
63589
|
+
"dealMoney": {
|
|
63590
|
+
"type": "number",
|
|
63591
|
+
"description": "成交金额(单位:元)"
|
|
63592
|
+
},
|
|
63593
|
+
"dealMoney1W": {
|
|
63594
|
+
"type": "number",
|
|
63595
|
+
"description": "近一周成交额(单位:元)"
|
|
63596
|
+
},
|
|
63597
|
+
"dealStockAmount": {
|
|
63598
|
+
"type": "number",
|
|
63599
|
+
"description": "成交股票数(单位:A-手、港-股)"
|
|
63600
|
+
},
|
|
63601
|
+
"dealStockAmount1W": {
|
|
63602
|
+
"type": "number",
|
|
63603
|
+
"description": "近一周成交股票数(单位:股)"
|
|
63604
|
+
},
|
|
63605
|
+
"highPrice": {
|
|
63606
|
+
"type": "number",
|
|
63607
|
+
"description": "最高价"
|
|
63608
|
+
},
|
|
63609
|
+
"industryCode": {
|
|
63610
|
+
"type": "string",
|
|
63611
|
+
"description": "行业代码(申万二级)"
|
|
63612
|
+
},
|
|
63613
|
+
"industryLV1Code": {
|
|
63614
|
+
"type": "string",
|
|
63615
|
+
"description": "行业代码(申万一级)"
|
|
63616
|
+
},
|
|
63617
|
+
"industryLV1Name": {
|
|
63618
|
+
"type": "string",
|
|
63619
|
+
"description": "行业名称(申万一级)"
|
|
63620
|
+
},
|
|
63621
|
+
"industryName": {
|
|
63622
|
+
"type": "string",
|
|
63623
|
+
"description": "行业名称(申万二级)"
|
|
63624
|
+
},
|
|
63625
|
+
"limitDownPrice": {
|
|
63626
|
+
"type": "number",
|
|
63627
|
+
"description": "跌停价"
|
|
63628
|
+
},
|
|
63629
|
+
"limitDownTime": {
|
|
63630
|
+
"type": "string",
|
|
63631
|
+
"description": "跌停时间(Last)"
|
|
63632
|
+
},
|
|
63633
|
+
"limitUpPrice": {
|
|
63634
|
+
"type": "number",
|
|
63635
|
+
"description": "涨停价"
|
|
63636
|
+
},
|
|
63637
|
+
"limitUpTime": {
|
|
63638
|
+
"type": "string",
|
|
63639
|
+
"description": "涨停时间(Last)"
|
|
63640
|
+
},
|
|
63641
|
+
"lowPrice": {
|
|
63642
|
+
"type": "number",
|
|
63643
|
+
"description": "最低价"
|
|
63644
|
+
},
|
|
63645
|
+
"marketType": {
|
|
63646
|
+
"type": "string",
|
|
63647
|
+
"description": "市场类型"
|
|
63648
|
+
},
|
|
63649
|
+
"openPrice": {
|
|
63650
|
+
"type": "number",
|
|
63651
|
+
"description": "开盘价"
|
|
63652
|
+
},
|
|
63653
|
+
"status": {
|
|
63654
|
+
"type": "string",
|
|
63655
|
+
"description": "状态"
|
|
63656
|
+
},
|
|
63657
|
+
"stockCode": {
|
|
63658
|
+
"type": "string",
|
|
63659
|
+
"description": "股票代码"
|
|
63660
|
+
},
|
|
63661
|
+
"stockName": {
|
|
63662
|
+
"type": "string",
|
|
63663
|
+
"description": "股票名称"
|
|
63664
|
+
},
|
|
63665
|
+
"sysTime": {
|
|
63666
|
+
"type": "object",
|
|
63667
|
+
"description": "系统时间"
|
|
63668
|
+
},
|
|
63669
|
+
"totalValue": {
|
|
63670
|
+
"type": "number",
|
|
63671
|
+
"description": "总市值(T日)"
|
|
63672
|
+
},
|
|
63673
|
+
"turnOverRate": {
|
|
63674
|
+
"type": "number",
|
|
63675
|
+
"description": "换手率"
|
|
63676
|
+
}
|
|
63677
|
+
},
|
|
63678
|
+
"description": "结果"
|
|
63679
|
+
}
|
|
63680
|
+
},
|
|
63681
|
+
"eix": {
|
|
63682
|
+
"type": "integer",
|
|
63683
|
+
"description": "结束序号",
|
|
63684
|
+
"format": "int32"
|
|
63685
|
+
},
|
|
63686
|
+
"lastPage": {
|
|
63687
|
+
"type": "boolean",
|
|
63688
|
+
"description": "是否最后一页"
|
|
63689
|
+
},
|
|
63690
|
+
"page": {
|
|
63691
|
+
"type": "integer",
|
|
63692
|
+
"description": "当前页码",
|
|
63693
|
+
"format": "int32"
|
|
63694
|
+
},
|
|
63695
|
+
"totalCount": {
|
|
63696
|
+
"type": "integer",
|
|
63697
|
+
"description": "总条数",
|
|
63698
|
+
"format": "int32"
|
|
63699
|
+
}
|
|
63700
|
+
}
|
|
63701
|
+
}
|
|
63702
|
+
}
|
|
63703
|
+
}
|
|
63704
|
+
},
|
|
63705
|
+
"400": {
|
|
63706
|
+
"description": "无效请求"
|
|
63707
|
+
},
|
|
63708
|
+
"500": {
|
|
63709
|
+
"description": "服务器内部错误"
|
|
63710
|
+
}
|
|
63711
|
+
},
|
|
63712
|
+
"security": [
|
|
63713
|
+
{
|
|
63714
|
+
"ApiKeyAuth": []
|
|
63715
|
+
}
|
|
63716
|
+
]
|
|
63717
|
+
}
|
|
62984
63718
|
}
|
|
62985
63719
|
},
|
|
62986
63720
|
"components": {
|
package/data/tree.json
CHANGED
|
@@ -764,6 +764,20 @@
|
|
|
764
764
|
"enabled": 1,
|
|
765
765
|
"apiAccessLevel": "L2",
|
|
766
766
|
"apiMethod": "POST"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"apiId": 110621,
|
|
770
|
+
"apiName": "每日股票涨跌停列表",
|
|
771
|
+
"apiType": "SQL",
|
|
772
|
+
"apiStatus": "release",
|
|
773
|
+
"groupId": 1085,
|
|
774
|
+
"remarks": null,
|
|
775
|
+
"toolName": "list_stk_up_down_list",
|
|
776
|
+
"toolId": "list_stock_up_down_list",
|
|
777
|
+
"apiPath": "stock/up-down-list",
|
|
778
|
+
"enabled": 1,
|
|
779
|
+
"apiAccessLevel": "L2",
|
|
780
|
+
"apiMethod": "POST"
|
|
767
781
|
}
|
|
768
782
|
]
|
|
769
783
|
},
|
|
@@ -896,6 +910,20 @@
|
|
|
896
910
|
"enabled": 1,
|
|
897
911
|
"apiAccessLevel": "L3",
|
|
898
912
|
"apiMethod": "GET"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"apiId": 110622,
|
|
916
|
+
"apiName": "沪深京最新实时扩展日行情",
|
|
917
|
+
"apiType": "PROXY",
|
|
918
|
+
"apiStatus": "release",
|
|
919
|
+
"groupId": 1096,
|
|
920
|
+
"remarks": null,
|
|
921
|
+
"toolName": "get_stock_quote_rt_ext",
|
|
922
|
+
"toolId": "get_stock_quote_rt_ext",
|
|
923
|
+
"apiPath": "stock-quote/realtime-ext",
|
|
924
|
+
"enabled": 1,
|
|
925
|
+
"apiAccessLevel": "L3",
|
|
926
|
+
"apiMethod": "POST"
|
|
899
927
|
}
|
|
900
928
|
]
|
|
901
929
|
}
|
|
@@ -3522,6 +3550,20 @@
|
|
|
3522
3550
|
"enabled": 1,
|
|
3523
3551
|
"apiAccessLevel": "L3",
|
|
3524
3552
|
"apiMethod": "POST"
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"apiId": 110623,
|
|
3556
|
+
"apiName": "指数历史日行情",
|
|
3557
|
+
"apiType": "SQL",
|
|
3558
|
+
"apiStatus": "release",
|
|
3559
|
+
"groupId": 1033,
|
|
3560
|
+
"remarks": null,
|
|
3561
|
+
"toolName": "list_index_quote_barch",
|
|
3562
|
+
"toolId": "list_index_quote_barch",
|
|
3563
|
+
"apiPath": "index/quotes",
|
|
3564
|
+
"enabled": 1,
|
|
3565
|
+
"apiAccessLevel": "L1",
|
|
3566
|
+
"apiMethod": "POST"
|
|
3525
3567
|
}
|
|
3526
3568
|
]
|
|
3527
3569
|
},
|
|
@@ -5308,6 +5350,20 @@
|
|
|
5308
5350
|
"enabled": 1,
|
|
5309
5351
|
"apiAccessLevel": "L2",
|
|
5310
5352
|
"apiMethod": "POST"
|
|
5353
|
+
},
|
|
5354
|
+
{
|
|
5355
|
+
"apiId": 110617,
|
|
5356
|
+
"apiName": "基金经理历史管理基金业绩",
|
|
5357
|
+
"apiType": "SQL",
|
|
5358
|
+
"apiStatus": "release",
|
|
5359
|
+
"groupId": 11125,
|
|
5360
|
+
"remarks": null,
|
|
5361
|
+
"toolName": "list_fund_mgr_hist_per",
|
|
5362
|
+
"toolId": "list_fund_mgr_hist_per",
|
|
5363
|
+
"apiPath": "fund-manager/hist-performance",
|
|
5364
|
+
"enabled": 1,
|
|
5365
|
+
"apiAccessLevel": "L2",
|
|
5366
|
+
"apiMethod": "POST"
|
|
5311
5367
|
}
|
|
5312
5368
|
]
|
|
5313
5369
|
},
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@investoday/investoday-api",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "CLI for accessing InvestToday China market financial data via investoday-api.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"homepage": "https://github.com/investoday-data/investoday-
|
|
6
|
+
"homepage": "https://github.com/investoday-data/investoday-finance-data",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/investoday-data/investoday-
|
|
9
|
+
"url": "git+https://github.com/investoday-data/investoday-finance-data.git",
|
|
10
10
|
"directory": "package/investoday-api"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/investoday-data/investoday-
|
|
13
|
+
"url": "https://github.com/investoday-data/investoday-finance-data/issues"
|
|
14
14
|
},
|
|
15
15
|
"type": "commonjs",
|
|
16
16
|
"main": "lib/call-api.js",
|