@investoday/investoday-api 1.9.62 → 1.9.64

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
@@ -20299,6 +20299,18 @@
20299
20299
  "items": {
20300
20300
  "type": "string"
20301
20301
  }
20302
+ },
20303
+ "pageNum": {
20304
+ "type": "integer",
20305
+ "format": "int32",
20306
+ "description": "页码。\n最小值:1;",
20307
+ "example": 1
20308
+ },
20309
+ "pageSize": {
20310
+ "type": "integer",
20311
+ "format": "int32",
20312
+ "description": "页长。\n最小值:1;\n最大值:500;",
20313
+ "example": 10
20302
20314
  }
20303
20315
  }
20304
20316
  }
@@ -20405,6 +20417,24 @@
20405
20417
  ],
20406
20418
  "description": "基金投资组合持股明细信息来源",
20407
20419
  "example": 3
20420
+ },
20421
+ "pageNum": {
20422
+ "type": "integer",
20423
+ "format": "int32",
20424
+ "description": "page number",
20425
+ "example": 1
20426
+ },
20427
+ "pageSize": {
20428
+ "type": "integer",
20429
+ "format": "int32",
20430
+ "description": "page size",
20431
+ "example": 100
20432
+ },
20433
+ "totalCount": {
20434
+ "type": "integer",
20435
+ "format": "int32",
20436
+ "description": "total count",
20437
+ "example": 0
20408
20438
  }
20409
20439
  }
20410
20440
  }
@@ -20458,6 +20488,18 @@
20458
20488
  "items": {
20459
20489
  "type": "string"
20460
20490
  }
20491
+ },
20492
+ "pageNum": {
20493
+ "type": "integer",
20494
+ "format": "int32",
20495
+ "description": "页码。\n最小值:1;",
20496
+ "example": 1
20497
+ },
20498
+ "pageSize": {
20499
+ "type": "integer",
20500
+ "format": "int32",
20501
+ "description": "页长。\n最小值:1;\n最大值:500;",
20502
+ "example": 10
20461
20503
  }
20462
20504
  }
20463
20505
  }
@@ -20927,6 +20969,24 @@
20927
20969
  "type": "number",
20928
20970
  "description": "其他(包含二次穿透数值)",
20929
20971
  "example": 0.0035
20972
+ },
20973
+ "pageNum": {
20974
+ "type": "integer",
20975
+ "format": "int32",
20976
+ "description": "page number",
20977
+ "example": 1
20978
+ },
20979
+ "pageSize": {
20980
+ "type": "integer",
20981
+ "format": "int32",
20982
+ "description": "page size",
20983
+ "example": 100
20984
+ },
20985
+ "totalCount": {
20986
+ "type": "integer",
20987
+ "format": "int32",
20988
+ "description": "total count",
20989
+ "example": 0
20930
20990
  }
20931
20991
  }
20932
20992
  }
@@ -20980,6 +21040,18 @@
20980
21040
  "items": {
20981
21041
  "type": "string"
20982
21042
  }
21043
+ },
21044
+ "pageNum": {
21045
+ "type": "integer",
21046
+ "format": "int32",
21047
+ "description": "页码。\n最小值:1;",
21048
+ "example": 1
21049
+ },
21050
+ "pageSize": {
21051
+ "type": "integer",
21052
+ "format": "int32",
21053
+ "description": "页长。\n最小值:1;\n最大值:500;",
21054
+ "example": 10
20983
21055
  }
20984
21056
  }
20985
21057
  }
@@ -21067,6 +21139,24 @@
21067
21139
  "format": "int32",
21068
21140
  "description": "基金管理人代码",
21069
21141
  "example": 100001
21142
+ },
21143
+ "pageNum": {
21144
+ "type": "integer",
21145
+ "format": "int32",
21146
+ "description": "page number",
21147
+ "example": 1
21148
+ },
21149
+ "pageSize": {
21150
+ "type": "integer",
21151
+ "format": "int32",
21152
+ "description": "page size",
21153
+ "example": 100
21154
+ },
21155
+ "totalCount": {
21156
+ "type": "integer",
21157
+ "format": "int32",
21158
+ "description": "total count",
21159
+ "example": 0
21070
21160
  }
21071
21161
  }
21072
21162
  }
@@ -21120,6 +21210,18 @@
21120
21210
  "items": {
21121
21211
  "type": "string"
21122
21212
  }
21213
+ },
21214
+ "pageNum": {
21215
+ "type": "integer",
21216
+ "format": "int32",
21217
+ "description": "页码。\n最小值:1;",
21218
+ "example": 1
21219
+ },
21220
+ "pageSize": {
21221
+ "type": "integer",
21222
+ "format": "int32",
21223
+ "description": "页长。\n最小值:1;\n最大值:500;",
21224
+ "example": 10
21123
21225
  }
21124
21226
  }
21125
21227
  }
@@ -21206,6 +21308,24 @@
21206
21308
  "type": "string",
21207
21309
  "description": "债券简称",
21208
21310
  "example": "精研转债"
21311
+ },
21312
+ "pageNum": {
21313
+ "type": "integer",
21314
+ "format": "int32",
21315
+ "description": "page number",
21316
+ "example": 1
21317
+ },
21318
+ "pageSize": {
21319
+ "type": "integer",
21320
+ "format": "int32",
21321
+ "description": "page size",
21322
+ "example": 100
21323
+ },
21324
+ "totalCount": {
21325
+ "type": "integer",
21326
+ "format": "int32",
21327
+ "description": "total count",
21328
+ "example": 0
21209
21329
  }
21210
21330
  }
21211
21331
  }
@@ -63749,6 +63869,147 @@
63749
63869
  "x-apikey-supported": [
63750
63870
  "resource"
63751
63871
  ]
63872
+ },
63873
+ "/fund/etf-premium-rates": {
63874
+ "post": {
63875
+ "tags": [
63876
+ "场内基金溢价率"
63877
+ ],
63878
+ "summary": "场内基金溢价率",
63879
+ "description": "支持通过基金代码或代码列表及时间范围查询场内ETF的溢价率数据,返回包括基金代码、名称、日期、单位净值、收盘价及溢价率(百分比)等核心指标,帮助用户分析ETF的市场交易价格与净值偏离情况。",
63880
+ "operationId": "list_etf_premium_rates",
63881
+ "requestBody": {
63882
+ "description": "支持通过基金代码或代码列表及时间范围查询场内ETF的溢价率数据,返回包括基金代码、名称、日期、单位净值、收盘价及溢价率(百分比)等核心指标,帮助用户分析ETF的市场交易价格与净值偏离情况。",
63883
+ "content": {
63884
+ "application/json": {
63885
+ "schema": {
63886
+ "type": "object",
63887
+ "properties": {
63888
+ "fundCode": {
63889
+ "type": "string",
63890
+ "description": "基金代码【与fundCodes组成多选一参数,必须且只能传递其中一个】",
63891
+ "example": "000001"
63892
+ },
63893
+ "fundCodes": {
63894
+ "type": "array",
63895
+ "description": "基金代码列表【与fundCode组成多选一参数,必须且只能传递其中一个】",
63896
+ "example": [
63897
+ "000001",
63898
+ "000006"
63899
+ ],
63900
+ "items": {
63901
+ "type": "string"
63902
+ }
63903
+ },
63904
+ "beginDate": {
63905
+ "type": "string",
63906
+ "description": "开始日期(格式yyyy-MM-dd)",
63907
+ "example": "2025-01-01"
63908
+ },
63909
+ "endDate": {
63910
+ "type": "string",
63911
+ "description": "结束日期(格式yyyy-MM-dd)",
63912
+ "example": "2025-01-01"
63913
+ },
63914
+ "pageNum": {
63915
+ "type": "integer",
63916
+ "format": "int32",
63917
+ "description": "页码。\n最小值:1;",
63918
+ "example": 1
63919
+ },
63920
+ "pageSize": {
63921
+ "type": "integer",
63922
+ "format": "int32",
63923
+ "description": "页长。\n最小值:1;\n最大值:500;",
63924
+ "example": 10
63925
+ }
63926
+ }
63927
+ }
63928
+ }
63929
+ },
63930
+ "required": true
63931
+ },
63932
+ "responses": {
63933
+ "200": {
63934
+ "description": "成功响应",
63935
+ "content": {
63936
+ "application/json": {
63937
+ "schema": {
63938
+ "type": "object",
63939
+ "properties": {
63940
+ "fundId": {
63941
+ "type": "string",
63942
+ "description": "今日投资内部编码",
63943
+ "example": "510300"
63944
+ },
63945
+ "fundCode": {
63946
+ "type": "string",
63947
+ "description": "基金代码"
63948
+ },
63949
+ "fundName": {
63950
+ "type": "string",
63951
+ "description": "基金名称,优先使用交易所扩展简称,无则使用中文简称",
63952
+ "example": "沪深300ETF"
63953
+ },
63954
+ "date": {
63955
+ "type": "string",
63956
+ "description": "截止日期",
63957
+ "example": "2026-09-30 00:00:00"
63958
+ },
63959
+ "unitNav": {
63960
+ "type": "number",
63961
+ "description": "单位净值",
63962
+ "example": 1.2345
63963
+ },
63964
+ "closePrice": {
63965
+ "type": "number",
63966
+ "description": "收盘价",
63967
+ "example": 1.238
63968
+ },
63969
+ "premiumRate": {
63970
+ "type": "number",
63971
+ "description": "溢价率,单位:%",
63972
+ "example": 0.2834
63973
+ },
63974
+ "pageNum": {
63975
+ "type": "integer",
63976
+ "format": "int32",
63977
+ "description": "page number",
63978
+ "example": 1
63979
+ },
63980
+ "pageSize": {
63981
+ "type": "integer",
63982
+ "format": "int32",
63983
+ "description": "page size",
63984
+ "example": 100
63985
+ },
63986
+ "totalCount": {
63987
+ "type": "integer",
63988
+ "format": "int32",
63989
+ "description": "total count",
63990
+ "example": 0
63991
+ }
63992
+ }
63993
+ }
63994
+ }
63995
+ }
63996
+ },
63997
+ "400": {
63998
+ "description": "无效请求"
63999
+ },
64000
+ "500": {
64001
+ "description": "服务器内部错误"
64002
+ }
64003
+ },
64004
+ "security": [
64005
+ {
64006
+ "ApiKeyAuth": []
64007
+ }
64008
+ ]
64009
+ },
64010
+ "x-apikey-supported": [
64011
+ "resource"
64012
+ ]
63752
64013
  }
63753
64014
  },
63754
64015
  "components": {
package/data/tree.json CHANGED
@@ -5834,6 +5834,21 @@
5834
5834
  "apiAccessLevel": "L1",
5835
5835
  "apiVisibility": "external",
5836
5836
  "apiMethod": "POST"
5837
+ },
5838
+ {
5839
+ "apiId": 110710,
5840
+ "apiName": "场内基金溢价率",
5841
+ "apiType": "SQL",
5842
+ "apiStatus": "release",
5843
+ "groupId": 11132,
5844
+ "remarks": null,
5845
+ "toolName": "list_etf_premium_rates",
5846
+ "toolId": "list_etf_premium_rates",
5847
+ "apiPath": "fund/etf-premium-rates",
5848
+ "enabled": 1,
5849
+ "apiAccessLevel": "L1",
5850
+ "apiVisibility": "external",
5851
+ "apiMethod": "POST"
5837
5852
  }
5838
5853
  ]
5839
5854
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@investoday/investoday-api",
3
- "version": "1.9.62",
3
+ "version": "1.9.64",
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",