Quant Trader v3.5
Quant Trader v3.5 · GPT アクション
FRED Series Data API
Access economic data series from the Federal Reserve Economic Data (FRED).
GET /seriesRetrieve economic data series.
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "FRED Series Data API",
"description": "Access economic data series from the Federal Reserve Economic Data (FRED).",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.stlouisfed.org/fred",
"description": "FRED API server"
}
],
"paths": {
"/series": {
"get": {
"operationId": "getSeriesData",
"summary": "Retrieve economic data series.",
"parameters": [
{
"name": "series_id",
"in": "query",
"required": true,
"description": "The ID for the series.",
"schema": {
"type": "string"
}
},
{
"name": "api_key",
"in": "query",
"required": true,
"description": "e799c14ec4ed3458dcf0b02e8dd30946",
"schema": {
"type": "string"
}
},
{
"name": "file_type",
"in": "query",
"required": false,
"description": "The type of file to send (xml or json).",
"schema": {
"type": "string",
"enum": [
"xml",
"json"
],
"default": "json"
}
}
],
"responses": {
"200": {
"description": "Economic series data.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"realtime_start": {
"type": "string",
"format": "date"
},
"realtime_end": {
"type": "string",
"format": "date"
},
"seriess": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}Polygon.io Stock Data API
API for fetching historical stock data for analysis.
GET /v2/aggs/ticker/{ticker}/range/{multiplier}/{timespan}/{from}/{to}Retrieve historical stock data.
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "Polygon.io Stock Data API",
"description": "API for fetching historical stock data for analysis.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.polygon.io",
"description": "Polygon.io API server"
}
],
"paths": {
"/v2/aggs/ticker/{ticker}/range/{multiplier}/{timespan}/{from}/{to}": {
"get": {
"operationId": "getHistoricalStockData",
"summary": "Retrieve historical stock data.",
"parameters": [
{
"name": "ticker",
"in": "path",
"required": true,
"description": "Stock ticker symbol.",
"schema": {
"type": "string"
}
},
{
"name": "multiplier",
"in": "path",
"required": true,
"description": "The size of the timespan multiplier.",
"schema": {
"type": "integer"
}
},
{
"name": "timespan",
"in": "path",
"required": true,
"description": "The size of the time window (minute, hour, day, week, etc.).",
"schema": {
"type": "string"
}
},
{
"name": "from",
"in": "path",
"required": true,
"description": "Start date for the data range (YYYY-MM-DD).",
"schema": {
"type": "string",
"format": "date"
}
},
{
"name": "to",
"in": "path",
"required": true,
"description": "End date for the data range (YYYY-MM-DD).",
"schema": {
"type": "string",
"format": "date"
}
}
],
"responses": {
"200": {
"description": "Historical stock data.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"o": {
"type": "number",
"description": "Open price"
},
"h": {
"type": "number",
"description": "High price"
},
"l": {
"type": "number",
"description": "Low price"
},
"c": {
"type": "number",
"description": "Close price"
},
"v": {
"type": "number",
"description": "Volume"
}
}
}
}
}
}
}
}
}
}
}
}
}
}