get_economic_data
Retrieve macroeconomic data such as treasury rates, indicators, calendar events, and market risk premiums from Yahoo Finance, using date ranges and specific parameters for targeted insights.
Instructions
获取宏观经济数据。
参数说明: data_type: str treasury_rates、economic_indicators、economic_calendar、market_risk_premium name: str 经济指标名称,data_type 为 economic_indicators 时必填 from_date: str 起始日期,格式 YYYY-MM-DD to_date: str 结束日期,格式 YYYY-MM-DD
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_type | Yes | ||
from_date | No | ||
name | No | ||
to_date | No |
Input Schema (JSON Schema)
{
"properties": {
"data_type": {
"title": "Data Type",
"type": "string"
},
"from_date": {
"default": "",
"title": "From Date",
"type": "string"
},
"name": {
"default": "",
"title": "Name",
"type": "string"
},
"to_date": {
"default": "",
"title": "To Date",
"type": "string"
}
},
"required": [
"data_type"
],
"title": "get_economic_dataArguments",
"type": "object"
}