@fre4x/yahoo-finance 1.1.0-beta.4 → 1.1.0-beta.6
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/README.md +10 -10
- package/dist/index.js +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,31 +12,31 @@ Price history, balance sheets, insider moves, analyst upgrades, options flow —
|
|
|
12
12
|
|
|
13
13
|
| Tool | What it tracks |
|
|
14
14
|
|------|---------------|
|
|
15
|
-
| `
|
|
16
|
-
| `
|
|
17
|
-
| `
|
|
18
|
-
| `
|
|
19
|
-
| `
|
|
15
|
+
| `get_quotes` | Batch real-time quotes for multiple tickers |
|
|
16
|
+
| `get_historical_prices` | OHLCV bars — any ticker, any period, any interval |
|
|
17
|
+
| `get_stock_info` | Price, company profile, key statistics, financial health |
|
|
18
|
+
| `get_news` | Latest news articles for a ticker |
|
|
19
|
+
| `get_stock_actions` | Dividend payments and stock splits |
|
|
20
20
|
|
|
21
21
|
### Financial Statements
|
|
22
22
|
|
|
23
23
|
| Tool | What it exposes |
|
|
24
24
|
|------|----------------|
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
25
|
+
| `get_financial_statement` | Income statement, balance sheet, cash flow (annual or quarterly) |
|
|
26
|
+
| `get_holder_info` | Major holders, institutions, mutual funds, insider transactions |
|
|
27
27
|
|
|
28
28
|
### Options Intelligence
|
|
29
29
|
|
|
30
30
|
| Tool | What it maps |
|
|
31
31
|
|------|-------------|
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
32
|
+
| `get_option_dates` | Available expiration dates for a ticker |
|
|
33
|
+
| `get_option_chain` | Full calls or puts chain for a given expiration |
|
|
34
34
|
|
|
35
35
|
### Analyst Signal
|
|
36
36
|
|
|
37
37
|
| Tool | What it surfaces |
|
|
38
38
|
|------|----------------|
|
|
39
|
-
| `
|
|
39
|
+
| `get_recommendations` | Consensus recommendations or firm upgrade/downgrade history |
|
|
40
40
|
|
|
41
41
|
All list tools support pagination via `limit` / `offset`. No API key required.
|
|
42
42
|
|
package/dist/index.js
CHANGED
|
@@ -68753,7 +68753,7 @@ function handleToolError(err) {
|
|
|
68753
68753
|
}
|
|
68754
68754
|
if (status === 429 || message.toLowerCase().includes("too many requests")) {
|
|
68755
68755
|
return createApiError(
|
|
68756
|
-
`Yahoo Finance Rate Limit exceeded: ${message}. Please try again later or use the batch tool (
|
|
68756
|
+
`Yahoo Finance Rate Limit exceeded: ${message}. Please try again later or use the batch tool (get_quotes).`,
|
|
68757
68757
|
429
|
|
68758
68758
|
);
|
|
68759
68759
|
}
|
|
@@ -68806,7 +68806,7 @@ function flattenFinancialItem(item) {
|
|
|
68806
68806
|
return result;
|
|
68807
68807
|
}
|
|
68808
68808
|
server.registerTool(
|
|
68809
|
-
"
|
|
68809
|
+
"get_quotes",
|
|
68810
68810
|
{
|
|
68811
68811
|
title: "Get Batch Stock Quotes",
|
|
68812
68812
|
description: "Get real-time price quotes for multiple ticker symbols at once.",
|
|
@@ -68842,7 +68842,7 @@ server.registerTool(
|
|
|
68842
68842
|
}
|
|
68843
68843
|
);
|
|
68844
68844
|
server.registerTool(
|
|
68845
|
-
"
|
|
68845
|
+
"get_historical_prices",
|
|
68846
68846
|
{
|
|
68847
68847
|
title: "Get Historical Stock Prices",
|
|
68848
68848
|
description: "Get historical OHLCV stock price data for a ticker.",
|
|
@@ -68922,7 +68922,7 @@ server.registerTool(
|
|
|
68922
68922
|
}
|
|
68923
68923
|
);
|
|
68924
68924
|
server.registerTool(
|
|
68925
|
-
"
|
|
68925
|
+
"get_stock_info",
|
|
68926
68926
|
{
|
|
68927
68927
|
title: "Get Stock Info",
|
|
68928
68928
|
description: "Get comprehensive stock info including price, profile, and financials.",
|
|
@@ -68992,7 +68992,7 @@ ${profile.longBusinessSummary.substring(0, 500)}...` : "")
|
|
|
68992
68992
|
}
|
|
68993
68993
|
);
|
|
68994
68994
|
server.registerTool(
|
|
68995
|
-
"
|
|
68995
|
+
"get_news",
|
|
68996
68996
|
{
|
|
68997
68997
|
title: "Get Yahoo Finance News",
|
|
68998
68998
|
description: "Get latest news articles for a ticker symbol.",
|
|
@@ -69027,7 +69027,7 @@ server.registerTool(
|
|
|
69027
69027
|
}
|
|
69028
69028
|
);
|
|
69029
69029
|
server.registerTool(
|
|
69030
|
-
"
|
|
69030
|
+
"get_stock_actions",
|
|
69031
69031
|
{
|
|
69032
69032
|
title: "Get Stock Actions",
|
|
69033
69033
|
description: "Get stock dividend and split history.",
|
|
@@ -69074,7 +69074,7 @@ server.registerTool(
|
|
|
69074
69074
|
}
|
|
69075
69075
|
);
|
|
69076
69076
|
server.registerTool(
|
|
69077
|
-
"
|
|
69077
|
+
"get_financial_statement",
|
|
69078
69078
|
{
|
|
69079
69079
|
title: "Get Financial Statement",
|
|
69080
69080
|
description: "Get income statement, balance sheet, or cashflow for a ticker.",
|
|
@@ -69118,7 +69118,7 @@ server.registerTool(
|
|
|
69118
69118
|
}
|
|
69119
69119
|
);
|
|
69120
69120
|
server.registerTool(
|
|
69121
|
-
"
|
|
69121
|
+
"get_holder_info",
|
|
69122
69122
|
{
|
|
69123
69123
|
title: "Get Holder Info",
|
|
69124
69124
|
description: "Get major, institutional, mutual fund, or insider holder data.",
|
|
@@ -69171,7 +69171,7 @@ server.registerTool(
|
|
|
69171
69171
|
}
|
|
69172
69172
|
);
|
|
69173
69173
|
server.registerTool(
|
|
69174
|
-
"
|
|
69174
|
+
"get_option_dates",
|
|
69175
69175
|
{
|
|
69176
69176
|
title: "Get Option Expiration Dates",
|
|
69177
69177
|
description: "Get available option expiration dates for a ticker.",
|
|
@@ -69196,7 +69196,7 @@ server.registerTool(
|
|
|
69196
69196
|
}
|
|
69197
69197
|
);
|
|
69198
69198
|
server.registerTool(
|
|
69199
|
-
"
|
|
69199
|
+
"get_option_chain",
|
|
69200
69200
|
{
|
|
69201
69201
|
title: "Get Option Chain",
|
|
69202
69202
|
description: "Get calls or puts option chain for a ticker and expiration date.",
|
|
@@ -69246,7 +69246,7 @@ server.registerTool(
|
|
|
69246
69246
|
}
|
|
69247
69247
|
);
|
|
69248
69248
|
server.registerTool(
|
|
69249
|
-
"
|
|
69249
|
+
"get_recommendations",
|
|
69250
69250
|
{
|
|
69251
69251
|
title: "Get Analyst Recommendations",
|
|
69252
69252
|
description: "Get analyst recommendations or upgrade/downgrade history.",
|