MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions974 in github.com/TauricResearch/TradingAgents

Functiontest_client_get_llm_picks_up_env
End-to-end: OllamaClient.get_llm() respects OLLAMA_BASE_URL.
tests/test_ollama_base_url.py:67
Methodtest_closed_and_past_markets_are_excluded
(self)
tests/test_polymarket.py:50
Functiontest_coerce_accepts_non_negative_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_retries.py:20
Functiontest_coerce_accepts_positive_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_tokens.py:22
Functiontest_coerce_rejects_booleans
(bad)
tests/test_llm_max_tokens.py:35
Functiontest_coerce_rejects_booleans
(bad)
tests/test_llm_max_retries.py:33
Functiontest_coerce_rejects_negative
(bad)
tests/test_llm_max_retries.py:26
Functiontest_coerce_rejects_non_integers
(bad)
tests/test_llm_max_tokens.py:42
Functiontest_coerce_rejects_non_integers
(bad)
tests/test_llm_max_retries.py:40
Functiontest_coerce_rejects_non_positive
(bad)
tests/test_llm_max_tokens.py:28
Functiontest_confirm_endpoint_marks_env_origin
(monkeypatch, capsys)
tests/test_ollama_base_url.py:131
Functiontest_confirm_endpoint_quiet_on_local_no_port
Local host without port shouldn't trigger the remote-port hint.
tests/test_ollama_base_url.py:162
Functiontest_confirm_endpoint_shows_default
(monkeypatch, capsys)
tests/test_ollama_base_url.py:120
Functiontest_confirm_endpoint_warns_on_missing_scheme
If user sets OLLAMA_BASE_URL=0.0.0.128, advise on the expected shape.
tests/test_ollama_base_url.py:141
Functiontest_confirm_endpoint_warns_on_non_default_port_remote
A remote host with no :11434 gets a soft hint about port mismatch.
tests/test_ollama_base_url.py:152
Functiontest_constraint_text_is_unambiguous
()
tests/test_structured_agent_prompts.py:144
Functiontest_construction_when_extra_installed
(monkeypatch)
tests/test_bedrock_provider.py:73
Methodtest_core_category_still_raises_on_error
(self)
tests/test_vendor_routing.py:113
Methodtest_crash_and_resume
Crash at 'trader' node, then resume from checkpoint.
tests/test_checkpoint_resume.py:51
Functiontest_cross_ticker_lessons_are_also_gated
(tmp_path)
tests/test_memory_pointintime.py:73
Methodtest_cross_ticker_reflection_only
Cross-ticker entries show only the REFLECTION text, not the full DECISION.
tests/test_memory_log.py:795
Methodtest_crypto_pair_requests_dot_x_endpoint
(self)
tests/test_stocktwits_resilience.py:68
Methodtest_crypto_pair_searches_base
(self)
tests/test_reddit_fallback.py:210
Methodtest_crypto_pairs_get_dash_usd
(self)
tests/test_symbol_utils.py:43
Methodtest_crypto_uses_name_label_and_keeps_hint
(self)
tests/test_instrument_identity.py:91
Functiontest_current_day_cache_past_ttl_is_refreshed
(tmp_path)
tests/test_ohlcv_cache_freshness.py:33
Methodtest_current_opus_and_sonnet_receive_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:45
Methodtest_custom_base_url_disables_responses_api
(self, monkeypatch)
tests/test_openai_responses_base_url.py:37
Methodtest_custom_endpoints_are_not_native
(self)
tests/test_openai_responses_base_url.py:24
Methodtest_custom_id_cancel_exits
(self)
tests/test_openrouter_model_select.py:100
Methodtest_custom_language_cancel_defaults_english
(self)
tests/test_openrouter_model_select.py:119
Functiontest_debate_path_map_covers_full_router_range
()
tests/test_risk_router_path_map.py:73
Functiontest_debate_router_return_always_routable
(current_response)
tests/test_risk_router_path_map.py:66
Methodtest_decision_content_preserved
(self, tmp_path)
tests/test_memory_log.py:233
Methodtest_decision_with_markdown_separator
LLM decision containing '---' must not corrupt the entry.
tests/test_memory_log.py:197
Methodtest_deepseek_chat_supports_tool_choice
(self)
tests/test_capabilities.py:14
Methodtest_deepseek_reasoner_rejects_tool_choice
(self)
tests/test_capabilities.py:18
Methodtest_deepseek_v4_flash_rejects_tool_choice
(self)
tests/test_capabilities.py:23
Methodtest_deepseek_v4_pro_rejects_tool_choice
(self)
tests/test_capabilities.py:28
Functiontest_default_is_none
(monkeypatch)
tests/test_llm_max_tokens.py:113
Functiontest_default_is_none
(monkeypatch)
tests/test_llm_max_retries.py:90
Methodtest_default_sentinel_uses_all_vendors
(self)
tests/test_vendor_routing.py:92
Methodtest_default_temperature_is_none
(self, monkeypatch)
tests/test_temperature_config.py:55
Methodtest_defaults_non_crypto_symbols_to_stock
(self)
tests/test_crypto_asset_mode.py:13
Methodtest_delegates_to_rss_without_touching_json
(self)
tests/test_reddit_fallback.py:98
Methodtest_descriptive_phrase_is_rejected
(self)
tests/test_fred.py:64
Functiontest_detect_asset_type
(raw, expected)
tests/test_cli_symbol_handling.py:55
Methodtest_detects_crypto_pair_symbols
(self)
tests/test_crypto_asset_mode.py:9
Methodtest_different_date_starts_fresh
A different date must NOT resume from an existing checkpoint.
tests/test_checkpoint_resume.py:108
Methodtest_different_signature_starts_fresh
(self)
tests/test_checkpoint_resume.py:168
Functiontest_disabled_is_a_noop
()
tests/test_checkpoint_lifecycle.py:64
Methodtest_dropdown_cancel_exits
(self)
tests/test_openrouter_model_select.py:94
Methodtest_dropdown_prefers_mainstream_over_niche
(self)
tests/test_openrouter_model_select.py:53
Methodtest_effort_env_skips_step8_prompt
(self)
tests/test_cli_env_skip.py:120
Methodtest_empty
(self)
tests/test_reddit_fallback.py:71
Methodtest_empty_download_raises_and_does_not_cache
(self)
tests/test_no_data_handling.py:34
Functiontest_empty_env_value_is_passthrough
Empty TRADINGAGENTS_* values must not clobber the built-in default.
tests/test_env_overrides.py:92
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_market_report_omits_the_section_and_grounding
(self)
tests/test_structured_agents.py:217
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_tokens.py:119
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
Functiontest_env_string_is_coerced
()
tests/test_llm_max_tokens.py:79
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:29
Methodtest_explicit_label_overweight
(self)
tests/test_signal_processing.py:32
Methodtest_explicit_label_wins_over_prose_with_markdown
(self)
tests/test_signal_processing.py:51
Methodtest_explicit_label_with_markdown_bold_label
(self)
tests/test_signal_processing.py:39
Methodtest_explicit_label_with_markdown_bold_value
(self)
tests/test_signal_processing.py:35
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:427
Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:229
Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:304
← previousnext →501–600 of 974, ranked by callers