Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
854 in github.com/TauricResearch/TradingAgents
⨍
Functions
854
◇
Types & classes
151
↳
Endpoints
4
Function
_node_b
(state: _SimpleState)
tests/test_checkpoint_resume.py:29
Method
_nullish_float_to_none
(cls, v)
tradingagents/agents/schemas.py:154
Method
_nullish_float_to_none
(cls, v)
tradingagents/agents/schemas.py:227
Function
_r
()
tests/test_reddit_fallback.py:49
Function
_resync_reloaded_modules
Restore module state after this file's importlib.reload() calls. Several tests below reload ``cli.utils`` to re-evaluate OLLAMA_BASE_URL. Tha
tests/test_ollama_base_url.py:11
Method
_stale
(symbol, *a, **k)
tests/test_yfinance_stale_ohlcv_guard.py:95
Method
_throttled
(*a, **k)
tests/test_vendor_errors.py:64
Method
_unconfigured
(*a, **k)
tests/test_vendor_errors.py:78
Method
_unconfigured
(*a, **k)
tests/test_fred.py:181
Function
aggressive_node
(state)
tradingagents/agents/risk_mgmt/aggressive_debator.py:8
Function
analyze
( checkpoint: bool | None = typer.Option( None, "--checkpoint/--no-checkpoint", he
cli/main.py:1271
Function
ask_anthropic_effort
Ask for Anthropic effort level. Controls token usage and response thoroughness on Claude 4.5 / 4.6 / 4.7 models. The API also accepts "max";
cli/utils.py:451
Function
ask_gemini_thinking_config
Ask for Gemini thinking configuration. Returns thinking_level: "high" or "minimal". Client maps to appropriate API param based on model serie
cli/utils.py:473
Function
ask_openai_reasoning_effort
Ask for OpenAI reasoning effort level.
cli/utils.py:433
Function
bear_node
(state)
tradingagents/agents/researchers/bear_researcher.py:8
Function
bull_node
(state)
tradingagents/agents/researchers/bull_researcher.py:8
Function
class_decorator
(cls)
tradingagents/dataflows/utils.py:56
Function
cli_utils
Import cli.utils with a fresh environment so module-level state is consistent.
tests/test_api_key_env.py:69
Function
conservative_node
(state)
tradingagents/agents/risk_mgmt/conservative_debator.py:8
Function
create_social_media_analyst
Deprecated alias for :func:`create_sentiment_analyst`. Kept so existing code that imports ``create_social_media_analyst`` continues to work.
tradingagents/agents/analysts/sentiment_analyst.py:189
Function
decorate_all_methods
(decorator)
tradingagents/dataflows/utils.py:55
Function
delete_messages
Clear messages and add a context-anchored placeholder. The placeholder must not be a bare ``"Continue"``: some OpenAI-compatible prov
tradingagents/agents/utils/agent_utils.py:191
Function
fake_download
(symbol, start, end, **kwargs)
tests/test_date_boundaries.py:47
Method
fake_fetch
(t, sub, limit, timeout)
tests/test_reddit_fallback.py:202
Function
fake_get
(url, params=None, **kwargs)
tests/test_alpha_vantage_hardening.py:25
Method
fake_select
(message, **kwargs)
tests/test_openrouter_model_select.py:22
Method
fake_select
(message, **kwargs)
tests/test_openrouter_model_select.py:63
Method
fake_urlopen
(req, timeout=None)
tests/test_stocktwits_resilience.py:71
Function
fundamentals_analyst_node
(state)
tradingagents/agents/analysts/fundamentals_analyst.py:14
Function
get_YFin_data_online
( symbol: Annotated[str, "ticker symbol of the company"], start_date: Annotated[str, "Start date in yy
tradingagents/dataflows/y_finance.py:18
Function
get_analysis_date
Prompt the user to enter a date in YYYY-MM-DD format.
cli/utils.py:102
Function
get_balance_sheet
Retrieve balance sheet data for a given ticker symbol using Alpha Vantage.
tradingagents/dataflows/alpha_vantage_fundamentals.py:48
Function
get_balance_sheet
Get balance sheet data from yfinance.
tradingagents/dataflows/y_finance.py:341
Function
get_balance_sheet
Retrieve balance sheet data for a given ticker symbol. Uses the configured fundamental_data vendor. Args: ticker (str): Ticker sy
tradingagents/agents/utils/fundamental_data_tools.py:26
Function
get_cashflow
Retrieve cash flow statement data for a given ticker symbol using Alpha Vantage.
tradingagents/dataflows/alpha_vantage_fundamentals.py:54
Function
get_cashflow
Get cash flow data from yfinance.
tradingagents/dataflows/y_finance.py:376
Function
get_cashflow
Retrieve cash flow statement data for a given ticker symbol. Uses the configured fundamental_data vendor. Args: ticker (str): Tic
tradingagents/agents/utils/fundamental_data_tools.py:45
Function
get_current_date
()
tradingagents/dataflows/utils.py:51
Function
get_fundamentals
Retrieve comprehensive fundamental data for a given ticker symbol using Alpha Vantage. Args: ticker (str): Ticker symbol of the comp
tradingagents/dataflows/alpha_vantage_fundamentals.py:30
Function
get_fundamentals
Get company fundamentals overview from yfinance.
tradingagents/dataflows/y_finance.py:274
Function
get_fundamentals
Retrieve comprehensive fundamental data for a given ticker symbol. Uses the configured fundamental_data vendor. Args: ticker (str
tradingagents/agents/utils/fundamental_data_tools.py:9
Function
get_global_news
Returns global market news & sentiment data without ticker-specific filtering. Covers broad market topics like financial markets, economy, and mo
tradingagents/dataflows/alpha_vantage_news.py:26
Function
get_global_news
Retrieve global news data. Uses the configured news_data vendor. Defaults for look_back_days and limit come from DEFAULT_CONFIG (global_n
tradingagents/agents/utils/news_data_tools.py:27
Function
get_global_news_yfinance
Retrieve global/macro economic news using yfinance Search. Args: curr_date: Current date in yyyy-mm-dd format look_back_days
tradingagents/dataflows/yfinance_news.py:134
Function
get_income_statement
Retrieve income statement data for a given ticker symbol using Alpha Vantage.
tradingagents/dataflows/alpha_vantage_fundamentals.py:60
Function
get_income_statement
Get income statement data from yfinance.
tradingagents/dataflows/y_finance.py:411
Function
get_income_statement
Retrieve income statement data for a given ticker symbol. Uses the configured fundamental_data vendor. Args: ticker (str): Ticker
tradingagents/agents/utils/fundamental_data_tools.py:64
Function
get_indicator
Returns Alpha Vantage technical indicator values over a time window. Args: symbol: ticker symbol of the company indicator: t
tradingagents/dataflows/alpha_vantage_indicator.py:4
Function
get_indicators
Retrieve a single technical indicator for a given ticker symbol. Uses the configured technical_indicators vendor. Args: symbol (s
tradingagents/agents/utils/technical_indicators_tools.py:9
Function
get_insider_transactions
Returns latest and historical insider transactions by key stakeholders. Covers transactions by founders, executives, board members, etc. Arg
tradingagents/dataflows/alpha_vantage_news.py:56
Function
get_insider_transactions
Get insider transactions data from yfinance.
tradingagents/dataflows/y_finance.py:446
Function
get_insider_transactions
Retrieve insider transaction information about a company. Uses the configured news_data vendor. Args: ticker (str): Ticker symbol
tradingagents/agents/utils/news_data_tools.py:49
Method
get_llm
Return configured AzureChatOpenAI instance.
tradingagents/llm_clients/azure_client.py:34
Method
get_llm
Return configured ChatAnthropic instance.
tradingagents/llm_clients/anthropic_client.py:59
Method
get_llm
Return a configured ChatBedrockConverse instance.
tradingagents/llm_clients/bedrock_client.py:52
Function
get_macro_data
Fetch a FRED macroeconomic series as a formatted markdown report. Args: indicator: A friendly alias (e.g. "cpi", "unemployment", "10y_tre
tradingagents/dataflows/fred.py:136
Function
get_macro_indicators
Retrieve a macroeconomic indicator time series from FRED (Federal Reserve Economic Data): policy rates, Treasury yields, inflation, labor, an
tradingagents/agents/utils/macro_data_tools.py:9
Function
get_news
Returns live and historical market news & sentiment data from premier news outlets worldwide. Covers stocks, cryptocurrencies, forex, and topics
tradingagents/dataflows/alpha_vantage_news.py:4
Function
get_news
Retrieve news data for a given ticker symbol. Uses the configured news_data vendor. Args: ticker (str): Ticker symbol sta
tradingagents/agents/utils/news_data_tools.py:9
Function
get_news_yfinance
Retrieve news for a specific stock ticker using yfinance. Args: ticker: Stock ticker symbol (e.g., "AAPL") start_date: Start
tradingagents/dataflows/yfinance_news.py:74
Function
get_next_weekday
(date)
tradingagents/dataflows/utils.py:65
Function
get_prediction_markets
Return live prediction-market probabilities for an event topic. Args: topic: Event keyword(s), e.g. "Fed rate cut", "recession 2026",
tradingagents/dataflows/polymarket.py:68
Function
get_prediction_markets
Retrieve live, market-implied probabilities for forward-looking events from prediction markets (Polymarket): Fed decisions, recession, electi
tradingagents/agents/utils/prediction_markets_tools.py:9
Function
get_stock
Returns raw daily OHLCV values, adjusted close values, and historical split/dividend events filtered to the specified date range. Args:
tradingagents/dataflows/alpha_vantage_stock.py:6
Function
get_stock_data
Retrieve stock price data (OHLCV) for a given ticker symbol. Uses the configured core_stock_apis vendor. Args: symbol (str): Tick
tradingagents/agents/utils/core_stock_tools.py:9
Function
get_verified_market_snapshot
Deterministic verification snapshot for exact market-data claims. Returns the latest OHLCV row on or before curr_date, common technical indic
tradingagents/agents/utils/market_data_validation_tools.py:9
Method
history
(self, start, end)
tests/test_yfinance_stale_ohlcv_guard.py:76
Method
history
(self, *args, **kwargs)
tests/test_symbol_normalization_paths.py:43
Function
impl
(symbol, *a, **k)
tests/test_vendor_routing.py:32
Method
invoke
(self, input, config=None, **kwargs)
tradingagents/llm_clients/google_client.py:16
Method
invoke
(self, input, config=None, **kwargs)
tradingagents/llm_clients/azure_client.py:17
Method
invoke
(self, input, config=None, **kwargs)
tradingagents/llm_clients/anthropic_client.py:49
Method
invoke
(self, input, config=None, **kwargs)
tradingagents/llm_clients/bedrock_client.py:34
Function
market_analyst_node
(state)
tradingagents/agents/analysts/market_analyst.py:14
Function
mock_llm_client
()
tests/conftest.py:60
Function
neutral_node
(state)
tradingagents/agents/risk_mgmt/neutral_debator.py:8
Function
news_analyst_node
(state)
tradingagents/agents/analysts/news_analyst.py:14
Method
on_chat_model_start
Increment LLM call counter when a chat model starts.
cli/stats_handler.py:30
Method
on_llm_end
Extract token usage from LLM response.
cli/stats_handler.py:40
Method
on_llm_start
Increment LLM call counter when an LLM starts.
cli/stats_handler.py:20
Method
on_tool_start
Increment tool call counter when a tool starts.
cli/stats_handler.py:58
Function
portfolio_manager_node
(state)
tradingagents/agents/managers/portfolio_manager.py:27
Function
pytest_configure
(config)
tests/conftest.py:9
Method
raises_no_data
(symbol, *a, **k)
tests/test_no_data_handling.py:52
Method
raises_unavailable
(symbol, *a, **k)
tests/test_no_data_handling.py:74
Method
read
(self_inner)
tests/test_stocktwits_resilience.py:27
Function
render_pm_decision
Render a PortfolioDecision back to the markdown shape the rest of the system expects. Memory log, CLI display, and saved report files all read th
tradingagents/agents/schemas.py:231
Function
research_manager_node
(state)
tradingagents/agents/managers/research_manager.py:19
Function
save_output
(data: pd.DataFrame, tag: str, save_path: SavePathType = None)
tradingagents/dataflows/utils.py:45
Function
sentiment_analyst_node
(state)
tradingagents/agents/analysts/sentiment_analyst.py:60
Method
setUp
(self)
tests/test_checkpoint_resume.py:46
Method
setUp
(self)
tests/test_checkpoint_resume.py:147
Method
setUp
(self)
tests/test_vendor_routing.py:45
Method
setUp
(self)
tests/test_instrument_identity.py:20
Method
setUp
(self)
tests/test_polymarket.py:107
Method
setUp
(self)
tests/test_vendor_errors.py:54
Method
setUp
(self)
tests/test_dataflows_config.py:14
Method
setUp
(self)
tests/test_yfinance_stale_ohlcv_guard.py:86
Method
setUp
(self)
tests/test_fred.py:156
Method
setUp
(self)
tests/test_no_data_handling.py:24
← previous
next →
301–400 of 854, ranked by callers