mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-06-16 21:06:15 +03:00
The agent ingests news, StockTwits, and Reddit, but CLI labels, the README description, and the legacy shim docstring still framed it as social-media-only. Updates all user-visible surfaces so the name and the implementation match.
24 lines
787 B
Python
24 lines
787 B
Python
"""Backwards-compatibility shim for the renamed module.
|
|
|
|
The agent is now ``sentiment_analyst`` and aggregates Yahoo Finance news,
|
|
StockTwits cashtag streams, and Reddit posts into a single sentiment
|
|
report. Import from ``tradingagents.agents.analysts.sentiment_analyst``
|
|
going forward; this module will be removed in a future release.
|
|
|
|
See: https://github.com/TauricResearch/TradingAgents/issues/557
|
|
"""
|
|
|
|
import warnings as _warnings
|
|
|
|
from tradingagents.agents.analysts.sentiment_analyst import ( # noqa: F401
|
|
create_sentiment_analyst,
|
|
create_social_media_analyst,
|
|
)
|
|
|
|
_warnings.warn(
|
|
"tradingagents.agents.analysts.social_media_analyst is deprecated. "
|
|
"Import from tradingagents.agents.analysts.sentiment_analyst instead.",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|