mirror of
https://github.com/farcasclaudiu/TradingAgents.git
synced 2026-06-29 01:01:33 +03:00
minor fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from langchain_core.tools import tool
|
||||
from typing import Annotated
|
||||
from tradingagents.dataflows.interface import route_to_vender
|
||||
from tradingagents.dataflows.interface import route_to_vendor
|
||||
|
||||
@tool
|
||||
def get_news(
|
||||
@@ -18,7 +18,7 @@ def get_news(
|
||||
Returns:
|
||||
str: A formatted string containing news data
|
||||
"""
|
||||
return route_to_vender("get_news", ticker, start_date, end_date)
|
||||
return route_to_vendor("get_news", ticker, start_date, end_date)
|
||||
|
||||
@tool
|
||||
def get_global_news(
|
||||
@@ -36,7 +36,7 @@ def get_global_news(
|
||||
Returns:
|
||||
str: A formatted string containing global news data
|
||||
"""
|
||||
return route_to_vender("get_global_news", curr_date, look_back_days, limit)
|
||||
return route_to_vendor("get_global_news", curr_date, look_back_days, limit)
|
||||
|
||||
@tool
|
||||
def get_insider_sentiment(
|
||||
@@ -52,7 +52,7 @@ def get_insider_sentiment(
|
||||
Returns:
|
||||
str: A report of insider sentiment data
|
||||
"""
|
||||
return route_to_vender("get_insider_sentiment", ticker, curr_date)
|
||||
return route_to_vendor("get_insider_sentiment", ticker, curr_date)
|
||||
|
||||
@tool
|
||||
def get_insider_transactions(
|
||||
@@ -68,4 +68,4 @@ def get_insider_transactions(
|
||||
Returns:
|
||||
str: A report of insider transaction data
|
||||
"""
|
||||
return route_to_vender("get_insider_transactions", ticker, curr_date)
|
||||
return route_to_vendor("get_insider_transactions", ticker, curr_date)
|
||||
|
||||
Reference in New Issue
Block a user