Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
974 in github.com/TauricResearch/TradingAgents
⨍
Functions
974
◇
Types & classes
157
↳
Endpoints
4
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:63
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:9
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:28
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)
tests/test_social_lookahead.py:31
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:20
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:61
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:173
Method
setUp
(self)
tests/test_no_data_handling.py:24
Method
should_continue_fundamentals
Determine if fundamentals analysis should continue.
tradingagents/graph/conditional_logic.py:44
Method
should_continue_market
Determine if market analysis should continue.
tradingagents/graph/conditional_logic.py:14
Method
should_continue_news
Determine if news analysis should continue.
tradingagents/graph/conditional_logic.py:36
Method
should_continue_social
Determine if sentiment-analyst tool round should continue. Method name keeps the legacy ``social`` suffix to match the ``AnalystType.
tradingagents/graph/conditional_logic.py:22
Method
tearDown
(self)
tests/test_vendor_routing.py:48
Method
tearDown
(self)
tests/test_polymarket.py:110
Method
tearDown
(self)
tests/test_vendor_errors.py:57
Method
tearDown
(self)
tests/test_yfinance_stale_ohlcv_guard.py:89
Method
tearDown
(self)
tests/test_fred.py:176
Method
tearDown
(self)
tests/test_no_data_handling.py:29
Method
test_403_triggers_rss
(self)
tests/test_reddit_fallback.py:113
Method
test_429_then_success_retries_once
(self)
tests/test_reddit_fallback.py:126
Method
test_429_twice_gives_up_after_one_retry
(self)
tests/test_reddit_fallback.py:135
Method
test_accepts_common_ticker_formats
(self)
tests/test_safe_ticker_component.py:13
Method
test_accepts_futures_and_forex_formats
(self)
tests/test_safe_ticker_component.py:17
Method
test_accepts_structural_chars
(self)
tests/test_symbol_utils.py:72
Method
test_agrees_with_normalize_symbol
(self)
tests/test_symbol_utils.py:95
Method
test_alias_is_case_and_separator_insensitive
(self)
tests/test_fred.py:55
Method
test_alias_maps_to_series_id
(self)
tests/test_fred.py:51
Method
test_all_5_tier_ratings_render
(self)
tests/test_structured_agents.py:114
Method
test_all_conditions_derive_from_vendor_error
(self)
tests/test_vendor_errors.py:30
Method
test_all_five_tiers_recognised
(self)
tests/test_signal_processing.py:65
Method
test_all_six_bands_render
(self)
tests/test_structured_agents.py:351
Function
test_any_model_accepted_no_forced_key
()
tests/test_openai_compatible_provider.py:59
Method
test_api_key_handling
(self, mock_chat)
tests/test_google_api_key.py:14
Function
test_as_of_excludes_lessons_resolved_after_the_run_date
(tmp_path)
tests/test_memory_pointintime.py:37
Function
test_base_url_required
(monkeypatch)
tests/test_openai_compatible_provider.py:27
Method
test_batch_update_resolves_multiple_entries
batch_update_with_outcomes resolves multiple pending entries in one write.
tests/test_memory_log.py:139
Function
test_bearer_token_passed_as_api_key
(monkeypatch)
tests/test_bedrock_provider.py:53
Function
test_bedrock_any_model_and_no_key_env
()
tests/test_bedrock_provider.py:23
Function
test_begin_returns_thread_id_and_recompiles
()
tests/test_checkpoint_lifecycle.py:74
Method
test_bm25_not_imported
rank_bm25 must not be present in the memory module namespace.
tests/test_memory_log.py:851
Function
test_bool_coercion
(monkeypatch, raw, expected)
tests/test_env_overrides.py:66
Method
test_both_round_envs_skip_depth_prompt
(self)
tests/test_cli_env_skip.py:87
Method
test_build_instrument_context_mentions_exact_symbol
(self)
tests/test_ticker_symbol_handling.py:14
Method
test_build_plan_preserves_selected_order
(self)
tests/test_analyst_execution.py:12
Method
test_canonical_defaults_to_symbol
(self)
tests/test_symbol_utils.py:65
Function
test_capabilities_dataclass_is_frozen
Capability rows are immutable so they can be safely shared.
tests/test_capabilities.py:151
Method
test_capture_on_receive
When the response carries reasoning_content, it lands on the AIMessage's additional_kwargs so the next turn can echo it back.
tests/test_deepseek_reasoning.py:65
Function
test_case_insensitive_lookup
()
tests/test_api_key_env.py:60
Method
test_category_routes_to_polymarket
(self)
tests/test_polymarket.py:113
Method
test_chat_prompt_value_unwrapped
(self)
tests/test_deepseek_reasoning.py:39
Method
test_chat_sends_tool_choice
(self)
tests/test_deepseek_reasoning.py:144
Function
test_checkpoint_flag_overrides_env
(flag)
tests/test_cli_config_precedence.py:65
Function
test_checkpoint_input_is_none_only_when_resuming
()
tests/test_checkpoint_lifecycle.py:88
Function
test_checkpoint_none_preserves_env_default
()
tests/test_cli_config_precedence.py:57
Method
test_claude_5_family_receives_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:65
Function
test_clean_dataframe_keeps_nan_close_for_the_caller_to_inspect
()
tests/test_ohlcv_latest_bar.py:64
Method
test_clean_handles_index_column
A frame with `index` instead of `Date` must still clean to a usable, date-parsed frame (was KeyError: 'Date').
tests/test_stockstats_date_column.py:50
Method
test_clean_handles_legacy_date_column
(self)
tests/test_stockstats_date_column.py:58
Method
test_clear_checkpoint_allows_fresh_start
After clearing, the graph starts from scratch.
tests/test_checkpoint_resume.py:79
Method
test_cli_catalog_models_are_all_validator_approved
(self)
tests/test_model_validation.py:26
Function
test_cli_dropdown_default_when_unset
(monkeypatch)
tests/test_ollama_base_url.py:106
Function
test_cli_dropdown_uses_env
The Ollama entry in the CLI dropdown must reflect OLLAMA_BASE_URL.
tests/test_ollama_base_url.py:93
Function
test_cli_normalize_delegates_to_data_layer
()
tests/test_cli_symbol_handling.py:59
Function
test_cli_style_usage_saves_then_resumes
()
tests/test_checkpoint_lifecycle.py:120
← previous
next →
401–500 of 974, ranked by callers