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
Method
test_empty_frame_is_left_to_caller
(self)
tests/test_yfinance_stale_ohlcv_guard.py:51
Method
test_empty_input_passthrough
(self)
tests/test_symbol_utils.py:52
Method
test_empty_signature_is_legacy_id
(self)
tests/test_checkpoint_resume.py:152
Method
test_empty_string_omitted
(self)
tests/test_temperature_config.py:82
Method
test_empty_window_reports_no_observations
(self)
tests/test_fred.py:109
Method
test_energy_and_index_aliases
(self)
tests/test_symbol_utils.py:32
Method
test_english_adds_no_tokens
(self, monkeypatch)
tests/test_i18n_coverage.py:37
Function
test_ensure_api_key_no_op_for_ollama
(monkeypatch, cli_utils)
tests/test_api_key_env.py:83
Function
test_ensure_api_key_prompts_and_writes_to_env
When key is missing, user-pasted value must be written to .env AND os.environ.
tests/test_api_key_env.py:99
Function
test_ensure_api_key_returns_existing
(monkeypatch, cli_utils)
tests/test_api_key_env.py:77
Function
test_ensure_api_key_unknown_provider_no_prompt
(monkeypatch, cli_utils)
tests/test_api_key_env.py:92
Function
test_ensure_api_key_updates_existing_env_file
An existing .env with other keys must be preserved on writeback.
tests/test_api_key_env.py:134
Function
test_ensure_api_key_user_cancels_returns_none
Empty prompt response (user cancelled) must not write to .env.
tests/test_api_key_env.py:116
Function
test_env_backend_url_precedence
()
tests/test_openai_compatible_provider.py:69
Method
test_env_config_skips_llm_prompts
(self)
tests/test_cli_env_skip.py:35
Function
test_env_override_sets_config
(monkeypatch)
tests/test_llm_max_retries.py:96
Function
test_env_round_counts_win_over_selection
(monkeypatch)
tests/test_cli_config_precedence.py:36
Method
test_env_sets_temperature
(self, monkeypatch)
tests/test_temperature_config.py:45
Method
test_equity_passes_through
(self)
tests/test_reddit_fallback.py:213
Function
test_every_select_llm_provider_choice_has_an_entry
select_llm_provider() must not present a provider the mapping doesn't know about.
tests/test_api_key_env.py:15
Method
test_exact_match_precedes_pattern
deepseek-chat must NOT match the v\\d regex.
tests/test_capabilities.py:113
Method
test_excludes_future_rows
(self, monkeypatch)
tests/test_market_data_validator.py:26
Function
test_explicit_base_url_overrides_env
An explicit base_url passed to the client wins over the env var.
tests/test_ollama_base_url.py:76
Method
test_explicit_label_buy
(self)
tests/test_signal_processing.py:23
Method
test_explicit_label_overweight
(self)
tests/test_signal_processing.py:26
Method
test_explicit_label_wins_over_prose_with_markdown
(self)
tests/test_signal_processing.py:45
Method
test_explicit_label_with_markdown_bold_label
(self)
tests/test_signal_processing.py:33
Method
test_explicit_label_with_markdown_bold_value
(self)
tests/test_signal_processing.py:29
Method
test_explicit_multi_vendor_falls_back_within_chain
(self)
tests/test_vendor_routing.py:67
Method
test_explicit_single_vendor_does_not_fall_back
(self)
tests/test_vendor_routing.py:58
Method
test_extracts_between_sc_markers_and_unescapes
(self)
tests/test_reddit_fallback.py:67
Function
test_factory_routes_bedrock
()
tests/test_bedrock_provider.py:17
Function
test_factory_routes_to_openai_client
()
tests/test_openai_compatible_provider.py:19
Method
test_fails_open_on_exception
(self)
tests/test_instrument_identity.py:52
Method
test_fallback_is_network_free_ticker_only
(self)
tests/test_instrument_identity.py:105
Method
test_fallback_respects_asset_type
(self)
tests/test_instrument_identity.py:114
Method
test_falls_back_to_all_when_no_mainstream
(self)
tests/test_openrouter_model_select.py:77
Method
test_falls_back_to_freetext_when_structured_call_fails
(self)
tests/test_structured_agents.py:401
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:203
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:278
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:394
Method
test_falls_back_to_short_name
(self)
tests/test_instrument_identity.py:40
Method
test_fetch_returns_delisted
Empty DataFrame → returns (None, None, None), no crash.
tests/test_memory_log.py:514
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 must not raise IndexError.
tests/test_memory_log.py:524
Method
test_fetch_returns_too_recent
Only 1 data point available → returns (None, None, None), no crash.
tests/test_memory_log.py:504
Method
test_fetch_returns_valid_ticker
(self)
tests/test_memory_log.py:489
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:807
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:20
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:444
Function
test_forwarded_across_providers
(provider)
tests/test_llm_max_retries.py:61
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:785
Method
test_full_pipeline_no_regression
propagate() completes and stores the decision after the redesign.
tests/test_memory_log.py:828
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:262
Method
test_get_past_context_empty
(self, tmp_path)
tests/test_memory_log.py:246
Method
test_get_past_context_pending_excluded
(self, tmp_path)
tests/test_memory_log.py:250
Method
test_get_past_context_same_ticker
(self, tmp_path)
tests/test_memory_log.py:255
Method
test_get_pending_returns_pending_only
(self, tmp_path)
tests/test_memory_log.py:235
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:67
Function
test_global_news_future_flat_article_excluded
(monkeypatch)
tests/test_news_lookahead.py:49
Method
test_gpt_default
(self)
tests/test_capabilities.py:100
Method
test_grok_default
(self)
tests/test_capabilities.py:105
Method
test_header_contains_band_and_score
(self)
tests/test_structured_agents.py:295
Method
test_header_contains_confidence
(self)
tests/test_structured_agents.py:306
Function
test_helpful_error_when_langchain_aws_absent
(monkeypatch)
tests/test_bedrock_provider.py:30
Function
test_identity_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:16
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_invoke_structured_falls_back_when_result_is_none
()
tests/test_structured_agents.py:156
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
← previous
next →
501–600 of 854, ranked by callers