InvestGPT | Stock Investment & Trading | 美港股投资助手
InvestGPT | Stock Investment & Trading | 美港股投资助手 · GPT Actions
gpt_manual_json_operations
Service to execute manual JSON operations with specified parameters.
POST /Why_is_it_movingSearch for the reason why a stock's price soar or plunge.POST /Stock_Quote_LatestRetrieve real-time market indicators for a company. Use this for numerical data queries only. For analysis, use Stock_Analysis instead.POST /Customer_Service_InfoSearch for Various Q&A related to Tiger Brokers Customer Service and App operations...POST /Stock_Quote_HistoryRetrieve historical stock quote dataPOST /Brand_InfoSearch for the introduction of Tiger Brokers and its platform Tiger Trade...POST /Earnings_DataCompany's financial report data...POST /Economic_DataSearch macroeconomic dataPOST /Stock_ScreenerSelect stocks based on various indicators.POST /News_ViewpointsSearch for news and articles about stocks, events and market.POST /Stock_AnalysisStock's valuation, trend analysis, target price, capital flow and other indicators for investment decisions.POST /Company_ProfileBasic company information, including staff members, contact info, dividend info, shareholder's information, etc.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "gpt_manual_json_operations",
"description": "Service to execute manual JSON operations with specified parameters.",
"version": "v1.0"
},
"servers": [
{
"url": "https://community-service.tradeup.com/v1/gpt/functions"
}
],
"components": {
"schemas": {
"StandardResponse": {
"description": "Standard Response for API calls",
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Data related to the request."
},
"error": {
"type": "string",
"description": "Error message detailing the bad request, if any."
}
}
}
}
},
"paths": {
"/Why_is_it_moving": {
"post": {
"operationId": "Why_is_it_moving",
"x-openai-isConsequential": false,
"summary": "Search for the reason why a stock's price soar or plunge.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"stock",
"time",
"question"
],
"properties": {
"stock": {
"type": "string",
"description": "please enter the company's name that exist in the query, do not change the name and split by comma for multi companies."
},
"time": {
"type": "string",
"description": "Please enter the date or date range that exists in the query. Return in format of yyyy-mm-dd for a single date, yyyy-mm-dd~yyyy-mm-dd for date range and split by commas for multi date range."
},
"question": {
"type": "string",
"description": "User question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Stock_Quote_Latest": {
"post": {
"operationId": "Stock_Quote_Latest",
"x-openai-isConsequential": false,
"summary": "Retrieve real-time market indicators for a company. Use this for numerical data queries only. For analysis, use Stock_Analysis instead.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"stock",
"type",
"question"
],
"properties": {
"stock": {
"type": "string",
"description": "Company name(s) as mentioned in the query, do not modify names, separate multiple companies with commas."
},
"type": {
"type": "string",
"enum": [
"QUOTE_DATA",
"OPTION_DATA",
"TRADING_STATUS",
"CAPITAL_DATA"
],
"description": "Data type: QUOTE_DATA (real-time price/volume), OPTION_DATA (options chain), TRADING_STATUS (halt/resume events), CAPITAL_DATA (institutional flows)"
},
"question": {
"type": "string",
"description": "Original user question for context"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Customer_Service_Info": {
"post": {
"operationId": "Customer_Service_Info",
"x-openai-isConsequential": false,
"summary": "Search for Various Q&A related to Tiger Brokers Customer Service and App operations...",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"query",
"question"
],
"properties": {
"query": {
"type": "string",
"description": "Specific service-related query (e.g. 'How to reset password?')"
},
"question": {
"type": "string",
"description": "Original user question for context"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Stock_Quote_History": {
"post": {
"operationId": "Stock_Quote_History",
"x-openai-isConsequential": false,
"summary": "Retrieve historical stock quote data",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"stock",
"time",
"question"
],
"properties": {
"stock": {
"type": "string",
"description": "Company name(s) as mentioned in query"
},
"time": {
"type": "string",
"description": "Date range in format yyyy-mm-dd~yyyy-mm-dd"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Brand_Info": {
"post": {
"operationId": "Brand_Info",
"x-openai-isConsequential": false,
"summary": "Search for the introduction of Tiger Brokers and its platform Tiger Trade...",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"query",
"question"
],
"properties": {
"query": {
"type": "string",
"description": "Search query about Tiger Brokers/Tiger Trade profiles"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Earnings_Data": {
"post": {
"operationId": "Earnings_Data",
"x-openai-isConsequential": false,
"summary": "Company's financial report data...",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"earningsPeriod",
"type",
"stock",
"question"
],
"properties": {
"earningsPeriod": {
"type": "string",
"description": "Earnings period in yyyyQx/yyyyFY format"
},
"type": {
"type": "string",
"enum": [
"Reported Result",
"Estimate Data",
"Earnings Date"
],
"description": "Type of earnings data"
},
"stock": {
"type": "string",
"description": "Company name(s)"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Economic_Data": {
"post": {
"operationId": "Economic_Data",
"x-openai-isConsequential": false,
"summary": "Search macroeconomic data",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"country",
"time",
"question"
],
"properties": {
"country": {
"type": "string",
"enum": [
"CN",
"US",
"AU",
"NZ",
"SG",
"EUR",
"UK",
"FR",
"ALL"
],
"description": "Country/region code"
},
"time": {
"type": "string",
"description": "Date range in yyyy-mm-dd~yyyy-mm-dd format"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Stock_Screener": {
"post": {
"operationId": "Stock_Screener",
"x-openai-isConsequential": false,
"summary": "Select stocks based on various indicators.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"query",
"question"
],
"properties": {
"query": {
"type": "string",
"description": "Stock screening criteria (e.g. 'PE ratio < 20 AND sector=Technology')"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/News_Viewpoints": {
"post": {
"operationId": "News_Viewpoints",
"x-openai-isConsequential": false,
"summary": "Search for news and articles about stocks, events and market.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"question"
],
"properties": {
"sentiment": {
"type": "string",
"enum": [
"Bullish",
"Bearish",
"Neutral"
],
"description": "Sentiment filter for news"
},
"keywords": {
"type": "string",
"description": "Comma-separated search terms"
},
"time": {
"type": "string",
"description": "Date range in yyyy-mm-dd~yyyy-mm-dd format"
},
"stock": {
"type": "string",
"description": "Company name(s)"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Stock_Analysis": {
"post": {
"operationId": "Stock_Analysis",
"x-openai-isConsequential": false,
"summary": "Stock's valuation, trend analysis, target price, capital flow and other indicators for investment decisions.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"stock",
"question"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Stock Overview",
"Valuation Analysis",
"Trend Analysis",
"Investment Advice",
"Stock Comparison",
"Target Price Forecast"
],
"description": "Analysis category"
},
"stock": {
"type": "string",
"description": "Company name for analysis"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
},
"/Company_Profile": {
"post": {
"operationId": "Company_Profile",
"x-openai-isConsequential": false,
"summary": "Basic company information, including staff members, contact info, dividend info, shareholder's information, etc.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"stock",
"question"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Basic Info",
"Manager&Shareholder Info",
"Business Info",
"Dividend Info"
],
"description": "Information category"
},
"stock": {
"type": "string",
"description": "Company name"
},
"question": {
"type": "string",
"description": "Original user question"
}
}
}
}
}
},
"responses": {
"200": {
"$ref": "#/components/responses/StandardResponse"
},
"400": {
"$ref": "#/components/responses/StandardResponse"
}
}
}
}
}
}个股行情交易财务数据prod
股票标的的行情、交易盘面、基本面财务、分析类相关数据
GET /api/analysis/valuation-channel基于市盈率(PE)、市销率(PS)和市净率(PB)指标,提供个股估值区间及通道分析GET /discovery/api/v1/profiler/fundamental综合评估企业基本面,涵盖盈利、成长、运营、偿债及现金流能力评估打分GET /discovery/api/v1/profiler/technical总结个股技术面表现,涵盖短期及中长期趋势、关键支撑位和压力位,以及K线形态分析(多头与空头信号)GET /fundamental/api/corporate_action/earning/all查询某个上市公司财报发布日期GET /fundamental/api/earnings/detail个股财务报表详细数据,包括利润表、资产负债表、现金流量表、各类财务比例数据(用于财务分析)GET /fundamental/api/earnings/sankey个股财务报表收支结构,生成桑基图所需的流向数据,展示资金流入流出关系GET /fundamental/finance/estimate/detail获取指定个股的完整财务报表预测数据,包括收入、利润、资产负债等详细指标GET /fundamental/finance/estimate/latest最新一期财报总收入、每股收益的预测值和实际值(预测值一定有,实际值是否取决于财报发布)GET /fundamental/publicity/earnings/{symbol}财务三张表汇总GET /stock_info/cyq/{symbol}获取股票持仓筹码分布,包含关键压力位和支撑位GET /stock_info/fund_related/{symbol}查询股票标的的资金流动情况,包括资金流入流出、主力资金动向等资金面数据分析GET /stock_info/main_fund_deal/{symbol}获取个股主力资金大单交易数据,分析主力买卖动向与资金流向情况。GET /stock_info/short_interest/{symbol}查询特定股票的做空数据,包括做空量、比例及相关市场信息。GET /value_analysis/stock/{symbol}进行估值分析,基于市盈率(PE TTM)、市销率(PS TTM)和市净率(PB)等指标评估股票价值
原始 API 定义
{
"info": {
"description": "股票标的的行情、交易盘面、基本面财务、分析类相关数据",
"title": "个股行情交易财务数据prod",
"version": "v1"
},
"openapi": "3.1.1",
"paths": {
"/api/analysis/valuation-channel": {
"get": {
"operationId": "valuation_channel",
"parameters": [
{
"description": "股票代码,例如NVDA, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "指标枚举值:peRate,pbRate,psRate",
"in": "query",
"name": "factor",
"required": true,
"schema": {
"default": "peRate",
"type": "string"
}
},
{
"description": "周期枚举值:1year,3year,5year,10year",
"in": "query",
"name": "period",
"required": true,
"schema": {
"default": "1year",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"brief": {
"properties": {
"isValid": {
"type": "boolean"
},
"low": {
"type": "number"
},
"lowAdjacent": {
"type": "number"
},
"middle": {
"type": "number"
},
"upper": {
"type": "number"
},
"upperAdjacent": {
"type": "number"
}
},
"type": "object"
},
"quantilePoints": {
"items": {
"properties": {
"close": {
"type": "number"
},
"date": {
"type": "number"
},
"lowAdjacentRail": {
"type": "number"
},
"lowRail": {
"type": "number"
},
"middleRail": {
"type": "number"
},
"upperAdjacentRail": {
"type": "number"
},
"upperRail": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"updateTime": {
"type": "number"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "基于市盈率(PE)、市销率(PS)和市净率(PB)指标,提供个股估值区间及通道分析"
}
},
"/discovery/api/v1/profiler/fundamental": {
"get": {
"operationId": "fundamental_analysis",
"parameters": [
{
"description": "股票代码,例如NVDA, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "市场枚举值:US, HK",
"in": "query",
"name": "market",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"code": {
"description": "new param",
"type": "number"
},
"data": {
"description": "new param",
"properties": {
"capabilities": {
"description": "new param",
"items": {
"properties": {
"evaluation": {
"type": "string"
},
"name": {
"type": "string"
},
"percentile": {
"type": "number"
},
"prePercentile": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"capabilityDetails": {
"description": "new param",
"items": {
"properties": {
"dates": {
"items": {
"type": "number"
},
"type": "array"
},
"evaluation": {
"type": "string"
},
"indicatorInfos": {
"items": {
"properties": {
"currentValue": {
"type": "string"
},
"evaluation": {
"type": "string"
},
"name": {
"type": "string"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"title": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"industryRank": {
"description": "new param",
"type": "number"
},
"industryTotal": {
"description": "new param",
"type": "number"
},
"leadingRatio": {
"description": "new param",
"type": "number"
},
"periodEndDate": {
"description": "new param",
"type": "number"
}
},
"type": "object"
},
"message": {
"description": "new param",
"type": "string"
},
"serverTime": {
"description": "new param",
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "综合评估企业基本面,涵盖盈利、成长、运营、偿债及现金流能力评估打分"
}
},
"/discovery/api/v1/profiler/technical": {
"get": {
"operationId": "technical_analysis",
"parameters": [
{
"description": "股票代码,例如NVDA, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "市场枚举值:US, HK",
"in": "query",
"name": "market",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"code": {
"type": "number"
},
"data": {
"properties": {
"classical": {
"properties": {
"formList": {
"items": {
"properties": {
"count": {
"type": "number"
},
"direction": {
"type": "number"
},
"metrics": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"longCount": {
"type": "number"
},
"shortCount": {
"type": "number"
}
},
"type": "object"
},
"rs": {
"properties": {
"resistancePrice": {
"type": "string"
},
"supportPrice": {
"type": "number"
}
},
"type": "object"
},
"trend": {
"properties": {
"mediumTrend": {
"type": "string"
},
"shortTrend": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"message": {
"type": "string"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "总结个股技术面表现,涵盖短期及中长期趋势、关键支撑位和压力位,以及K线形态分析(多头与空头信号)"
}
},
"/fundamental/api/corporate_action/earning/all": {
"get": {
"operationId": "earnings_calendar",
"parameters": [
{
"description": "股票代码,如 AAPL, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"earnings": {
"items": {
"properties": {
"calendarQuarter": {
"type": "number"
},
"calendarYear": {
"type": "number"
},
"executeDate": {
"type": "string"
},
"executeDateTime": {
"type": "number"
},
"executeDateType": {
"type": "string"
},
"financeQuarter": {
"type": "number"
},
"financeYear": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "查询某个上市公司财报发布日期"
}
},
"/fundamental/api/earnings/detail": {
"get": {
"operationId": "financial_earnings_detail",
"parameters": [
{
"description": "财报类型,可选值:income, balance, cash, ratios. 对应说明:income(利润表),balance(资产负债表),cash(现金流量表),ratios(财务比率)",
"in": "query",
"name": "tableType",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "股票代码,如 NVDA, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "报告期,格式示例:2025/FY(2025财年)、2025/Q1(2025年第一季度)、2025/H1(2025年上半年)",
"in": "query",
"name": "period",
"schema": {
"type": "string"
}
},
{
"description": "报告期类型,可选值:SEMIANNUAL(半年度)、QUARTERLY(季度)、ANNUAL(年度)、 YTD(年初至今)",
"in": "query",
"name": "periodType",
"schema": {
"type": "string"
}
},
{
"description": "返回最新一期财报数据,latest =true 优先级比 period高",
"in": "query",
"name": "latest",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"currency": {
"type": "string"
},
"header": {
"items": {
"properties": {
"column": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"report": {
"properties": {
"calendarPeriodFormat": {
"type": "string"
},
"cell": {
"items": {
"properties": {
"column": {
"type": "boolean"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"currency": {
"type": "string"
},
"currencyValue": {
"type": "string"
},
"date": {
"type": "string"
},
"filingDate": {
"type": "string"
},
"formatDate": {
"type": "string"
},
"periodFormat": {
"type": "string"
},
"periodType": {
"type": "string"
},
"quarter": {
"type": "number"
},
"startDate": {
"type": "string"
},
"type": {
"type": "string"
},
"typeName": {
"type": "string"
},
"year": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "个股财务报表详细数据,包括利润表、资产负债表、现金流量表、各类财务比例数据(用于财务分析)"
}
},
"/fundamental/api/earnings/sankey": {
"get": {
"operationId": "earnings_sank",
"parameters": [
{
"description": "股票代码,例如NVDA, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "枚举值:quarterly, annual",
"in": "query",
"name": "type",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "返回财报期数,也就是几次季报或年报",
"in": "query",
"name": "limit",
"schema": {
"default": 4,
"type": "integer"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"description": "new param",
"properties": {
"earnings": {
"description": "new param",
"properties": {
"indicators": {
"description": "new param",
"items": {
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"periods": {
"description": "new param",
"items": {
"properties": {
"links": {
"items": {
"properties": {
"percentage": {
"type": "number"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
},
"value": {
"type": "number"
},
"yoy": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"nodes": {
"items": {
"properties": {
"id": {
"type": "string"
},
"indicatorType": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"period": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"description": "new param",
"type": "string"
}
},
"type": "object"
},
"types": {
"description": "new param",
"items": {
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ret": {
"description": "new param",
"type": "number"
},
"serverTime": {
"description": "new param",
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "个股财务报表收支结构,生成桑基图所需的流向数据,展示资金流入流出关系"
}
},
"/fundamental/finance/estimate/detail": {
"get": {
"operationId": "earnings_estimate",
"parameters": [
{
"description": "指标名称列表:EPS, Revenue, EBIT",
"in": "query",
"name": "indicatorList",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "stock symbol (e.g., 00700, AAPL, NVDA)",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "市场,枚举值: US、UK、HK、SI、AU、NZ",
"in": "query",
"name": "market",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "周期枚举值:annual, quarterly",
"in": "query",
"name": "period",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"description": "new param",
"properties": {
"EBIT": {
"description": "new param",
"items": {
"properties": {
"actual": {
"type": "number"
},
"actualDate": {
"type": "number"
},
"actualYoyGrowth": {
"type": "number"
},
"analyst": {
"type": "number"
},
"date": {
"type": "number"
},
"estimate": {
"type": "number"
},
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"quarter": {
"type": "number"
},
"surprise": {
"type": "number"
},
"surpriseGrowth": {
"type": "number"
},
"year": {
"type": "number"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"msg": {
"description": "new param",
"type": "string"
},
"ret": {
"description": "new param",
"type": "number"
},
"serverTime": {
"description": "new param",
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "获取指定个股的完整财务报表预测数据,包括收入、利润、资产负债等详细指标"
}
},
"/fundamental/finance/estimate/latest": {
"get": {
"operationId": "earnings_summary_latest",
"parameters": [
{
"description": "股票代码,如 AAPL, 00700",
"in": "query",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "市场,如 US, HK, SG",
"in": "query",
"name": "market",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"actualDate": {
"type": "number"
},
"currency": {
"type": "string"
},
"indicators": {
"properties": {
"EBIT": {
"properties": {
"actual": {
"type": "string"
},
"actualYoyGrowth": {
"type": "string"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "string"
},
"surpriseGrowth": {
"type": "string"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
},
"EPS": {
"properties": {
"actual": {
"type": "string"
},
"actualYoyGrowth": {
"type": "string"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "string"
},
"surpriseGrowth": {
"type": "string"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
},
"Revenue": {
"properties": {
"actual": {
"type": "string"
},
"actualYoyGrowth": {
"type": "string"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "string"
},
"surpriseGrowth": {
"type": "string"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"periodType": {
"type": "string"
},
"prevIndicators": {
"properties": {
"EBIT": {
"properties": {
"actual": {
"type": "number"
},
"actualYoyGrowth": {
"type": "number"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "number"
},
"surpriseGrowth": {
"type": "number"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
},
"EPS": {
"properties": {
"actual": {
"type": "number"
},
"actualYoyGrowth": {
"type": "number"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "number"
},
"surpriseGrowth": {
"type": "number"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
},
"Revenue": {
"properties": {
"actual": {
"type": "number"
},
"actualYoyGrowth": {
"type": "number"
},
"estimate": {
"type": "number"
},
"estimateYoyGrowth": {
"type": "number"
},
"surprise": {
"type": "number"
},
"surpriseGrowth": {
"type": "number"
},
"yoyGrowth": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"prevQuarter": {
"type": "number"
},
"prevYear": {
"type": "number"
},
"quarter": {
"type": "number"
},
"state": {
"type": "string"
},
"stateId": {
"type": "number"
},
"year": {
"type": "number"
}
},
"type": "object"
},
"msg": {
"type": "string"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "最新一期财报总收入、每股收益的预测值和实际值(预测值一定有,实际值是否取决于财报发布)"
}
},
"/fundamental/publicity/earnings/{symbol}": {
"get": {
"operationId": "fundamental_financial_summary",
"parameters": [
{
"description": "股票代码,例如 02685",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "周期",
"in": "query",
"name": "period",
"required": true,
"schema": {
"default": "annual",
"type": "string"
}
},
{
"description": "App 版本",
"in": "query",
"name": "appVer",
"required": true,
"schema": {
"default": "9.4.3",
"type": "string"
}
},
{
"description": "市场",
"in": "query",
"name": "market",
"required": true,
"schema": {
"default": "HK",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"earnings": {
"properties": {
"balance": {
"properties": {
"accumulated": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"annual": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"cash": {
"properties": {
"accumulated": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"annual": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"quarter": {
"properties": {
"other": {
"type": "number"
}
},
"type": "object"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"income": {
"properties": {
"accumulated": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"annual": {
"items": {
"properties": {
"data": {
"items": {
"properties": {
"date": {
"type": "string"
},
"quarter": {
"properties": {
"other": {
"type": "number"
}
},
"type": "object"
},
"rates": {
"items": {
"type": "string"
},
"type": "array"
},
"values": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"titles": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"earningsCalendar": {
"type": "string"
},
"latestPeriod": {
"type": "string"
},
"market": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"msg": {
"type": "string"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "财务三张表汇总"
}
},
"/stock_info/cyq/{symbol}": {
"get": {
"operationId": "position_distribution",
"parameters": [
{
"description": "股票代码,例如 NVDA, 00700",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "筹码分布记录天数",
"in": "query",
"name": "size",
"schema": {
"default": "1",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"item": {
"properties": {
"avgPrice": {
"type": "number"
},
"cumPdfList": {
"items": {
"properties": {
"lot": {
"type": "number"
},
"price": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"date": {
"type": "string"
},
"pressure": {
"type": "number"
},
"support": {
"type": "number"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "获取股票持仓筹码分布,包含关键压力位和支撑位"
}
},
"/stock_info/fund_related/{symbol}": {
"get": {
"operationId": "capital_flow",
"parameters": [
{
"description": "股票代码,例如 NVDA, 00700",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "带上实时资金流向",
"in": "query",
"name": "withFundFlowTrend",
"schema": {
"default": false,
"type": "boolean"
}
},
{
"description": "带上周期资金流向",
"in": "query",
"name": "withPeriodFundFlow",
"schema": {
"default": false,
"type": "boolean"
}
},
{
"description": "带上最近5日大单资金流向",
"in": "query",
"name": "withPositionChange",
"schema": {
"default": true,
"type": "boolean"
}
},
{
"description": "带上今日资金流入流出结构",
"in": "query",
"name": "withPublicityFund",
"schema": {
"default": true,
"type": "boolean"
}
},
{
"description": "与withPeriodFundFlow搭配使用,周期资金流向-结束日期(yyyy-MM-dd) Examples: 2025-01-06",
"in": "query",
"name": "periodFundEndDate",
"schema": {
"type": "string"
}
},
{
"description": "与withPeriodFundFlow搭配使用,周期资金流向-开始日期(yyyy-MM-dd) Examples: 2025-01-06",
"in": "query",
"name": "periodFundStartDate",
"schema": {
"type": "string"
}
},
{
"description": "与withPeriodFundFlow搭配使用,周期枚举值:day、week、month、quarter、year",
"in": "query",
"name": "fundFlowPeriod",
"schema": {
"type": "string"
}
},
{
"description": "与withPeriodFundFlow搭配使用,资金流向期数",
"in": "query",
"name": "periodFundLimit",
"schema": {
"default": 10,
"type": "integer"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"fundFlowTrend": {
"properties": {
"delay": {
"type": "number"
},
"items": {
"items": {
"properties": {
"amount": {
"type": "number"
},
"time": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"periodFundFlow": {
"properties": {
"items": {
"items": {
"properties": {
"date": {
"type": "string"
},
"netflow": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"period": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"positionChange": {
"properties": {
"items": {
"items": {
"properties": {
"change": {
"type": "string"
},
"date": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"unit": {
"type": "string"
}
},
"type": "object"
},
"publicityFund": {
"properties": {
"cashFlowList": {
"items": {
"properties": {
"amount": {
"type": "number"
},
"color": {
"type": "string"
},
"count": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"percent": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"cashFlowStat": {
"properties": {
"bigNetflow": {
"type": "number"
},
"inflow": {
"type": "number"
},
"medianNetflow": {
"type": "number"
},
"netflow": {
"type": "number"
},
"outflow": {
"type": "number"
},
"smallNetflow": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "查询股票标的的资金流动情况,包括资金流入流出、主力资金动向等资金面数据分析"
}
},
"/stock_info/main_fund_deal/{symbol}": {
"get": {
"operationId": "main_fund_deal",
"parameters": [
{
"description": "stock symbol (e.g., 00700, AAPL, NVDA)",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "查询大单数量",
"in": "query",
"name": "size",
"required": true,
"schema": {
"default": "10",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"items": {
"items": {
"properties": {
"amount": {
"type": "number"
},
"mainAmountPercent": {
"type": "number"
},
"netSales": {
"type": "number"
},
"price": {
"type": "number"
},
"shipmentCost": {
"type": "number"
},
"suctionCost": {
"type": "number"
},
"time": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "获取个股主力资金大单交易数据,分析主力买卖动向与资金流向情况。"
}
},
"/stock_info/short_interest/{symbol}": {
"get": {
"operationId": "stock_short_data",
"parameters": [
{
"description": "stock symbol (e.g., 00700, AAPL, NVDA)",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"items": {
"description": "new param",
"items": {
"properties": {
"avgDailyVolume": {
"type": "number"
},
"daysToCover": {
"type": "number"
},
"percentOfFloat": {
"type": "number"
},
"settlementDate": {
"type": "string"
},
"shortAmount": {
"type": "number"
},
"shortAvgPrice": {
"type": "number"
},
"shortInterest": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"ret": {
"description": "new param",
"type": "number"
},
"serverTime": {
"description": "new param",
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "查询特定股票的做空数据,包括做空量、比例及相关市场信息。"
}
},
"/value_analysis/stock/{symbol}": {
"get": {
"operationId": "value_analysis",
"parameters": [
{
"description": "stock symbol (e.g., 00700, AAPL, NVDA)",
"in": "path",
"name": "symbol",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "估值指标,枚举值:peRate, pbRate, psRate",
"in": "query",
"name": "factor",
"required": true,
"schema": {
"default": "peRate",
"type": "string"
}
},
{
"description": "估值周期 ,枚举值:1year, 3year, 5year, 10year",
"in": "query",
"name": "period",
"required": true,
"schema": {
"default": "1year",
"type": "string"
}
},
{
"description": "是否需要行业估值",
"in": "query",
"name": "withIndustryHistory",
"schema": {
"default": true,
"type": "boolean"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"item": {
"properties": {
"brief": {
"properties": {
"avg": {
"type": "number"
},
"current": {
"type": "number"
},
"date": {
"type": "string"
},
"eighty": {
"type": "number"
},
"high": {
"type": "number"
},
"id": {
"type": "string"
},
"low": {
"type": "number"
},
"marketCap": {
"type": "number"
},
"median": {
"type": "number"
},
"percent": {
"type": "number"
},
"sd": {
"type": "number"
},
"twenty": {
"type": "number"
}
},
"type": "object"
},
"updateTime": {
"type": "number"
}
},
"type": "object"
},
"ret": {
"type": "number"
},
"serverTime": {
"type": "number"
}
},
"type": "object"
}
}
},
"description": "new desc"
},
"default": {
"description": ""
}
},
"summary": "进行估值分析,基于市盈率(PE TTM)、市销率(PS TTM)和市净率(PB)等指标评估股票价值"
}
}
},
"servers": [
{
"url": "https://hq.skytigris.cn"
}
]
}