MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions854 in github.com/TauricResearch/TradingAgents

Methodtest_empty_frame_is_left_to_caller
(self)
tests/test_yfinance_stale_ohlcv_guard.py:51
Methodtest_empty_input_passthrough
(self)
tests/test_symbol_utils.py:52
Methodtest_empty_signature_is_legacy_id
(self)
tests/test_checkpoint_resume.py:152
Methodtest_empty_string_omitted
(self)
tests/test_temperature_config.py:82
Methodtest_empty_window_reports_no_observations
(self)
tests/test_fred.py:109
Methodtest_energy_and_index_aliases
(self)
tests/test_symbol_utils.py:32
Methodtest_english_adds_no_tokens
(self, monkeypatch)
tests/test_i18n_coverage.py:37
Functiontest_ensure_api_key_no_op_for_ollama
(monkeypatch, cli_utils)
tests/test_api_key_env.py:83
Functiontest_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
Functiontest_ensure_api_key_returns_existing
(monkeypatch, cli_utils)
tests/test_api_key_env.py:77
Functiontest_ensure_api_key_unknown_provider_no_prompt
(monkeypatch, cli_utils)
tests/test_api_key_env.py:92
Functiontest_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
Functiontest_ensure_api_key_user_cancels_returns_none
Empty prompt response (user cancelled) must not write to .env.
tests/test_api_key_env.py:116
Functiontest_env_backend_url_precedence
()
tests/test_openai_compatible_provider.py:69
Methodtest_env_config_skips_llm_prompts
(self)
tests/test_cli_env_skip.py:35
Functiontest_env_override_sets_config
(monkeypatch)
tests/test_llm_max_retries.py:96
Functiontest_env_round_counts_win_over_selection
(monkeypatch)
tests/test_cli_config_precedence.py:36
Methodtest_env_sets_temperature
(self, monkeypatch)
tests/test_temperature_config.py:45
Methodtest_equity_passes_through
(self)
tests/test_reddit_fallback.py:213
Functiontest_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
Methodtest_exact_match_precedes_pattern
deepseek-chat must NOT match the v\\d regex.
tests/test_capabilities.py:113
Methodtest_excludes_future_rows
(self, monkeypatch)
tests/test_market_data_validator.py:26
Functiontest_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
Methodtest_explicit_label_buy
(self)
tests/test_signal_processing.py:23
Methodtest_explicit_label_overweight
(self)
tests/test_signal_processing.py:26
Methodtest_explicit_label_wins_over_prose_with_markdown
(self)
tests/test_signal_processing.py:45
Methodtest_explicit_label_with_markdown_bold_label
(self)
tests/test_signal_processing.py:33
Methodtest_explicit_label_with_markdown_bold_value
(self)
tests/test_signal_processing.py:29
Methodtest_explicit_multi_vendor_falls_back_within_chain
(self)
tests/test_vendor_routing.py:67
Methodtest_explicit_single_vendor_does_not_fall_back
(self)
tests/test_vendor_routing.py:58
Methodtest_extracts_between_sc_markers_and_unescapes
(self)
tests/test_reddit_fallback.py:67
Functiontest_factory_routes_bedrock
()
tests/test_bedrock_provider.py:17
Functiontest_factory_routes_to_openai_client
()
tests/test_openai_compatible_provider.py:19
Methodtest_fails_open_on_exception
(self)
tests/test_instrument_identity.py:52
Methodtest_fallback_is_network_free_ticker_only
(self)
tests/test_instrument_identity.py:105
Methodtest_fallback_respects_asset_type
(self)
tests/test_instrument_identity.py:114
Methodtest_falls_back_to_all_when_no_mainstream
(self)
tests/test_openrouter_model_select.py:77
Methodtest_falls_back_to_freetext_when_structured_call_fails
(self)
tests/test_structured_agents.py:401
Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:203
Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:278
Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:394
Methodtest_falls_back_to_short_name
(self)
tests/test_instrument_identity.py:40
Methodtest_fetch_returns_delisted
Empty DataFrame → returns (None, None, None), no crash.
tests/test_memory_log.py:514
Functiontest_fetch_returns_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:36
Methodtest_fetch_returns_spy_shorter_than_stock
SPY having fewer rows than the stock must not raise IndexError.
tests/test_memory_log.py:524
Methodtest_fetch_returns_too_recent
Only 1 data point available → returns (None, None, None), no crash.
tests/test_memory_log.py:504
Methodtest_fetch_returns_valid_ticker
(self)
tests/test_memory_log.py:489
Methodtest_filters_out_fundamentals_analyst_for_crypto
(self)
tests/test_crypto_asset_mode.py:17
Methodtest_financial_situation_memory_removed
FinancialSituationMemory must not be importable from the memory module.
tests/test_memory_log.py:807
Functiontest_flash_passes_thinking_level_through
(level)
tests/test_google_thinking_level.py:27
Functiontest_flat_article_publish_time_is_parsed
()
tests/test_news_lookahead.py:20
Methodtest_float_passthrough
(self)
tests/test_temperature_config.py:76
Methodtest_float_string_coerced
(self)
tests/test_temperature_config.py:73
Methodtest_forex_pairs_get_x_suffix
(self)
tests/test_symbol_utils.py:38
Methodtest_formats_summary_in_plan_order
(self)
tests/test_analyst_execution.py:54
Methodtest_formatting_roundtrip_after_update
All fields intact and blank line between tag and DECISION preserved after update.
tests/test_memory_log.py:444
Functiontest_forwarded_across_providers
(provider)
tests/test_llm_max_retries.py:61
Functiontest_forwarded_env_string_is_coerced
()
tests/test_llm_max_retries.py:67
Methodtest_full_cycle_store_resolve_inject
store pending → resolve with outcome → past_context non-empty for PM.
tests/test_memory_log.py:785
Methodtest_full_pipeline_no_regression
propagate() completes and stores the decision after the redesign.
tests/test_memory_log.py:828
Functiontest_fundamentals_look_ahead_filter_runs_on_json_string
(monkeypatch)
tests/test_alpha_vantage_hardening.py:76
Functiontest_fundamentals_no_curr_date_passes_through
(monkeypatch)
tests/test_alpha_vantage_hardening.py:88
Functiontest_fundamentals_non_json_body_unchanged
(monkeypatch)
tests/test_alpha_vantage_hardening.py:94
Methodtest_future_deepseek_v5_inherits_thinking_quirks
(self)
tests/test_capabilities.py:38
Methodtest_future_deepseek_v9_inherits_thinking_quirks
(self)
tests/test_capabilities.py:43
Methodtest_future_m3_inherits_reasoning_split
(self)
tests/test_capabilities.py:85
Methodtest_future_minimax_m4_highspeed_inherits_thinking_quirks
(self)
tests/test_capabilities.py:55
Methodtest_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
Methodtest_future_v_variant_via_regex
Forward-compat: unknown deepseek-v\\d-* IDs inherit V4 quirks.
tests/test_deepseek_reasoning.py:165
Methodtest_get_config_returns_deep_copy
(self)
tests/test_dataflows_config.py:17
Methodtest_get_initial_analyst_node_uses_plan_metadata
(self)
tests/test_analyst_execution.py:24
Methodtest_get_macro_data_returns_guidance_on_bad_indicator
(self)
tests/test_fred.py:71
Functiontest_get_news_takes_ticker_not_query
()
tests/test_news_analyst_prompt.py:15
Methodtest_get_past_context_cross_ticker
(self, tmp_path)
tests/test_memory_log.py:262
Methodtest_get_past_context_empty
(self, tmp_path)
tests/test_memory_log.py:246
Methodtest_get_past_context_pending_excluded
(self, tmp_path)
tests/test_memory_log.py:250
Methodtest_get_past_context_same_ticker
(self, tmp_path)
tests/test_memory_log.py:255
Methodtest_get_pending_returns_pending_only
(self, tmp_path)
tests/test_memory_log.py:235
Methodtest_get_yfin_data_online_raises_on_stale_frame
(self)
tests/test_yfinance_stale_ohlcv_guard.py:63
Functiontest_get_yfin_requests_inclusive_end
(monkeypatch)
tests/test_date_boundaries.py:16
Functiontest_global_news_empty_after_filter_is_informative
(monkeypatch)
tests/test_news_lookahead.py:67
Functiontest_global_news_future_flat_article_excluded
(monkeypatch)
tests/test_news_lookahead.py:49
Methodtest_gpt_default
(self)
tests/test_capabilities.py:100
Methodtest_grok_default
(self)
tests/test_capabilities.py:105
Methodtest_header_contains_band_and_score
(self)
tests/test_structured_agents.py:295
Methodtest_header_contains_confidence
(self)
tests/test_structured_agents.py:306
Functiontest_helpful_error_when_langchain_aws_absent
(monkeypatch)
tests/test_bedrock_provider.py:30
Functiontest_identity_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:16
Methodtest_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
Methodtest_injects_resolved_identity
(self)
tests/test_instrument_identity.py:76
Functiontest_int_coercion
(monkeypatch)
tests/test_env_overrides.py:47
Functiontest_invalid_bool_raises
A misspelled boolean must fail loudly (like ints) instead of silently False.
tests/test_env_overrides.py:114
Functiontest_invalid_config_value_fails_loudly
()
tests/test_llm_max_retries.py:74
Functiontest_invalid_int_raises
Garbage int values should surface a ValueError at import, not silently misconfigure.
tests/test_env_overrides.py:103
Functiontest_invalid_key_not_mislabeled_as_rate_limit
(monkeypatch)
tests/test_alpha_vantage_hardening.py:49
Functiontest_invoke_structured_falls_back_when_result_is_none
()
tests/test_structured_agents.py:156
Methodtest_json_incomplete_read_falls_back_to_rss
(self)
tests/test_reddit_fallback.py:160
Methodtest_json_posts_still_show_counts
(self)
tests/test_reddit_fallback.py:182
Methodtest_keeps_all_analysts_for_stock
(self)
tests/test_crypto_asset_mode.py:34
Functiontest_key_optionality
()
tests/test_provider_registry.py:52
← previousnext →501–600 of 854, ranked by callers