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
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:420
Method
test_falls_back_to_short_name
(self)
tests/test_instrument_identity.py:40
Method
test_fetch_returns_delisted
Empty DataFrame → returns all-None, no crash.
tests/test_memory_log.py:521
Method
test_fetch_returns_incomplete_window_stays_pending
#1169: a rerun before the full holding window has traded returns unavailable (all-None) so the entry stays pending, rather than settling
tests/test_memory_log.py:548
Function
test_fetch_returns_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:36
Method
test_fetch_returns_spy_shorter_than_stock
SPY having fewer rows than the stock (but still a full window) must not raise IndexError.
tests/test_memory_log.py:531
Method
test_fetch_returns_too_recent
Only 1 data point available → returns all-None, no crash.
tests/test_memory_log.py:511
Method
test_fetch_returns_valid_ticker
(self)
tests/test_memory_log.py:494
Function
test_fill_price_gaps_drops_nan_close_rows
()
tests/test_ohlcv_latest_bar.py:73
Method
test_filters_out_fundamentals_analyst_for_crypto
(self)
tests/test_crypto_asset_mode.py:17
Method
test_financial_situation_memory_removed
FinancialSituationMemory must not be importable from the memory module.
tests/test_memory_log.py:846
Function
test_flash_passes_thinking_level_through
(level)
tests/test_google_thinking_level.py:27
Function
test_flat_article_publish_time_is_parsed
()
tests/test_news_lookahead.py:23
Method
test_float_passthrough
(self)
tests/test_temperature_config.py:76
Method
test_float_string_coerced
(self)
tests/test_temperature_config.py:73
Method
test_forex_pairs_get_x_suffix
(self)
tests/test_symbol_utils.py:38
Method
test_formats_summary_in_plan_order
(self)
tests/test_analyst_execution.py:54
Method
test_formatting_roundtrip_after_update
All fields intact and blank line between tag and DECISION preserved after update.
tests/test_memory_log.py:449
Function
test_forwarded_across_providers
(provider)
tests/test_llm_max_retries.py:61
Function
test_forwarded_as_max_output_tokens_for_google
()
tests/test_llm_max_tokens.py:71
Function
test_forwarded_as_max_tokens_for_non_google
(provider)
tests/test_llm_max_tokens.py:64
Function
test_forwarded_env_string_is_coerced
()
tests/test_llm_max_retries.py:67
Method
test_full_cycle_store_resolve_inject
store pending → resolve with outcome → past_context non-empty for PM.
tests/test_memory_log.py:824
Method
test_full_pipeline_no_regression
propagate() completes and stores the decision after the redesign.
tests/test_memory_log.py:867
Method
test_fullwidth_colon_is_parsed_not_reviewed
(self)
tests/test_signal_processing.py:102
Function
test_fundamentals_look_ahead_filter_runs_on_json_string
(monkeypatch)
tests/test_alpha_vantage_hardening.py:76
Function
test_fundamentals_no_curr_date_passes_through
(monkeypatch)
tests/test_alpha_vantage_hardening.py:88
Function
test_fundamentals_non_json_body_unchanged
(monkeypatch)
tests/test_alpha_vantage_hardening.py:94
Method
test_future_deepseek_v5_inherits_thinking_quirks
(self)
tests/test_capabilities.py:38
Method
test_future_deepseek_v9_inherits_thinking_quirks
(self)
tests/test_capabilities.py:43
Method
test_future_m3_inherits_reasoning_split
(self)
tests/test_capabilities.py:85
Method
test_future_minimax_m4_highspeed_inherits_thinking_quirks
(self)
tests/test_capabilities.py:55
Method
test_future_opus_sonnet_inherit_effort_via_pattern
Forward-compat: new Opus/Sonnet versions don't need a code change.
tests/test_anthropic_effort.py:54
Method
test_future_v_variant_via_regex
Forward-compat: unknown deepseek-v\\d-* IDs inherit V4 quirks.
tests/test_deepseek_reasoning.py:165
Method
test_get_config_returns_deep_copy
(self)
tests/test_dataflows_config.py:17
Method
test_get_initial_analyst_node_uses_plan_metadata
(self)
tests/test_analyst_execution.py:24
Method
test_get_macro_data_returns_guidance_on_bad_indicator
(self)
tests/test_fred.py:71
Function
test_get_news_takes_ticker_not_query
()
tests/test_news_analyst_prompt.py:15
Method
test_get_past_context_cross_ticker
(self, tmp_path)
tests/test_memory_log.py:267
Method
test_get_past_context_empty
(self, tmp_path)
tests/test_memory_log.py:251
Method
test_get_past_context_pending_excluded
(self, tmp_path)
tests/test_memory_log.py:255
Method
test_get_past_context_same_ticker
(self, tmp_path)
tests/test_memory_log.py:260
Method
test_get_pending_returns_pending_only
(self, tmp_path)
tests/test_memory_log.py:240
Method
test_get_yfin_data_online_raises_on_stale_frame
(self)
tests/test_yfinance_stale_ohlcv_guard.py:63
Function
test_get_yfin_requests_inclusive_end
(monkeypatch)
tests/test_date_boundaries.py:16
Function
test_global_news_empty_after_filter_is_informative
(monkeypatch)
tests/test_news_lookahead.py:93
Function
test_global_news_future_flat_article_excluded
(monkeypatch)
tests/test_news_lookahead.py:75
Method
test_gpt_default
(self)
tests/test_capabilities.py:100
Method
test_graph_returns_rating
(self)
tests/test_signal_processing.py:139
Method
test_graph_surfaces_review
(self)
tests/test_signal_processing.py:136
Method
test_grok_default
(self)
tests/test_capabilities.py:105
Method
test_header_contains_band_and_score
(self)
tests/test_structured_agents.py:321
Method
test_header_contains_confidence
(self)
tests/test_structured_agents.py:332
Function
test_helper_marks_empty_and_passes_through
()
tests/test_debate_opening.py:61
Function
test_helpful_error_when_langchain_aws_absent
(monkeypatch)
tests/test_bedrock_provider.py:30
Function
test_historical_request_always_uses_cache
(tmp_path)
tests/test_ohlcv_cache_freshness.py:53
Function
test_identity_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:16
Function
test_in_window_bounds_and_exclusive_upper
()
tests/test_social_lookahead.py:38
Function
test_in_window_undated_excluded_in_backtest_kept_live
()
tests/test_social_lookahead.py:50
Method
test_indicators_compute_after_index_rename
stockstats must compute indicators on a frame whose date column arrived as `index`, instead of erroring per indicator.
tests/test_stockstats_date_column.py:62
Method
test_injects_resolved_identity
(self)
tests/test_instrument_identity.py:76
Function
test_int_coercion
(monkeypatch)
tests/test_env_overrides.py:47
Function
test_invalid_bool_raises
A misspelled boolean must fail loudly (like ints) instead of silently False.
tests/test_env_overrides.py:114
Function
test_invalid_config_value_fails_loudly
()
tests/test_llm_max_retries.py:74
Function
test_invalid_int_raises
Garbage int values should surface a ValueError at import, not silently misconfigure.
tests/test_env_overrides.py:103
Function
test_invalid_key_not_mislabeled_as_rate_limit
(monkeypatch)
tests/test_alpha_vantage_hardening.py:49
Function
test_invalid_value_fails_loudly
()
tests/test_llm_max_tokens.py:85
Function
test_invoke_structured_falls_back_when_result_is_none
()
tests/test_structured_agents.py:157
Method
test_json_incomplete_read_falls_back_to_rss
(self)
tests/test_reddit_fallback.py:160
Method
test_json_posts_still_show_counts
(self)
tests/test_reddit_fallback.py:182
Method
test_keeps_all_analysts_for_stock
(self)
tests/test_crypto_asset_mode.py:34
Function
test_key_optionality
()
tests/test_provider_registry.py:52
Function
test_keyless_local_uses_placeholder_and_chat_completions
(monkeypatch)
tests/test_openai_compatible_provider.py:34
Function
test_known_providers_resolve
(provider, env_var)
tests/test_api_key_env.py:48
Method
test_known_providers_resolve
(self)
tests/test_cli_env_skip.py:17
Function
test_latest_in_range_nan_close_raises_not_silent_fallback
(monkeypatch, tmp_path)
tests/test_ohlcv_latest_bar.py:100
Method
test_leaves_existing_date_untouched
(self)
tests/test_stockstats_date_column.py:38
Function
test_legacy_entry_without_resolution_date_excluded_in_backtest
(tmp_path)
tests/test_memory_pointintime.py:58
Method
test_limit_caps_results
(self)
tests/test_polymarket.py:63
Method
test_list_input_returned_as_is
(self)
tests/test_deepseek_reasoning.py:35
Method
test_load_entries_empty_file
(self, tmp_path)
tests/test_memory_log.py:208
Method
test_load_entries_multiple
(self, tmp_path)
tests/test_memory_log.py:224
Method
test_load_entries_single
(self, tmp_path)
tests/test_memory_log.py:212
Function
test_load_ohlcv_refetches_stale_same_day_cache
End-to-end: the helper is actually wired into load_ohlcv's cache branch. Without this, the unit tests above would still pass if the helper were n
tests/test_ohlcv_cache_freshness.py:61
Function
test_load_ohlcv_requests_inclusive_end
(monkeypatch, tmp_path)
tests/test_date_boundaries.py:43
Function
test_load_ohlcv_reuses_fresh_same_day_cache
(tmp_path, monkeypatch)
tests/test_ohlcv_cache_freshness.py:95
Method
test_long_holiday_gap_within_threshold_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:57
Method
test_long_series_is_truncated_but_change_uses_full_range
(self)
tests/test_fred.py:123
Method
test_look_back_window_capped_at_30
(self, monkeypatch)
tests/test_market_data_validator.py:58
Method
test_lowercases_are_upper
(self)
tests/test_symbol_utils.py:21
Method
test_m2_1_rejects_tool_choice
(self)
tests/test_capabilities.py:73
Method
test_m2_7_highspeed_rejects_tool_choice
(self)
tests/test_capabilities.py:70
Method
test_m2_7_highspeed_suppresses_tool_choice
(self)
tests/test_minimax.py:63
Method
test_m2_7_rejects_tool_choice
(self)
tests/test_capabilities.py:65
Method
test_m2_7_suppresses_tool_choice
(self)
tests/test_minimax.py:58
Method
test_m2_base_rejects_tool_choice
(self)
tests/test_capabilities.py:76
Method
test_m2_x_requires_reasoning_split
(self)
tests/test_capabilities.py:79
Method
test_macro_category_routes_to_fred
(self)
tests/test_fred.py:179
Method
test_makes_no_llm_calls
SignalProcessor must not invoke the LLM it was constructed with — the rating is parseable from the rendered PM markdown directly.
tests/test_signal_processing.py:82
Method
test_malformed_xml_fails_open
(self)
tests/test_reddit_fallback.py:88
← previous
next →
601–700 of 974, ranked by callers