3be7886bfe
- yahooquery, ta 라이브러리 활용
22 lines
643 B
Python
22 lines
643 B
Python
from backend.services.news_service import get_news
|
|
from backend.services.financial_service import get_financial_info
|
|
from backend.services.technical_service import get_technical_info
|
|
|
|
async def news_node(state):
|
|
news_list = await get_news(state["company_name"])
|
|
return {"news": news_list}
|
|
|
|
async def financial_node(state):
|
|
financials = await get_financial_info(state["ticker"])
|
|
return {"financials": financials}
|
|
|
|
async def technical_node(state):
|
|
technicals = await get_technical_info(state["ticker"])
|
|
return {"technicals": technicals}
|
|
|
|
async def competitor_node(state):
|
|
pass
|
|
|
|
async def report_node(state):
|
|
pass
|