fix: improve data vendor implementations and tool signatures

- Add get_global_news for Alpha Vantage
- Fix get_insider_transactions signature (remove unused curr_date param)
- Remove unnecessary default params from API calls (sort, limit, tab)
This commit is contained in:
Yijia Xiao
2026-02-02 06:06:29 +00:00
parent b75940e901
commit b06936f420
8 changed files with 37 additions and 28 deletions
+2
View File
@@ -20,6 +20,7 @@ from .alpha_vantage import (
get_income_statement as get_alpha_vantage_income_statement,
get_insider_transactions as get_alpha_vantage_insider_transactions,
get_news as get_alpha_vantage_news,
get_global_news as get_alpha_vantage_global_news,
)
from .alpha_vantage_common import AlphaVantageRateLimitError
@@ -100,6 +101,7 @@ VENDOR_METHODS = {
},
"get_global_news": {
"yfinance": get_global_news_yfinance,
"alpha_vantage": get_alpha_vantage_global_news,
},
"get_insider_transactions": {
"alpha_vantage": get_alpha_vantage_insider_transactions,