@investoday/investoday-api 1.9.44 → 1.9.45
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 +318 -2
- package/data/tree.json +15 -0
- package/package.json +1 -1
package/data/openapi.json
CHANGED
|
@@ -2593,6 +2593,322 @@
|
|
|
2593
2593
|
"resource"
|
|
2594
2594
|
]
|
|
2595
2595
|
},
|
|
2596
|
+
"/index/technical-indicators": {
|
|
2597
|
+
"get": {
|
|
2598
|
+
"tags": [
|
|
2599
|
+
"指数行情技术指标"
|
|
2600
|
+
],
|
|
2601
|
+
"summary": "指数行情技术指标",
|
|
2602
|
+
"description": "通过指数代码获取指定指数的技术指标数据,包括最新趋势、52周最高/最低点、不同时间维度的涨跌幅、市场热度、主力资金流向、夏普比率、年化波动率及收益率等核心指标,适用于市场分析和投资决策。",
|
|
2603
|
+
"operationId": "list_index_technical_indicators",
|
|
2604
|
+
"parameters": [
|
|
2605
|
+
{
|
|
2606
|
+
"name": "indexCode",
|
|
2607
|
+
"in": "query",
|
|
2608
|
+
"description": "指数代码",
|
|
2609
|
+
"required": true,
|
|
2610
|
+
"schema": {
|
|
2611
|
+
"type": "string",
|
|
2612
|
+
"example": "000001"
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
],
|
|
2616
|
+
"responses": {
|
|
2617
|
+
"200": {
|
|
2618
|
+
"description": "成功响应",
|
|
2619
|
+
"content": {
|
|
2620
|
+
"application/json": {
|
|
2621
|
+
"schema": {
|
|
2622
|
+
"type": "object",
|
|
2623
|
+
"properties": {
|
|
2624
|
+
"date": {
|
|
2625
|
+
"type": "string",
|
|
2626
|
+
"description": "发布日期",
|
|
2627
|
+
"example": "2025-09-18"
|
|
2628
|
+
},
|
|
2629
|
+
"indexCode": {
|
|
2630
|
+
"type": "string",
|
|
2631
|
+
"description": "指数代码",
|
|
2632
|
+
"example": "000001"
|
|
2633
|
+
},
|
|
2634
|
+
"indexName": {
|
|
2635
|
+
"type": "string",
|
|
2636
|
+
"description": "指数名称",
|
|
2637
|
+
"example": "上证指数"
|
|
2638
|
+
},
|
|
2639
|
+
"latestTrend": {
|
|
2640
|
+
"type": "string",
|
|
2641
|
+
"description": "最新趋势",
|
|
2642
|
+
"example": "上涨"
|
|
2643
|
+
},
|
|
2644
|
+
"high52Week": {
|
|
2645
|
+
"type": "number",
|
|
2646
|
+
"description": "52周最高",
|
|
2647
|
+
"example": 3500.25
|
|
2648
|
+
},
|
|
2649
|
+
"low52Week": {
|
|
2650
|
+
"type": "number",
|
|
2651
|
+
"description": "52周最低",
|
|
2652
|
+
"example": 2800.15
|
|
2653
|
+
},
|
|
2654
|
+
"weeklyReturn": {
|
|
2655
|
+
"type": "number",
|
|
2656
|
+
"description": "一周涨跌幅(%)",
|
|
2657
|
+
"example": 0.3974
|
|
2658
|
+
},
|
|
2659
|
+
"oneMRETURNPct": {
|
|
2660
|
+
"type": "number",
|
|
2661
|
+
"description": "一月涨跌幅(%)",
|
|
2662
|
+
"example": -0.3734
|
|
2663
|
+
},
|
|
2664
|
+
"threeMonthReturn": {
|
|
2665
|
+
"type": "number",
|
|
2666
|
+
"description": "三月涨跌幅(%)",
|
|
2667
|
+
"example": 2.5926
|
|
2668
|
+
},
|
|
2669
|
+
"halfYearReturn": {
|
|
2670
|
+
"type": "number",
|
|
2671
|
+
"description": "半年涨跌幅(%)",
|
|
2672
|
+
"example": -3.2036
|
|
2673
|
+
},
|
|
2674
|
+
"oneYearReturn": {
|
|
2675
|
+
"type": "number",
|
|
2676
|
+
"description": "一年涨跌幅(%)",
|
|
2677
|
+
"example": 5.5032
|
|
2678
|
+
},
|
|
2679
|
+
"marketWeather": {
|
|
2680
|
+
"type": "string",
|
|
2681
|
+
"description": "市场天气",
|
|
2682
|
+
"example": "晴"
|
|
2683
|
+
},
|
|
2684
|
+
"oneDayReturn": {
|
|
2685
|
+
"type": "number",
|
|
2686
|
+
"description": "一日涨跌幅(%)",
|
|
2687
|
+
"example": 0.8685
|
|
2688
|
+
},
|
|
2689
|
+
"peUndervaluedCriticalValue": {
|
|
2690
|
+
"type": "number",
|
|
2691
|
+
"description": "PE低估临界值",
|
|
2692
|
+
"example": 10
|
|
2693
|
+
},
|
|
2694
|
+
"peHighOvervaluedCriticalValue": {
|
|
2695
|
+
"type": "number",
|
|
2696
|
+
"description": "PE高估临界值",
|
|
2697
|
+
"example": 30
|
|
2698
|
+
},
|
|
2699
|
+
"pbLowCriticalValue": {
|
|
2700
|
+
"type": "number",
|
|
2701
|
+
"description": "PB低估临界值",
|
|
2702
|
+
"example": 1
|
|
2703
|
+
},
|
|
2704
|
+
"pbHighOvervaluedThreshold": {
|
|
2705
|
+
"type": "string",
|
|
2706
|
+
"description": "PB高估临界值",
|
|
2707
|
+
"example": "3.0"
|
|
2708
|
+
},
|
|
2709
|
+
"peValuationPercentile": {
|
|
2710
|
+
"type": "number",
|
|
2711
|
+
"description": "PE估值百分位",
|
|
2712
|
+
"example": 80
|
|
2713
|
+
},
|
|
2714
|
+
"pbValuationPercentile": {
|
|
2715
|
+
"type": "number",
|
|
2716
|
+
"description": "PB估值百分位",
|
|
2717
|
+
"example": 65
|
|
2718
|
+
},
|
|
2719
|
+
"applicableValuationIndex": {
|
|
2720
|
+
"type": "integer",
|
|
2721
|
+
"format": "int32",
|
|
2722
|
+
"description": "适用估值指标(只适用ETF基准指数)",
|
|
2723
|
+
"example": 1
|
|
2724
|
+
},
|
|
2725
|
+
"marketHeat": {
|
|
2726
|
+
"type": "number",
|
|
2727
|
+
"description": "市场热度",
|
|
2728
|
+
"example": 0.72
|
|
2729
|
+
},
|
|
2730
|
+
"return3Y": {
|
|
2731
|
+
"type": "number",
|
|
2732
|
+
"description": "三年涨跌幅(%)",
|
|
2733
|
+
"example": 29.2451
|
|
2734
|
+
},
|
|
2735
|
+
"ytdReturn": {
|
|
2736
|
+
"type": "number",
|
|
2737
|
+
"description": "今年以来涨跌幅(%)",
|
|
2738
|
+
"example": 6.233
|
|
2739
|
+
},
|
|
2740
|
+
"last20DaysMainInflowPer10KUnits": {
|
|
2741
|
+
"type": "number",
|
|
2742
|
+
"description": "近20日主力流入(万元)",
|
|
2743
|
+
"example": 52000
|
|
2744
|
+
},
|
|
2745
|
+
"last20DaysMainOutflowPer10KUnits": {
|
|
2746
|
+
"type": "number",
|
|
2747
|
+
"description": "近20日主力流出(万元)",
|
|
2748
|
+
"example": 48000
|
|
2749
|
+
},
|
|
2750
|
+
"last20DaysMainNetFlowPer10KUnits": {
|
|
2751
|
+
"type": "number",
|
|
2752
|
+
"description": "近20日主力净流(万元)",
|
|
2753
|
+
"example": 4000
|
|
2754
|
+
},
|
|
2755
|
+
"last10DaysMainInflowPer10KUnits": {
|
|
2756
|
+
"type": "number",
|
|
2757
|
+
"description": "近10日主力流入(万元)",
|
|
2758
|
+
"example": 31000
|
|
2759
|
+
},
|
|
2760
|
+
"last10DaysMainOutflowPer10KUnits": {
|
|
2761
|
+
"type": "number",
|
|
2762
|
+
"description": "近10日主力流出(万元)",
|
|
2763
|
+
"example": 29500
|
|
2764
|
+
},
|
|
2765
|
+
"latest10DaysMainNetFlowPer10KUnits": {
|
|
2766
|
+
"type": "string",
|
|
2767
|
+
"description": "近10日主力净流(万元)",
|
|
2768
|
+
"example": "1500.0"
|
|
2769
|
+
},
|
|
2770
|
+
"last5DaysMainInflowPer10KUnits": {
|
|
2771
|
+
"type": "number",
|
|
2772
|
+
"description": "近5日主力流入(万元)",
|
|
2773
|
+
"example": 18000
|
|
2774
|
+
},
|
|
2775
|
+
"last5DaysMainOutflowPer10KUnits": {
|
|
2776
|
+
"type": "number",
|
|
2777
|
+
"description": "近5日主力流出(万元)",
|
|
2778
|
+
"example": 17500
|
|
2779
|
+
},
|
|
2780
|
+
"last5DaysMainNetFlowIn10k": {
|
|
2781
|
+
"type": "number",
|
|
2782
|
+
"description": "近5日主力净流(万元)",
|
|
2783
|
+
"example": 500
|
|
2784
|
+
},
|
|
2785
|
+
"last3DaysMainInflowPer10KUnits": {
|
|
2786
|
+
"type": "number",
|
|
2787
|
+
"description": "近3日主力流入(万元)",
|
|
2788
|
+
"example": 9500
|
|
2789
|
+
},
|
|
2790
|
+
"last3DaysMainOutflowPer10KUnits": {
|
|
2791
|
+
"type": "number",
|
|
2792
|
+
"description": "近3日主力流出(万元)",
|
|
2793
|
+
"example": 9000
|
|
2794
|
+
},
|
|
2795
|
+
"last3DaysMainNetFlowIn10K": {
|
|
2796
|
+
"type": "number",
|
|
2797
|
+
"description": "近3日主力净流(万元)",
|
|
2798
|
+
"example": 500
|
|
2799
|
+
},
|
|
2800
|
+
"rct1DayMainInflowPer10KUnits": {
|
|
2801
|
+
"type": "number",
|
|
2802
|
+
"description": "近1日主力流入(万元)",
|
|
2803
|
+
"example": 4000
|
|
2804
|
+
},
|
|
2805
|
+
"latest1DayMainOutflowPer10KUnits": {
|
|
2806
|
+
"type": "number",
|
|
2807
|
+
"description": "近1日主力流出(万元)",
|
|
2808
|
+
"example": 3800
|
|
2809
|
+
},
|
|
2810
|
+
"last1DayMainNetFlowIn10kYuan": {
|
|
2811
|
+
"type": "number",
|
|
2812
|
+
"description": "近1日主力净流(万元)",
|
|
2813
|
+
"example": 200
|
|
2814
|
+
},
|
|
2815
|
+
"sharpeRatio3Y": {
|
|
2816
|
+
"type": "number",
|
|
2817
|
+
"description": "近3年夏普比率",
|
|
2818
|
+
"example": 0.85
|
|
2819
|
+
},
|
|
2820
|
+
"last3YAnnualVolatility": {
|
|
2821
|
+
"type": "number",
|
|
2822
|
+
"description": "近3年年化波动率",
|
|
2823
|
+
"example": 18.25
|
|
2824
|
+
},
|
|
2825
|
+
"last3YAnnualizedYield": {
|
|
2826
|
+
"type": "number",
|
|
2827
|
+
"description": "近3年年化收益率",
|
|
2828
|
+
"example": 7.1
|
|
2829
|
+
},
|
|
2830
|
+
"sharpeRatio1Y": {
|
|
2831
|
+
"type": "number",
|
|
2832
|
+
"description": "近1年夏普比率",
|
|
2833
|
+
"example": 0.72
|
|
2834
|
+
},
|
|
2835
|
+
"annualVolatility1Y": {
|
|
2836
|
+
"type": "number",
|
|
2837
|
+
"description": "近1年年化波动率",
|
|
2838
|
+
"example": 16.4
|
|
2839
|
+
},
|
|
2840
|
+
"latest1YAnnualYield": {
|
|
2841
|
+
"type": "number",
|
|
2842
|
+
"description": "近1年年化收益率",
|
|
2843
|
+
"example": 5.8
|
|
2844
|
+
},
|
|
2845
|
+
"sharpeRatio6M": {
|
|
2846
|
+
"type": "number",
|
|
2847
|
+
"description": "近6月夏普比率",
|
|
2848
|
+
"example": 0.6
|
|
2849
|
+
},
|
|
2850
|
+
"last6MAnnualVolatility": {
|
|
2851
|
+
"type": "number",
|
|
2852
|
+
"description": "近6月年化波动率",
|
|
2853
|
+
"example": 14.2
|
|
2854
|
+
},
|
|
2855
|
+
"latest6MAnnualizedYield": {
|
|
2856
|
+
"type": "string",
|
|
2857
|
+
"description": "近6月年化收益率",
|
|
2858
|
+
"example": "4.52"
|
|
2859
|
+
},
|
|
2860
|
+
"sharpeRatio3M": {
|
|
2861
|
+
"type": "number",
|
|
2862
|
+
"description": "近3月夏普比率",
|
|
2863
|
+
"example": 0.48
|
|
2864
|
+
},
|
|
2865
|
+
"last3MAnnualVolatility": {
|
|
2866
|
+
"type": "number",
|
|
2867
|
+
"description": "近3月年化波动率",
|
|
2868
|
+
"example": 12.05
|
|
2869
|
+
},
|
|
2870
|
+
"latest3MAnnualYield": {
|
|
2871
|
+
"type": "number",
|
|
2872
|
+
"description": "近3月年化收益率",
|
|
2873
|
+
"example": 3.2
|
|
2874
|
+
},
|
|
2875
|
+
"sharpeRatio1M": {
|
|
2876
|
+
"type": "number",
|
|
2877
|
+
"description": "近1月夏普比率",
|
|
2878
|
+
"example": 0.35
|
|
2879
|
+
},
|
|
2880
|
+
"latest1MAnnualVolatility": {
|
|
2881
|
+
"type": "number",
|
|
2882
|
+
"description": "近1月年化波动率",
|
|
2883
|
+
"example": 10.1
|
|
2884
|
+
},
|
|
2885
|
+
"recent1MAnnualizedYield": {
|
|
2886
|
+
"type": "number",
|
|
2887
|
+
"description": "近1月年化收益率",
|
|
2888
|
+
"example": 2.1
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
"400": {
|
|
2896
|
+
"description": "无效请求"
|
|
2897
|
+
},
|
|
2898
|
+
"500": {
|
|
2899
|
+
"description": "服务器内部错误"
|
|
2900
|
+
}
|
|
2901
|
+
},
|
|
2902
|
+
"security": [
|
|
2903
|
+
{
|
|
2904
|
+
"ApiKeyAuth": []
|
|
2905
|
+
}
|
|
2906
|
+
]
|
|
2907
|
+
},
|
|
2908
|
+
"x-apikey-supported": [
|
|
2909
|
+
"resource"
|
|
2910
|
+
]
|
|
2911
|
+
},
|
|
2596
2912
|
"/research/sentiment": {
|
|
2597
2913
|
"post": {
|
|
2598
2914
|
"tags": [
|
|
@@ -58349,12 +58665,12 @@
|
|
|
58349
58665
|
"properties": {
|
|
58350
58666
|
"cbCode": {
|
|
58351
58667
|
"type": "string",
|
|
58352
|
-
"description": "
|
|
58668
|
+
"description": "可转债代码",
|
|
58353
58669
|
"example": "110059"
|
|
58354
58670
|
},
|
|
58355
58671
|
"cbCodes": {
|
|
58356
58672
|
"type": "array",
|
|
58357
|
-
"description": "
|
|
58673
|
+
"description": "可转债代码列表",
|
|
58358
58674
|
"example": [
|
|
58359
58675
|
"110059",
|
|
58360
58676
|
"113052"
|
package/data/tree.json
CHANGED
|
@@ -3084,6 +3084,21 @@
|
|
|
3084
3084
|
"isShow": 1,
|
|
3085
3085
|
"children": [],
|
|
3086
3086
|
"apis": [
|
|
3087
|
+
{
|
|
3088
|
+
"apiId": 10150,
|
|
3089
|
+
"apiName": "指数行情技术指标",
|
|
3090
|
+
"apiType": "SQL",
|
|
3091
|
+
"apiStatus": "release",
|
|
3092
|
+
"groupId": 1045,
|
|
3093
|
+
"remarks": null,
|
|
3094
|
+
"toolName": "list_index_technical_indicators",
|
|
3095
|
+
"toolId": "list_index_technical_indicators",
|
|
3096
|
+
"apiPath": "index/technical-indicators",
|
|
3097
|
+
"enabled": 1,
|
|
3098
|
+
"apiAccessLevel": "L2",
|
|
3099
|
+
"apiVisibility": "external",
|
|
3100
|
+
"apiMethod": "GET"
|
|
3101
|
+
},
|
|
3087
3102
|
{
|
|
3088
3103
|
"apiId": 110507,
|
|
3089
3104
|
"apiName": "指数估值信息",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@investoday/investoday-api",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.45",
|
|
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",
|