@investoday/investoday-api 1.9.13 → 1.9.15

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 CHANGED
@@ -11681,7 +11681,7 @@
11681
11681
  "股票成交量指标"
11682
11682
  ],
11683
11683
  "summary": "股票成交量指标",
11684
- "description": "根据股票代码和日期范围查询沪深京股票的成交量相关技术指标,包括加权指数成交值TAPI、简单能量潮和成交量摆荡指标,用于分析股票成交量的变化趋势和市场活跃度。",
11684
+ "description": "通过指定股票代码(必填),可结合开始日期(格式yyyy-MM-dd)、结束日期(格式yyyy-MM-dd)、页码、页长,查询对应沪深京A、B股的成交量相关技术指标数据,返回交易日期、股票代码、股票名称、加权指数成交值TAPI、简易能量潮SOBV、成交量比率指标,适用于股票量能分析、技术指标研究等场景。",
11685
11685
  "operationId": "list_stock_vol_indicators",
11686
11686
  "parameters": [
11687
11687
  {
@@ -11772,7 +11772,7 @@
11772
11772
  },
11773
11773
  "volumeRatio": {
11774
11774
  "type": "number",
11775
- "description": "成交量摆荡指标",
11775
+ "description": "成交量比率指标",
11776
11776
  "example": 31.3606
11777
11777
  }
11778
11778
  }
@@ -11798,10 +11798,10 @@
11798
11798
  "股票成交量指标"
11799
11799
  ],
11800
11800
  "summary": "股票成交量指标",
11801
- "description": "根据股票代码和日期范围查询沪深京股票的成交量相关技术指标,包括加权指数成交值TAPI、简单能量潮和成交量摆荡指标,用于分析股票成交量的变化趋势和市场活跃度。",
11801
+ "description": "支持通过单个股票代码或股票代码列表,结合开始日期(格式yyyy-MM-dd)、结束日期(格式yyyy-MM-dd)、页码、页长,查询沪深京A股、B股的成交量相关技术指标,包括交易日期(格式yyyy-MM-dd HH:mm:ss)、股票代码、股票名称、简易成交量、成交量比率指标,可用于分析股票成交量的变化趋势和市场活跃度。",
11802
11802
  "operationId": "list_stock_vol_indicators",
11803
11803
  "requestBody": {
11804
- "description": "根据股票代码和日期范围查询沪深京股票的成交量相关技术指标,包括加权指数成交值TAPI、简单能量潮和成交量摆荡指标,用于分析股票成交量的变化趋势和市场活跃度。",
11804
+ "description": "支持通过单个股票代码或股票代码列表,结合开始日期(格式yyyy-MM-dd)、结束日期(格式yyyy-MM-dd)、页码、页长,查询沪深京A股、B股的成交量相关技术指标,包括交易日期(格式yyyy-MM-dd HH:mm:ss)、股票代码、股票名称、简易成交量、成交量比率指标,可用于分析股票成交量的变化趋势和市场活跃度。",
11805
11805
  "content": {
11806
11806
  "application/json": {
11807
11807
  "schema": {
@@ -11886,7 +11886,7 @@
11886
11886
  },
11887
11887
  "volumeRatio": {
11888
11888
  "type": "number",
11889
- "description": "成交量摆荡指标",
11889
+ "description": "成交量比率指标",
11890
11890
  "example": 31.3606
11891
11891
  }
11892
11892
  }
@@ -53277,164 +53277,6 @@
53277
53277
  }
53278
53278
  ]
53279
53279
  },
53280
- "post": {
53281
- "tags": [
53282
- "全市场股票列表"
53283
- ],
53284
- "summary": "全市场股票列表",
53285
- "description": "获取全市场A股和B股股票的基本信息列表,包含股票代码、名称、所属交易所、上市板块、上市状态、上市日期、退市日期、股票类型、公司内部ID及公司成长阶段等核心数据,支持分页查询,适用于需要批量获取股票基础信息进行筛选、分析或构建股票池的场景。",
53286
- "operationId": "list_stock_all",
53287
- "requestBody": {
53288
- "description": "获取全市场A股和B股股票的基本信息列表,包含股票代码、名称、所属交易所、上市板块、上市状态、上市日期、退市日期、股票类型、公司内部ID及公司成长阶段等核心数据,支持分页查询,适用于需要批量获取股票基础信息进行筛选、分析或构建股票池的场景。",
53289
- "content": {
53290
- "application/json": {
53291
- "schema": {
53292
- "type": "object",
53293
- "properties": {
53294
- "pageNum": {
53295
- "type": "integer",
53296
- "format": "int32",
53297
- "description": "页码。\n最小值:1;",
53298
- "example": 1
53299
- },
53300
- "pageSize": {
53301
- "type": "integer",
53302
- "format": "int32",
53303
- "description": "页长。\n最小值:1;\n最大值:500;",
53304
- "example": 10
53305
- }
53306
- }
53307
- }
53308
- }
53309
- },
53310
- "required": true
53311
- },
53312
- "responses": {
53313
- "200": {
53314
- "description": "成功响应",
53315
- "content": {
53316
- "application/json": {
53317
- "schema": {
53318
- "type": "object",
53319
- "properties": {
53320
- "stockCode": {
53321
- "type": "string",
53322
- "description": "股票代码",
53323
- "example": "601881"
53324
- },
53325
- "exchangeCode": {
53326
- "type": "string",
53327
- "allOf": [
53328
- {
53329
- "type": "string",
53330
- "description": "SH代表上海;\nSZ代表深圳;\nBJ代表北京",
53331
- "enum": [
53332
- "SH",
53333
- "SZ",
53334
- "BJ"
53335
- ]
53336
- }
53337
- ],
53338
- "description": "市场类型",
53339
- "example": "SH"
53340
- },
53341
- "boardName": {
53342
- "type": "string",
53343
- "description": "上市板块",
53344
- "example": "主板"
53345
- },
53346
- "stockName": {
53347
- "type": "string",
53348
- "description": "股票名称",
53349
- "example": "中国银河"
53350
- },
53351
- "stockFullName": {
53352
- "type": "string",
53353
- "description": "证券全称",
53354
- "example": "中国银河证券股份有限公司"
53355
- },
53356
- "listStatus": {
53357
- "type": "integer",
53358
- "format": "int32",
53359
- "allOf": [
53360
- {
53361
- "type": "integer",
53362
- "format": "int32",
53363
- "description": "0代表发行待流通;\n1代表首次流通;\n2代表转换后流通;\n3代表暂停后恢复流通;\n4代表暂停流通;\n5代表终止流通(包括到期或被转换的自然终止情况);\n6代表特别处理;\n7代表撤销特别处理;\n8代表退市整理期;\n9代表其他",
53364
- "enum": [
53365
- 0,
53366
- 1,
53367
- 2,
53368
- 3,
53369
- 4,
53370
- 5,
53371
- 6,
53372
- 7,
53373
- 8,
53374
- 9
53375
- ]
53376
- }
53377
- ],
53378
- "description": "上市状态",
53379
- "example": 1
53380
- },
53381
- "listDate": {
53382
- "type": "string",
53383
- "description": "上市日期",
53384
- "example": "2017-01-23 00:00:00"
53385
- },
53386
- "delistDate": {
53387
- "type": "string",
53388
- "description": "摘牌日期",
53389
- "example": "2023-08-15"
53390
- },
53391
- "stockType": {
53392
- "type": "string",
53393
- "description": "股票类别",
53394
- "example": "A股"
53395
- },
53396
- "companyId": {
53397
- "type": "string",
53398
- "description": "机构内部ID",
53399
- "example": "BS123458"
53400
- },
53401
- "companyGrowthStage": {
53402
- "type": "integer",
53403
- "format": "int32",
53404
- "allOf": [
53405
- {
53406
- "type": "integer",
53407
- "format": "int32",
53408
- "description": "1代表初创期;\n2代表成长期;\n3代表成熟期;\n4代表衰退期/转型期",
53409
- "enum": [
53410
- 1,
53411
- 2,
53412
- 3,
53413
- 4
53414
- ]
53415
- }
53416
- ],
53417
- "description": "公司成长阶段",
53418
- "example": 1
53419
- }
53420
- }
53421
- }
53422
- }
53423
- }
53424
- },
53425
- "400": {
53426
- "description": "无效请求"
53427
- },
53428
- "500": {
53429
- "description": "服务器内部错误"
53430
- }
53431
- },
53432
- "security": [
53433
- {
53434
- "ApiKeyAuth": []
53435
- }
53436
- ]
53437
- },
53438
53280
  "x-apikey-supported": [
53439
53281
  "resource"
53440
53282
  ]
@@ -66032,6 +65874,150 @@
66032
65874
  "x-apikey-supported": [
66033
65875
  "resource"
66034
65876
  ]
65877
+ },
65878
+ "/stock/fin-indicators-profitab-ttm": {
65879
+ "post": {
65880
+ "tags": [
65881
+ "财务指标(ttm盈利能力)"
65882
+ ],
65883
+ "summary": "财务指标(ttm盈利能力)",
65884
+ "description": "获取沪深京股票单季度盈利能力财务指标,支持通过股票代码、代码列表及发布日期范围(yyyy-MM-dd)筛选,返回包含毛利率、净利率、ROE(摊薄/扣非)、ROA、ROIC及总资产报酬率等核心数据,适用于大模型进行企业单季度盈利表现分析与横向对比。",
65885
+ "operationId": "list_fin_ind_profit_ttm",
65886
+ "requestBody": {
65887
+ "description": "获取沪深京股票单季度盈利能力财务指标,支持通过股票代码、代码列表及发布日期范围(yyyy-MM-dd)筛选,返回包含毛利率、净利率、ROE(摊薄/扣非)、ROA、ROIC及总资产报酬率等核心数据,适用于大模型进行企业单季度盈利表现分析与横向对比。",
65888
+ "content": {
65889
+ "application/json": {
65890
+ "schema": {
65891
+ "type": "object",
65892
+ "properties": {
65893
+ "stockCode": {
65894
+ "type": "string",
65895
+ "description": "股票代码【与stockCodes组成多选一参数,必须且只能传递其中一个】",
65896
+ "example": "002594"
65897
+ },
65898
+ "stockCodes": {
65899
+ "type": "array",
65900
+ "description": "股票代码列表【与stockCode组成多选一参数,必须且只能传递其中一个】",
65901
+ "example": [
65902
+ "000001",
65903
+ "600519"
65904
+ ],
65905
+ "items": {
65906
+ "type": "string"
65907
+ }
65908
+ },
65909
+ "beginDate": {
65910
+ "type": "string",
65911
+ "description": "开始日期(格式yyyy-MM-dd)。\n最小值:2020-01-01;",
65912
+ "example": "2020-01-01"
65913
+ },
65914
+ "endDate": {
65915
+ "type": "string",
65916
+ "description": "结束日期(格式yyyy-MM-dd)",
65917
+ "example": "2025-01-01"
65918
+ },
65919
+ "pageNum": {
65920
+ "type": "integer",
65921
+ "format": "int32",
65922
+ "description": "页码。\n最小值:1;",
65923
+ "example": 1
65924
+ },
65925
+ "pageSize": {
65926
+ "type": "integer",
65927
+ "format": "int32",
65928
+ "description": "页长。\n最小值:1;\n最大值:500;",
65929
+ "example": 10
65930
+ }
65931
+ }
65932
+ }
65933
+ }
65934
+ },
65935
+ "required": true
65936
+ },
65937
+ "responses": {
65938
+ "200": {
65939
+ "description": "成功响应",
65940
+ "content": {
65941
+ "application/json": {
65942
+ "schema": {
65943
+ "type": "object",
65944
+ "properties": {
65945
+ "stockCode": {
65946
+ "type": "string",
65947
+ "description": "股票代码",
65948
+ "example": "000001"
65949
+ },
65950
+ "stockName": {
65951
+ "type": "string",
65952
+ "description": "股票名称",
65953
+ "example": "平安银行"
65954
+ },
65955
+ "publishDate": {
65956
+ "type": "string",
65957
+ "description": "披露日期",
65958
+ "example": "2023-08-25"
65959
+ },
65960
+ "reportPeriodEnd": {
65961
+ "type": "string",
65962
+ "description": "报告期截止日",
65963
+ "example": "2023-12-31"
65964
+ },
65965
+ "grossMargin": {
65966
+ "type": "number",
65967
+ "description": "毛利率(%)",
65968
+ "example": 0.356
65969
+ },
65970
+ "netMargin": {
65971
+ "type": "number",
65972
+ "description": "净利率(%)",
65973
+ "example": 0.156
65974
+ },
65975
+ "roeDiluted": {
65976
+ "type": "number",
65977
+ "description": "ROE(摊薄)",
65978
+ "example": 0.152
65979
+ },
65980
+ "roeDeductedDiluted": {
65981
+ "type": "number",
65982
+ "description": "ROE(扣非摊薄)",
65983
+ "example": 12.75
65984
+ },
65985
+ "roa": {
65986
+ "type": "number",
65987
+ "description": "ROA",
65988
+ "example": 0.156
65989
+ },
65990
+ "roic": {
65991
+ "type": "number",
65992
+ "description": "ROIC",
65993
+ "example": 0.154
65994
+ },
65995
+ "roaEbit": {
65996
+ "type": "number",
65997
+ "description": "总资产报酬率(EBIT/资产)",
65998
+ "example": 0.0632704647
65999
+ }
66000
+ }
66001
+ }
66002
+ }
66003
+ }
66004
+ },
66005
+ "400": {
66006
+ "description": "无效请求"
66007
+ },
66008
+ "500": {
66009
+ "description": "服务器内部错误"
66010
+ }
66011
+ },
66012
+ "security": [
66013
+ {
66014
+ "ApiKeyAuth": []
66015
+ }
66016
+ ]
66017
+ },
66018
+ "x-apikey-supported": [
66019
+ "resource"
66020
+ ]
66035
66021
  }
66036
66022
  },
66037
66023
  "components": {