Mehyar Trading
Mehyar Trading · GPT 작업
Alpha Vantage API
Provides access to stock data, analytics, and financial indicators via various functions.
GET /queryRetrieve Financial DataExecutes a specified function to fetch financial data. Functions include time series data, global quotes, analytics, and more.
원본 API 스키마
{
"openapi": "3.0.0",
"info": {
"title": "Alpha Vantage API",
"version": "1.0.0",
"description": "Provides access to stock data, analytics, and financial indicators via various functions."
},
"servers": [
{
"url": "https://www.alphavantage.co"
}
],
"paths": {
"/query": {
"get": {
"summary": "Retrieve Financial Data",
"operationId": "queryFinancialData",
"description": "Executes a specified function to fetch financial data. Functions include time series data, global quotes, analytics, and more.\n",
"parameters": [
{
"name": "function",
"in": "query",
"required": true,
"description": "Specifies the data retrieval function.",
"schema": {
"type": "string",
"enum": [
"SYMBOL_SEARCH",
"TIME_SERIES_DAILY",
"TIME_SERIES_WEEKLY",
"TIME_SERIES_WEEKLY_ADJUSTED",
"TIME_SERIES_MONTHLY",
"GLOBAL_QUOTE",
"NEWS_SENTIMENT",
"TOP_GAINERS_LOSERS",
"ANALYTICS",
"OVERVIEW",
"INCOME_STATEMENT",
"BALANCE_SHEET",
"CASH_FLOW",
"EARNINGS",
"EARNINGS_CALENDAR",
"IPO_CALENDAR",
"CURRENCY_EXCHANGE_RATE",
"CRYPTO_INTRADAY",
"DIGITAL_CURRENCY_DAILY"
]
}
},
{
"name": "symbol",
"in": "query",
"description": "Symbol for the stock.",
"schema": {
"type": "string"
}
},
{
"name": "datatype",
"in": "query",
"description": "The data type of the response, json or csv.",
"schema": {
"type": "string",
"enum": [
"json",
"csv"
]
}
},
{
"name": "tickers",
"in": "query",
"description": "Tickers for news sentiment.",
"schema": {
"type": "string"
}
},
{
"name": "topics",
"in": "query",
"description": "Topics for news sentiment.",
"schema": {
"type": "string"
}
},
{
"name": "time_from",
"in": "query",
"description": "Starting time for news sentiment.",
"schema": {
"type": "string"
}
},
{
"name": "time_to",
"in": "query",
"description": "Ending time for news sentiment.",
"schema": {
"type": "string"
}
},
{
"name": "sort",
"in": "query",
"description": "Sort order for news sentiment.",
"schema": {
"type": "string",
"enum": [
"LATEST",
"EARLIEST",
"RELEVANCE"
]
}
},
{
"name": "limit",
"in": "query",
"description": "Limit for news sentiment results.",
"schema": {
"type": "integer"
}
},
{
"name": "SYMBOLS",
"in": "query",
"description": "Symbols for advanced analytics.",
"schema": {
"type": "string"
}
},
{
"name": "RANGE",
"in": "query",
"description": "Range for advanced analytics.",
"schema": {
"type": "string"
}
},
{
"name": "INTERVAL",
"in": "query",
"description": "Interval for advanced analytics.",
"schema": {
"type": "string"
}
},
{
"name": "CALCULATIONS",
"in": "query",
"description": "Calculations for advanced analytics.",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "query",
"required": true,
"description": "U0PHGKP0Q5UGEL7G",
"schema": {
"type": "string",
"default": "demo"
}
}
],
"responses": {
"200": {
"description": "Successful operation"
},
"400": {
"description": "Bad request due to missing or invalid parameters"
}
}
}
}
}
}