@investoday/investoday-api 1.9.8 → 1.9.9
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 +654 -0
- package/data/tree.json +28 -0
- package/package.json +1 -1
package/data/openapi.json
CHANGED
|
@@ -67161,6 +67161,660 @@
|
|
|
67161
67161
|
}
|
|
67162
67162
|
]
|
|
67163
67163
|
}
|
|
67164
|
+
},
|
|
67165
|
+
"/index-quote/core": {
|
|
67166
|
+
"post": {
|
|
67167
|
+
"tags": [
|
|
67168
|
+
"指数核心实时行情"
|
|
67169
|
+
],
|
|
67170
|
+
"summary": "指数核心实时行情",
|
|
67171
|
+
"description": "通过传入指数代码数组(可批量)和固定为index的资产类型,获取指数的核心实时行情数据,包括接口快照时间、缓存更新时间等基础信息,以及指数的最新价格、昨收价、开盘价、最高价、最低价、涨跌额、涨跌幅、振幅、成交量、成交额等核心行情指标,还包含近20日涨跌幅、年初至今涨跌幅等数据,可用于实时市场监测、指数走势分析等场景。",
|
|
67172
|
+
"operationId": "get_index_quote_core",
|
|
67173
|
+
"requestBody": {
|
|
67174
|
+
"description": "通过传入指数代码数组(可批量)和固定为index的资产类型,获取指数的核心实时行情数据,包括接口快照时间、缓存更新时间等基础信息,以及指数的最新价格、昨收价、开盘价、最高价、最低价、涨跌额、涨跌幅、振幅、成交量、成交额等核心行情指标,还包含近20日涨跌幅、年初至今涨跌幅等数据,可用于实时市场监测、指数走势分析等场景。",
|
|
67175
|
+
"content": {
|
|
67176
|
+
"application/json": {
|
|
67177
|
+
"schema": {
|
|
67178
|
+
"type": "object",
|
|
67179
|
+
"properties": {
|
|
67180
|
+
"codes": {
|
|
67181
|
+
"type": "array",
|
|
67182
|
+
"description": "股票代码",
|
|
67183
|
+
"example": [
|
|
67184
|
+
"000001",
|
|
67185
|
+
"600519"
|
|
67186
|
+
],
|
|
67187
|
+
"items": {
|
|
67188
|
+
"type": "string"
|
|
67189
|
+
}
|
|
67190
|
+
},
|
|
67191
|
+
"assetType": {
|
|
67192
|
+
"type": "string",
|
|
67193
|
+
"description": "资产类型(固定为 index)",
|
|
67194
|
+
"example": "index"
|
|
67195
|
+
}
|
|
67196
|
+
},
|
|
67197
|
+
"required": [
|
|
67198
|
+
"assetType",
|
|
67199
|
+
"codes"
|
|
67200
|
+
]
|
|
67201
|
+
}
|
|
67202
|
+
}
|
|
67203
|
+
},
|
|
67204
|
+
"required": true
|
|
67205
|
+
},
|
|
67206
|
+
"responses": {
|
|
67207
|
+
"200": {
|
|
67208
|
+
"description": "成功响应",
|
|
67209
|
+
"content": {
|
|
67210
|
+
"application/json": {
|
|
67211
|
+
"schema": {
|
|
67212
|
+
"type": "object",
|
|
67213
|
+
"properties": {
|
|
67214
|
+
"data": {
|
|
67215
|
+
"type": "object",
|
|
67216
|
+
"description": "业务数据",
|
|
67217
|
+
"example": {},
|
|
67218
|
+
"properties": {
|
|
67219
|
+
"snapshotTime": {
|
|
67220
|
+
"type": "string",
|
|
67221
|
+
"description": "接口快照时间",
|
|
67222
|
+
"example": "2026-07-06T11:02:35"
|
|
67223
|
+
},
|
|
67224
|
+
"cacheTime": {
|
|
67225
|
+
"type": "string",
|
|
67226
|
+
"description": "行情缓存最后更新时间",
|
|
67227
|
+
"example": "2026-07-06T11:02:35"
|
|
67228
|
+
},
|
|
67229
|
+
"cacheAgeMs": {
|
|
67230
|
+
"type": "integer",
|
|
67231
|
+
"format": "int32",
|
|
67232
|
+
"description": "缓存距本次请求的时间差,单位毫秒",
|
|
67233
|
+
"example": 932
|
|
67234
|
+
},
|
|
67235
|
+
"cacheStatus": {
|
|
67236
|
+
"type": "string",
|
|
67237
|
+
"allOf": [
|
|
67238
|
+
{
|
|
67239
|
+
"type": "string",
|
|
67240
|
+
"description": "正常代表正常",
|
|
67241
|
+
"enum": [
|
|
67242
|
+
"正常"
|
|
67243
|
+
]
|
|
67244
|
+
}
|
|
67245
|
+
],
|
|
67246
|
+
"description": "缓存状态",
|
|
67247
|
+
"example": "正常"
|
|
67248
|
+
},
|
|
67249
|
+
"requestedCount": {
|
|
67250
|
+
"type": "integer",
|
|
67251
|
+
"format": "int32",
|
|
67252
|
+
"description": "请求数量",
|
|
67253
|
+
"example": 1
|
|
67254
|
+
},
|
|
67255
|
+
"returnedCount": {
|
|
67256
|
+
"type": "integer",
|
|
67257
|
+
"format": "int32",
|
|
67258
|
+
"description": "返回数量",
|
|
67259
|
+
"example": 1
|
|
67260
|
+
},
|
|
67261
|
+
"elapsedMs": {
|
|
67262
|
+
"type": "integer",
|
|
67263
|
+
"format": "int32",
|
|
67264
|
+
"description": "接口耗时,单位毫秒",
|
|
67265
|
+
"example": 24
|
|
67266
|
+
},
|
|
67267
|
+
"items": {
|
|
67268
|
+
"type": "array",
|
|
67269
|
+
"example": [],
|
|
67270
|
+
"items": {
|
|
67271
|
+
"type": "object",
|
|
67272
|
+
"description": "指数行情列表",
|
|
67273
|
+
"properties": {
|
|
67274
|
+
"securityCode": {
|
|
67275
|
+
"type": "string",
|
|
67276
|
+
"description": "指数代码",
|
|
67277
|
+
"example": "000001"
|
|
67278
|
+
},
|
|
67279
|
+
"securityName": {
|
|
67280
|
+
"type": "string",
|
|
67281
|
+
"description": "指数名称",
|
|
67282
|
+
"example": "上证指数"
|
|
67283
|
+
},
|
|
67284
|
+
"exchange": {
|
|
67285
|
+
"type": "string",
|
|
67286
|
+
"allOf": [
|
|
67287
|
+
{
|
|
67288
|
+
"type": "string",
|
|
67289
|
+
"description": "sh代表上交所;\nsz代表深交所;\nbj代表北交所",
|
|
67290
|
+
"enum": [
|
|
67291
|
+
"sh",
|
|
67292
|
+
"sz",
|
|
67293
|
+
"bj"
|
|
67294
|
+
]
|
|
67295
|
+
}
|
|
67296
|
+
],
|
|
67297
|
+
"description": "交易所/市场",
|
|
67298
|
+
"example": "sh"
|
|
67299
|
+
},
|
|
67300
|
+
"securityType": {
|
|
67301
|
+
"type": "string",
|
|
67302
|
+
"description": "TDX 原始证券类型;部分指数可能仍返回 0,不作为指数判断依据",
|
|
67303
|
+
"example": "0"
|
|
67304
|
+
},
|
|
67305
|
+
"assetType": {
|
|
67306
|
+
"type": "string",
|
|
67307
|
+
"allOf": [
|
|
67308
|
+
{
|
|
67309
|
+
"type": "string",
|
|
67310
|
+
"description": "index代表指数",
|
|
67311
|
+
"enum": [
|
|
67312
|
+
"index"
|
|
67313
|
+
]
|
|
67314
|
+
}
|
|
67315
|
+
],
|
|
67316
|
+
"description": "资产类型,固定为 index",
|
|
67317
|
+
"example": "index"
|
|
67318
|
+
},
|
|
67319
|
+
"tradeDate": {
|
|
67320
|
+
"type": "string",
|
|
67321
|
+
"description": "交易日期",
|
|
67322
|
+
"example": "20260706"
|
|
67323
|
+
},
|
|
67324
|
+
"quoteTime": {
|
|
67325
|
+
"type": "string",
|
|
67326
|
+
"description": "行情快照时间",
|
|
67327
|
+
"example": "20260706110236"
|
|
67328
|
+
},
|
|
67329
|
+
"snapshotTime": {
|
|
67330
|
+
"type": "string",
|
|
67331
|
+
"description": "接口快照时间",
|
|
67332
|
+
"example": "2026-07-06T11:02:35"
|
|
67333
|
+
},
|
|
67334
|
+
"lastPrice": {
|
|
67335
|
+
"type": "number",
|
|
67336
|
+
"description": "最新点位",
|
|
67337
|
+
"example": 4023.68
|
|
67338
|
+
},
|
|
67339
|
+
"preClose": {
|
|
67340
|
+
"type": "number",
|
|
67341
|
+
"description": "昨收点位",
|
|
67342
|
+
"example": 4043.64
|
|
67343
|
+
},
|
|
67344
|
+
"openPrice": {
|
|
67345
|
+
"type": "number",
|
|
67346
|
+
"description": "开盘点位",
|
|
67347
|
+
"example": 4059.19
|
|
67348
|
+
},
|
|
67349
|
+
"highPrice": {
|
|
67350
|
+
"type": "number",
|
|
67351
|
+
"description": "最高点位",
|
|
67352
|
+
"example": 4060.07
|
|
67353
|
+
},
|
|
67354
|
+
"lowPrice": {
|
|
67355
|
+
"type": "number",
|
|
67356
|
+
"description": "最低点位",
|
|
67357
|
+
"example": 4005.41
|
|
67358
|
+
},
|
|
67359
|
+
"chgAmount": {
|
|
67360
|
+
"type": "number",
|
|
67361
|
+
"description": "涨跌点数",
|
|
67362
|
+
"example": -19.96
|
|
67363
|
+
},
|
|
67364
|
+
"pctChg": {
|
|
67365
|
+
"type": "number",
|
|
67366
|
+
"description": "涨跌幅",
|
|
67367
|
+
"example": -0.0049
|
|
67368
|
+
},
|
|
67369
|
+
"amplitude": {
|
|
67370
|
+
"type": "number",
|
|
67371
|
+
"description": "振幅",
|
|
67372
|
+
"example": 0.0135
|
|
67373
|
+
},
|
|
67374
|
+
"intradayReturn": {
|
|
67375
|
+
"type": "number",
|
|
67376
|
+
"description": "盘中收益",
|
|
67377
|
+
"example": -0.0087
|
|
67378
|
+
},
|
|
67379
|
+
"speed": {
|
|
67380
|
+
"type": "number",
|
|
67381
|
+
"description": "涨速",
|
|
67382
|
+
"example": 0.0025
|
|
67383
|
+
},
|
|
67384
|
+
"volumeLot": {
|
|
67385
|
+
"type": "number",
|
|
67386
|
+
"description": "成交量,单位手",
|
|
67387
|
+
"example": 366018516
|
|
67388
|
+
},
|
|
67389
|
+
"volume": {
|
|
67390
|
+
"type": "number",
|
|
67391
|
+
"description": "成交量,单位股",
|
|
67392
|
+
"example": 36601851600
|
|
67393
|
+
},
|
|
67394
|
+
"amount": {
|
|
67395
|
+
"type": "number",
|
|
67396
|
+
"description": "成交额",
|
|
67397
|
+
"example": 909594787840
|
|
67398
|
+
},
|
|
67399
|
+
"nowVolume": {
|
|
67400
|
+
"type": "number",
|
|
67401
|
+
"description": "现量",
|
|
67402
|
+
"example": 181879700
|
|
67403
|
+
},
|
|
67404
|
+
"avgTradePrice": {
|
|
67405
|
+
"type": "number",
|
|
67406
|
+
"description": "成交均价",
|
|
67407
|
+
"example": 4005.86
|
|
67408
|
+
},
|
|
67409
|
+
"vwap": {
|
|
67410
|
+
"type": "number",
|
|
67411
|
+
"description": "当日成交均价",
|
|
67412
|
+
"example": 4005.86
|
|
67413
|
+
},
|
|
67414
|
+
"return20d": {
|
|
67415
|
+
"type": "number",
|
|
67416
|
+
"description": "近 20 日涨跌幅",
|
|
67417
|
+
"example": -0.001
|
|
67418
|
+
},
|
|
67419
|
+
"returnYtd": {
|
|
67420
|
+
"type": "number",
|
|
67421
|
+
"description": "年初至今涨跌幅",
|
|
67422
|
+
"example": 0.0138
|
|
67423
|
+
}
|
|
67424
|
+
}
|
|
67425
|
+
}
|
|
67426
|
+
}
|
|
67427
|
+
}
|
|
67428
|
+
}
|
|
67429
|
+
}
|
|
67430
|
+
}
|
|
67431
|
+
}
|
|
67432
|
+
}
|
|
67433
|
+
},
|
|
67434
|
+
"400": {
|
|
67435
|
+
"description": "无效请求"
|
|
67436
|
+
},
|
|
67437
|
+
"500": {
|
|
67438
|
+
"description": "服务器内部错误"
|
|
67439
|
+
}
|
|
67440
|
+
},
|
|
67441
|
+
"security": [
|
|
67442
|
+
{
|
|
67443
|
+
"ApiKeyAuth": []
|
|
67444
|
+
}
|
|
67445
|
+
]
|
|
67446
|
+
},
|
|
67447
|
+
"x-apikey-supported": [
|
|
67448
|
+
"resource"
|
|
67449
|
+
]
|
|
67450
|
+
},
|
|
67451
|
+
"/fund-quote/core": {
|
|
67452
|
+
"post": {
|
|
67453
|
+
"tags": [
|
|
67454
|
+
"ETF核心实时行情"
|
|
67455
|
+
],
|
|
67456
|
+
"summary": "ETF核心实时行情",
|
|
67457
|
+
"description": "使用ETF代码列表(可批量传入),并指定资产类型为etf,即可获取对应ETF的核心实时行情数据,涵盖证券基本信息(代码、名称、交易所)、关键价格指标(最新价、昨收价、开盘价、最高价、最低价等)、涨跌数据(涨跌额、涨跌幅、振幅等)、成交数据(成交量、成交额、成交均价等)、买卖盘深度(买一到买二、卖一到卖二的报价及量)、ETF专属指标(IOPV、净值、折溢价率等)以及交易日期、行情快照时间等时间信息,适用于ETF实时行情监测、交易决策分析等场景。",
|
|
67458
|
+
"operationId": "get_fund_quote_core",
|
|
67459
|
+
"requestBody": {
|
|
67460
|
+
"description": "使用ETF代码列表(可批量传入),并指定资产类型为etf,即可获取对应ETF的核心实时行情数据,涵盖证券基本信息(代码、名称、交易所)、关键价格指标(最新价、昨收价、开盘价、最高价、最低价等)、涨跌数据(涨跌额、涨跌幅、振幅等)、成交数据(成交量、成交额、成交均价等)、买卖盘深度(买一到买二、卖一到卖二的报价及量)、ETF专属指标(IOPV、净值、折溢价率等)以及交易日期、行情快照时间等时间信息,适用于ETF实时行情监测、交易决策分析等场景。",
|
|
67461
|
+
"content": {
|
|
67462
|
+
"application/json": {
|
|
67463
|
+
"schema": {
|
|
67464
|
+
"type": "object",
|
|
67465
|
+
"properties": {
|
|
67466
|
+
"codes": {
|
|
67467
|
+
"type": "array",
|
|
67468
|
+
"description": "股票代码",
|
|
67469
|
+
"example": [
|
|
67470
|
+
"159001",
|
|
67471
|
+
"510300"
|
|
67472
|
+
],
|
|
67473
|
+
"items": {
|
|
67474
|
+
"type": "string"
|
|
67475
|
+
}
|
|
67476
|
+
},
|
|
67477
|
+
"assetType": {
|
|
67478
|
+
"type": "string",
|
|
67479
|
+
"description": "资产类型(固定为 etf)",
|
|
67480
|
+
"example": "etf"
|
|
67481
|
+
}
|
|
67482
|
+
},
|
|
67483
|
+
"required": [
|
|
67484
|
+
"assetType",
|
|
67485
|
+
"codes"
|
|
67486
|
+
]
|
|
67487
|
+
}
|
|
67488
|
+
}
|
|
67489
|
+
},
|
|
67490
|
+
"required": true
|
|
67491
|
+
},
|
|
67492
|
+
"responses": {
|
|
67493
|
+
"200": {
|
|
67494
|
+
"description": "成功响应",
|
|
67495
|
+
"content": {
|
|
67496
|
+
"application/json": {
|
|
67497
|
+
"schema": {
|
|
67498
|
+
"type": "object",
|
|
67499
|
+
"properties": {
|
|
67500
|
+
"data": {
|
|
67501
|
+
"type": "object",
|
|
67502
|
+
"description": "业务数据",
|
|
67503
|
+
"example": {},
|
|
67504
|
+
"properties": {
|
|
67505
|
+
"snapshotTime": {
|
|
67506
|
+
"type": "string",
|
|
67507
|
+
"description": "接口快照时间",
|
|
67508
|
+
"example": "2026-07-06T11:49:17"
|
|
67509
|
+
},
|
|
67510
|
+
"cacheTime": {
|
|
67511
|
+
"type": "string",
|
|
67512
|
+
"description": "行情缓存最后更新时间",
|
|
67513
|
+
"example": "2026-07-06T11:30:02"
|
|
67514
|
+
},
|
|
67515
|
+
"cacheAgeMs": {
|
|
67516
|
+
"type": "integer",
|
|
67517
|
+
"format": "int32",
|
|
67518
|
+
"description": "缓存距本次请求的时间差,单位毫秒",
|
|
67519
|
+
"example": 1155946
|
|
67520
|
+
},
|
|
67521
|
+
"cacheStatus": {
|
|
67522
|
+
"type": "string",
|
|
67523
|
+
"allOf": [
|
|
67524
|
+
{
|
|
67525
|
+
"type": "string",
|
|
67526
|
+
"description": "正常代表正常",
|
|
67527
|
+
"enum": [
|
|
67528
|
+
"正常"
|
|
67529
|
+
]
|
|
67530
|
+
}
|
|
67531
|
+
],
|
|
67532
|
+
"description": "缓存状态",
|
|
67533
|
+
"example": "正常"
|
|
67534
|
+
},
|
|
67535
|
+
"requestedCount": {
|
|
67536
|
+
"type": "integer",
|
|
67537
|
+
"format": "int32",
|
|
67538
|
+
"description": "请求数量",
|
|
67539
|
+
"example": 1
|
|
67540
|
+
},
|
|
67541
|
+
"returnedCount": {
|
|
67542
|
+
"type": "integer",
|
|
67543
|
+
"format": "int32",
|
|
67544
|
+
"description": "返回数量",
|
|
67545
|
+
"example": 1
|
|
67546
|
+
},
|
|
67547
|
+
"elapsedMs": {
|
|
67548
|
+
"type": "integer",
|
|
67549
|
+
"format": "int32",
|
|
67550
|
+
"description": "接口耗时,单位毫秒",
|
|
67551
|
+
"example": 182
|
|
67552
|
+
},
|
|
67553
|
+
"items": {
|
|
67554
|
+
"type": "array",
|
|
67555
|
+
"example": [],
|
|
67556
|
+
"items": {
|
|
67557
|
+
"type": "object",
|
|
67558
|
+
"description": "ETF 行情列表",
|
|
67559
|
+
"properties": {
|
|
67560
|
+
"securityCode": {
|
|
67561
|
+
"type": "string",
|
|
67562
|
+
"description": "证券代码",
|
|
67563
|
+
"example": "159001"
|
|
67564
|
+
},
|
|
67565
|
+
"securityName": {
|
|
67566
|
+
"type": "string",
|
|
67567
|
+
"description": "证券名称",
|
|
67568
|
+
"example": "货币ETF易方达"
|
|
67569
|
+
},
|
|
67570
|
+
"exchange": {
|
|
67571
|
+
"type": "string",
|
|
67572
|
+
"allOf": [
|
|
67573
|
+
{
|
|
67574
|
+
"type": "string",
|
|
67575
|
+
"description": "sh代表上交所;\nsz代表深交所;\nbj代表北交所",
|
|
67576
|
+
"enum": [
|
|
67577
|
+
"sh",
|
|
67578
|
+
"sz",
|
|
67579
|
+
"bj"
|
|
67580
|
+
]
|
|
67581
|
+
}
|
|
67582
|
+
],
|
|
67583
|
+
"description": "交易所/市场",
|
|
67584
|
+
"example": "sz"
|
|
67585
|
+
},
|
|
67586
|
+
"securityType": {
|
|
67587
|
+
"type": "string",
|
|
67588
|
+
"description": "TDX 原始证券类型;部分 ETF 可能仍返回 0,不作为 ETF 判断依据",
|
|
67589
|
+
"example": "0"
|
|
67590
|
+
},
|
|
67591
|
+
"assetType": {
|
|
67592
|
+
"type": "string",
|
|
67593
|
+
"allOf": [
|
|
67594
|
+
{
|
|
67595
|
+
"type": "string",
|
|
67596
|
+
"description": "etf代表ETF",
|
|
67597
|
+
"enum": [
|
|
67598
|
+
"etf"
|
|
67599
|
+
]
|
|
67600
|
+
}
|
|
67601
|
+
],
|
|
67602
|
+
"description": "资产类型,固定为 etf",
|
|
67603
|
+
"example": "etf"
|
|
67604
|
+
},
|
|
67605
|
+
"tradeDate": {
|
|
67606
|
+
"type": "string",
|
|
67607
|
+
"description": "交易日期",
|
|
67608
|
+
"example": "20260706"
|
|
67609
|
+
},
|
|
67610
|
+
"quoteTime": {
|
|
67611
|
+
"type": "string",
|
|
67612
|
+
"description": "行情快照时间",
|
|
67613
|
+
"example": "20260706113000"
|
|
67614
|
+
},
|
|
67615
|
+
"snapshotTime": {
|
|
67616
|
+
"type": "string",
|
|
67617
|
+
"description": "接口快照时间",
|
|
67618
|
+
"example": "2026-07-06T11:49:17"
|
|
67619
|
+
},
|
|
67620
|
+
"lastPrice": {
|
|
67621
|
+
"type": "number",
|
|
67622
|
+
"description": "最新价",
|
|
67623
|
+
"example": 99.997
|
|
67624
|
+
},
|
|
67625
|
+
"preClose": {
|
|
67626
|
+
"type": "number",
|
|
67627
|
+
"description": "昨收价",
|
|
67628
|
+
"example": 100
|
|
67629
|
+
},
|
|
67630
|
+
"openPrice": {
|
|
67631
|
+
"type": "number",
|
|
67632
|
+
"description": "开盘价",
|
|
67633
|
+
"example": 100
|
|
67634
|
+
},
|
|
67635
|
+
"highPrice": {
|
|
67636
|
+
"type": "number",
|
|
67637
|
+
"description": "最高价",
|
|
67638
|
+
"example": 100
|
|
67639
|
+
},
|
|
67640
|
+
"lowPrice": {
|
|
67641
|
+
"type": "number",
|
|
67642
|
+
"description": "最低价",
|
|
67643
|
+
"example": 99.997
|
|
67644
|
+
},
|
|
67645
|
+
"chgAmount": {
|
|
67646
|
+
"type": "number",
|
|
67647
|
+
"description": "涨跌额",
|
|
67648
|
+
"example": -0.00300000000000011
|
|
67649
|
+
},
|
|
67650
|
+
"pctChg": {
|
|
67651
|
+
"type": "number",
|
|
67652
|
+
"description": "涨跌幅",
|
|
67653
|
+
"example": 0
|
|
67654
|
+
},
|
|
67655
|
+
"amplitude": {
|
|
67656
|
+
"type": "number",
|
|
67657
|
+
"description": "振幅",
|
|
67658
|
+
"example": 0
|
|
67659
|
+
},
|
|
67660
|
+
"intradayReturn": {
|
|
67661
|
+
"type": "number",
|
|
67662
|
+
"description": "盘中收益",
|
|
67663
|
+
"example": 0
|
|
67664
|
+
},
|
|
67665
|
+
"speed": {
|
|
67666
|
+
"type": "number",
|
|
67667
|
+
"description": "涨速",
|
|
67668
|
+
"example": 0
|
|
67669
|
+
},
|
|
67670
|
+
"volumeLot": {
|
|
67671
|
+
"type": "number",
|
|
67672
|
+
"description": "成交量,单位手",
|
|
67673
|
+
"example": 72817
|
|
67674
|
+
},
|
|
67675
|
+
"volume": {
|
|
67676
|
+
"type": "number",
|
|
67677
|
+
"description": "成交量,单位股",
|
|
67678
|
+
"example": 7281700
|
|
67679
|
+
},
|
|
67680
|
+
"amount": {
|
|
67681
|
+
"type": "number",
|
|
67682
|
+
"description": "成交额",
|
|
67683
|
+
"example": 728163456
|
|
67684
|
+
},
|
|
67685
|
+
"nowVolume": {
|
|
67686
|
+
"type": "number",
|
|
67687
|
+
"description": "现量",
|
|
67688
|
+
"example": 500
|
|
67689
|
+
},
|
|
67690
|
+
"avgTradePrice": {
|
|
67691
|
+
"type": "number",
|
|
67692
|
+
"description": "成交均价",
|
|
67693
|
+
"example": 99.999
|
|
67694
|
+
},
|
|
67695
|
+
"vwap": {
|
|
67696
|
+
"type": "number",
|
|
67697
|
+
"description": "当日成交均价",
|
|
67698
|
+
"example": 99.999
|
|
67699
|
+
},
|
|
67700
|
+
"iopv": {
|
|
67701
|
+
"type": "number",
|
|
67702
|
+
"description": "ETF 盘中参考净值候选值,对应 TDX JJJZ"
|
|
67703
|
+
},
|
|
67704
|
+
"nav": {
|
|
67705
|
+
"type": "number",
|
|
67706
|
+
"description": "基金/ETF 净值候选值,对应 TDX JJJZ"
|
|
67707
|
+
},
|
|
67708
|
+
"iopvPremiumRate": {
|
|
67709
|
+
"type": "number",
|
|
67710
|
+
"description": "ETF IOPV 折溢价率候选值,由 lastPrice / iopv - 1 计算"
|
|
67711
|
+
},
|
|
67712
|
+
"navPremiumRate": {
|
|
67713
|
+
"type": "number",
|
|
67714
|
+
"description": "基金/ETF 净值折溢价率候选值,由 lastPrice / nav - 1 计算"
|
|
67715
|
+
},
|
|
67716
|
+
"return20d": {
|
|
67717
|
+
"type": "number",
|
|
67718
|
+
"description": "近 20 日涨跌幅",
|
|
67719
|
+
"example": 0
|
|
67720
|
+
},
|
|
67721
|
+
"returnYtd": {
|
|
67722
|
+
"type": "number",
|
|
67723
|
+
"description": "年初至今涨跌幅",
|
|
67724
|
+
"example": 0
|
|
67725
|
+
},
|
|
67726
|
+
"bidPrice1": {
|
|
67727
|
+
"type": "number",
|
|
67728
|
+
"description": "买一价",
|
|
67729
|
+
"example": 99.997
|
|
67730
|
+
},
|
|
67731
|
+
"bidVolume1": {
|
|
67732
|
+
"type": "number",
|
|
67733
|
+
"description": "买一量",
|
|
67734
|
+
"example": 390000
|
|
67735
|
+
},
|
|
67736
|
+
"askPrice1": {
|
|
67737
|
+
"type": "number",
|
|
67738
|
+
"description": "卖一价",
|
|
67739
|
+
"example": 99.998
|
|
67740
|
+
},
|
|
67741
|
+
"askVolume1": {
|
|
67742
|
+
"type": "number",
|
|
67743
|
+
"description": "卖一量",
|
|
67744
|
+
"example": 459600
|
|
67745
|
+
},
|
|
67746
|
+
"bidPrice2": {
|
|
67747
|
+
"type": "number",
|
|
67748
|
+
"description": "买二价",
|
|
67749
|
+
"example": 99.996
|
|
67750
|
+
},
|
|
67751
|
+
"bidVolume2": {
|
|
67752
|
+
"type": "number",
|
|
67753
|
+
"description": "买二量",
|
|
67754
|
+
"example": 69700
|
|
67755
|
+
},
|
|
67756
|
+
"askPrice2": {
|
|
67757
|
+
"type": "number",
|
|
67758
|
+
"description": "卖二价",
|
|
67759
|
+
"example": 99.999
|
|
67760
|
+
},
|
|
67761
|
+
"askVolume2": {
|
|
67762
|
+
"type": "number",
|
|
67763
|
+
"description": "卖二量",
|
|
67764
|
+
"example": 1158500
|
|
67765
|
+
},
|
|
67766
|
+
"orderBookDepth": {
|
|
67767
|
+
"type": "integer",
|
|
67768
|
+
"format": "int32",
|
|
67769
|
+
"description": "当前盘口深度",
|
|
67770
|
+
"example": 2
|
|
67771
|
+
},
|
|
67772
|
+
"spread": {
|
|
67773
|
+
"type": "number",
|
|
67774
|
+
"description": "买卖价差",
|
|
67775
|
+
"example": 0.00100000000000477
|
|
67776
|
+
},
|
|
67777
|
+
"spreadRate": {
|
|
67778
|
+
"type": "number",
|
|
67779
|
+
"description": "买卖价差率",
|
|
67780
|
+
"example": 0
|
|
67781
|
+
},
|
|
67782
|
+
"midPrice": {
|
|
67783
|
+
"type": "number",
|
|
67784
|
+
"description": "买一卖一中间价",
|
|
67785
|
+
"example": 99.9975
|
|
67786
|
+
},
|
|
67787
|
+
"bookPressure": {
|
|
67788
|
+
"type": "number",
|
|
67789
|
+
"description": "盘口压力",
|
|
67790
|
+
"example": -0.5575
|
|
67791
|
+
}
|
|
67792
|
+
}
|
|
67793
|
+
}
|
|
67794
|
+
}
|
|
67795
|
+
}
|
|
67796
|
+
}
|
|
67797
|
+
}
|
|
67798
|
+
}
|
|
67799
|
+
}
|
|
67800
|
+
}
|
|
67801
|
+
},
|
|
67802
|
+
"400": {
|
|
67803
|
+
"description": "无效请求"
|
|
67804
|
+
},
|
|
67805
|
+
"500": {
|
|
67806
|
+
"description": "服务器内部错误"
|
|
67807
|
+
}
|
|
67808
|
+
},
|
|
67809
|
+
"security": [
|
|
67810
|
+
{
|
|
67811
|
+
"ApiKeyAuth": []
|
|
67812
|
+
}
|
|
67813
|
+
]
|
|
67814
|
+
},
|
|
67815
|
+
"x-apikey-supported": [
|
|
67816
|
+
"resource"
|
|
67817
|
+
]
|
|
67164
67818
|
}
|
|
67165
67819
|
},
|
|
67166
67820
|
"components": {
|
package/data/tree.json
CHANGED
|
@@ -3747,6 +3747,20 @@
|
|
|
3747
3747
|
"enabled": 1,
|
|
3748
3748
|
"apiAccessLevel": "L1",
|
|
3749
3749
|
"apiMethod": "POST"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"apiId": 110650,
|
|
3753
|
+
"apiName": "指数核心实时行情",
|
|
3754
|
+
"apiType": "PROXY",
|
|
3755
|
+
"apiStatus": "release",
|
|
3756
|
+
"groupId": 1033,
|
|
3757
|
+
"remarks": null,
|
|
3758
|
+
"toolName": "get_index_quote_core",
|
|
3759
|
+
"toolId": "get_index_quote_core",
|
|
3760
|
+
"apiPath": "index-quote/core",
|
|
3761
|
+
"enabled": 1,
|
|
3762
|
+
"apiAccessLevel": "L3",
|
|
3763
|
+
"apiMethod": "POST"
|
|
3750
3764
|
}
|
|
3751
3765
|
]
|
|
3752
3766
|
},
|
|
@@ -5201,6 +5215,20 @@
|
|
|
5201
5215
|
"enabled": 1,
|
|
5202
5216
|
"apiAccessLevel": "L3",
|
|
5203
5217
|
"apiMethod": "GET"
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"apiId": 110651,
|
|
5221
|
+
"apiName": "ETF核心实时行情",
|
|
5222
|
+
"apiType": "PROXY",
|
|
5223
|
+
"apiStatus": "release",
|
|
5224
|
+
"groupId": 11137,
|
|
5225
|
+
"remarks": null,
|
|
5226
|
+
"toolName": "get_fund_quote_core",
|
|
5227
|
+
"toolId": "get_fund_quote_core",
|
|
5228
|
+
"apiPath": "fund-quote/core",
|
|
5229
|
+
"enabled": 1,
|
|
5230
|
+
"apiAccessLevel": "L3",
|
|
5231
|
+
"apiMethod": "POST"
|
|
5204
5232
|
}
|
|
5205
5233
|
]
|
|
5206
5234
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@investoday/investoday-api",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.9",
|
|
4
4
|
"description": "CLI for accessing InvestToday China market financial data via investoday-api.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/investoday-data/investoday-finance-data",
|