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
test_client_get_llm_picks_up_env
End-to-end: OllamaClient.get_llm() respects OLLAMA_BASE_URL.
tests/test_ollama_base_url.py:67
Method
test_closed_and_past_markets_are_excluded
(self)
tests/test_polymarket.py:50
Function
test_coerce_accepts_non_negative_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_retries.py:20
Function
test_coerce_accepts_positive_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_tokens.py:22
Function
test_coerce_rejects_booleans
(bad)
tests/test_llm_max_tokens.py:35
Function
test_coerce_rejects_booleans
(bad)
tests/test_llm_max_retries.py:33
Function
test_coerce_rejects_negative
(bad)
tests/test_llm_max_retries.py:26
Function
test_coerce_rejects_non_integers
(bad)
tests/test_llm_max_tokens.py:42
Function
test_coerce_rejects_non_integers
(bad)
tests/test_llm_max_retries.py:40
Function
test_coerce_rejects_non_positive
(bad)
tests/test_llm_max_tokens.py:28
Function
test_confirm_endpoint_marks_env_origin
(monkeypatch, capsys)
tests/test_ollama_base_url.py:131
Function
test_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
Function
test_confirm_endpoint_shows_default
(monkeypatch, capsys)
tests/test_ollama_base_url.py:120
Function
test_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
Function
test_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
Function
test_constraint_text_is_unambiguous
()
tests/test_structured_agent_prompts.py:144
Function
test_construction_when_extra_installed
(monkeypatch)
tests/test_bedrock_provider.py:73
Method
test_core_category_still_raises_on_error
(self)
tests/test_vendor_routing.py:113
Method
test_crash_and_resume
Crash at 'trader' node, then resume from checkpoint.
tests/test_checkpoint_resume.py:51
Function
test_cross_ticker_lessons_are_also_gated
(tmp_path)
tests/test_memory_pointintime.py:73
Method
test_cross_ticker_reflection_only
Cross-ticker entries show only the REFLECTION text, not the full DECISION.
tests/test_memory_log.py:795
Method
test_crypto_pair_requests_dot_x_endpoint
(self)
tests/test_stocktwits_resilience.py:68
Method
test_crypto_pair_searches_base
(self)
tests/test_reddit_fallback.py:210
Method
test_crypto_pairs_get_dash_usd
(self)
tests/test_symbol_utils.py:43
Method
test_crypto_uses_name_label_and_keeps_hint
(self)
tests/test_instrument_identity.py:91
Function
test_current_day_cache_past_ttl_is_refreshed
(tmp_path)
tests/test_ohlcv_cache_freshness.py:33
Method
test_current_opus_and_sonnet_receive_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:45
Method
test_custom_base_url_disables_responses_api
(self, monkeypatch)
tests/test_openai_responses_base_url.py:37
Method
test_custom_endpoints_are_not_native
(self)
tests/test_openai_responses_base_url.py:24
Method
test_custom_id_cancel_exits
(self)
tests/test_openrouter_model_select.py:100
Method
test_custom_language_cancel_defaults_english
(self)
tests/test_openrouter_model_select.py:119
Function
test_debate_path_map_covers_full_router_range
()
tests/test_risk_router_path_map.py:73
Function
test_debate_router_return_always_routable
(current_response)
tests/test_risk_router_path_map.py:66
Method
test_decision_content_preserved
(self, tmp_path)
tests/test_memory_log.py:233
Method
test_decision_with_markdown_separator
LLM decision containing '---' must not corrupt the entry.
tests/test_memory_log.py:197
Method
test_deepseek_chat_supports_tool_choice
(self)
tests/test_capabilities.py:14
Method
test_deepseek_reasoner_rejects_tool_choice
(self)
tests/test_capabilities.py:18
Method
test_deepseek_v4_flash_rejects_tool_choice
(self)
tests/test_capabilities.py:23
Method
test_deepseek_v4_pro_rejects_tool_choice
(self)
tests/test_capabilities.py:28
Function
test_default_is_none
(monkeypatch)
tests/test_llm_max_tokens.py:113
Function
test_default_is_none
(monkeypatch)
tests/test_llm_max_retries.py:90
Method
test_default_sentinel_uses_all_vendors
(self)
tests/test_vendor_routing.py:92
Method
test_default_temperature_is_none
(self, monkeypatch)
tests/test_temperature_config.py:55
Method
test_defaults_non_crypto_symbols_to_stock
(self)
tests/test_crypto_asset_mode.py:13
Method
test_delegates_to_rss_without_touching_json
(self)
tests/test_reddit_fallback.py:98
Method
test_descriptive_phrase_is_rejected
(self)
tests/test_fred.py:64
Function
test_detect_asset_type
(raw, expected)
tests/test_cli_symbol_handling.py:55
Method
test_detects_crypto_pair_symbols
(self)
tests/test_crypto_asset_mode.py:9
Method
test_different_date_starts_fresh
A different date must NOT resume from an existing checkpoint.
tests/test_checkpoint_resume.py:108
Method
test_different_signature_starts_fresh
(self)
tests/test_checkpoint_resume.py:168
Function
test_disabled_is_a_noop
()
tests/test_checkpoint_lifecycle.py:64
Method
test_dropdown_cancel_exits
(self)
tests/test_openrouter_model_select.py:94
Method
test_dropdown_prefers_mainstream_over_niche
(self)
tests/test_openrouter_model_select.py:53
Method
test_effort_env_skips_step8_prompt
(self)
tests/test_cli_env_skip.py:120
Method
test_empty
(self)
tests/test_reddit_fallback.py:71
Method
test_empty_download_raises_and_does_not_cache
(self)
tests/test_no_data_handling.py:34
Function
test_empty_env_value_is_passthrough
Empty TRADINGAGENTS_* values must not clobber the built-in default.
tests/test_env_overrides.py:92
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_market_report_omits_the_section_and_grounding
(self)
tests/test_structured_agents.py:217
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_tokens.py:119
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
Function
test_env_string_is_coerced
()
tests/test_llm_max_tokens.py:79
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:29
Method
test_explicit_label_overweight
(self)
tests/test_signal_processing.py:32
Method
test_explicit_label_wins_over_prose_with_markdown
(self)
tests/test_signal_processing.py:51
Method
test_explicit_label_with_markdown_bold_label
(self)
tests/test_signal_processing.py:39
Method
test_explicit_label_with_markdown_bold_value
(self)
tests/test_signal_processing.py:35
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:427
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:229
Method
test_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:304
← previous
next →
501–600 of 974, ranked by callers