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
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
Method
test_leaves_existing_date_untouched
(self)
tests/test_stockstats_date_column.py:38
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:203
Method
test_load_entries_multiple
(self, tmp_path)
tests/test_memory_log.py:219
Method
test_load_entries_single
(self, tmp_path)
tests/test_memory_log.py:207
Function
test_load_ohlcv_requests_inclusive_end
(monkeypatch, tmp_path)
tests/test_date_boundaries.py:43
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:162
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:76
Method
test_malformed_xml_fails_open
(self)
tests/test_reddit_fallback.py:88
Function
test_market_toolnode_can_execute_verified_snapshot
()
tests/test_market_toolnode.py:14
Method
test_mentions_exact_symbol_without_identity
(self)
tests/test_instrument_identity.py:70
Method
test_message_includes_resolution
(self)
tests/test_symbol_utils.py:58
Method
test_metal_aliases_map_to_futures
(self)
tests/test_symbol_utils.py:25
Method
test_minimal_required_fields
(self)
tests/test_structured_agents.py:38
Method
test_minimax_m3_inherits_thinking_quirks
(self)
tests/test_capabilities.py:51
Method
test_missing_key_raises_not_configured
(self)
tests/test_fred.py:80
Method
test_missing_value_is_skipped
(self)
tests/test_fred.py:103
Method
test_models_sorted_newest_first
(self)
tests/test_openrouter_model_select.py:37
Method
test_mythos_preview_receives_effort
(self, monkeypatch)
tests/test_anthropic_effort.py:70
Method
test_n_cross_limit_respected
Only the n_cross most recent cross-ticker entries are included.
tests/test_memory_log.py:278
Method
test_n_cross_limit_respected
More than 3 cross-ticker completed entries → only 3 injected.
tests/test_memory_log.py:773
Method
test_n_same_limit_respected
Only the n_same most recent same-ticker entries are included.
tests/test_memory_log.py:269
Method
test_n_same_limit_respected
More than 5 same-ticker completed entries → only 5 injected.
tests/test_memory_log.py:764
Method
test_narrative_preserved_in_output
(self)
tests/test_structured_agents.py:315
Method
test_native_openai_enables_responses_api
(self, monkeypatch)
tests/test_openai_responses_base_url.py:32
Method
test_nested_dict_updates_merge_one_level_deep
(self)
tests/test_dataflows_config.py:55
Method
test_network_error_degrades_gracefully
(self)
tests/test_polymarket.py:95
Function
test_news_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:58
Function
test_news_prompt_matches_get_news_signature
()
tests/test_news_analyst_prompt.py:22
Function
test_no_bearer_token_omits_api_key
(monkeypatch)
tests/test_bedrock_provider.py:64
Method
test_no_data_from_all_vendors_returns_sentinel
(self)
tests/test_no_data_handling.py:51
Method
test_no_datelike_column_is_left_alone
(self)
tests/test_stockstats_date_column.py:42
Function
test_no_env_uses_built_in_defaults
(monkeypatch)
tests/test_env_overrides.py:21
Method
test_no_log_path_is_noop
(self)
tests/test_memory_log.py:289
Method
test_no_matches_reports_clearly
(self)
tests/test_polymarket.py:87
Method
test_no_rating_custom_default
(self)
tests/test_signal_processing.py:56
Method
test_no_rating_returns_default
(self)
tests/test_signal_processing.py:53
Function
test_no_thinking_level_is_omitted
()
tests/test_google_thinking_level.py:43
Method
test_non_crypto_returns_none
(self)
tests/test_symbol_utils.py:89
Method
test_non_english_emits_directive
(self)
tests/test_i18n_coverage.py:42
Method
test_non_reasoning_minimax_does_not_get_reasoning_split
(self)
tests/test_capabilities.py:88
Method
test_non_reasoning_minimax_does_not_inject_reasoning_split
Coding Plan / MiniMax-Text-01 / any non-M2-prefixed model must NOT receive reasoning_split at all (top-level or extra_body) (#826).
tests/test_minimax.py:35
Function
test_non_reasoning_model_drops_effort
(monkeypatch)
tests/test_openai_reasoning_effort.py:40
Method
test_none_and_garbage_return_none
(self)
tests/test_reddit_fallback.py:60
Method
test_none_omitted
(self)
tests/test_temperature_config.py:79
Function
test_normalize_symbol_crypto_and_passthrough
(raw, expected)
tests/test_cli_symbol_handling.py:26
Method
test_normalize_ticker_symbol_preserves_exchange_suffix
(self)
tests/test_ticker_symbol_handling.py:11
Method
test_normalized_does_not_propagate_reasoning_content
The general-purpose NormalizedChatOpenAI must not carry DeepSeek-specific behaviour. Only the subclass does.
tests/test_deepseek_reasoning.py:233
Method
test_not_configured_degrades_gracefully
(self)
tests/test_fred.py:175
Method
test_not_configured_falls_through_to_next_vendor
(self)
tests/test_vendor_errors.py:75
Method
test_not_configured_is_a_value_error
(self)
tests/test_fred.py:85
Method
test_not_configured_is_still_a_value_error
(self)
tests/test_vendor_errors.py:34
Function
test_not_forwarded_when_unset
()
tests/test_llm_max_retries.py:54
Method
test_old_messages_are_removed
(self)
tests/test_instrument_identity.py:155
Function
test_ollama_has_no_key
()
tests/test_api_key_env.py:52
Method
test_ollama_honors_base_url_env
(self)
tests/test_cli_env_skip.py:27
Function
test_ollama_model_labels_no_local_suffix
Labels should no longer claim '(local)' since the endpoint is dynamic.
tests/test_ollama_base_url.py:172
Function
test_ollama_offers_custom_model_id
Ollama users with custom-pulled models can pick 'Custom model ID'.
tests/test_ollama_base_url.py:180
Method
test_openai_hosts_are_native
(self)
tests/test_openai_responses_base_url.py:20
Method
test_openrouter_and_ollama_accept_custom_models_without_warning
(self)
tests/test_model_validation.py:46
Method
test_optional_category_degrades_instead_of_raising
(self)
tests/test_vendor_routing.py:102
Method
test_optional_fields_included_when_present
(self)
tests/test_structured_agents.py:47
Method
test_optional_fields_omitted_when_absent
(self)
tests/test_structured_agents.py:62
Function
test_optional_key_from_env
(monkeypatch)
tests/test_openai_compatible_provider.py:49
Method
test_other_kwargs_still_forwarded_when_effort_skipped
Skipping effort must not break other passthrough kwargs.
tests/test_anthropic_effort.py:85
Method
test_parses_atom_entries
(self)
tests/test_reddit_fallback.py:77
Method
test_parses_offset_and_z
(self)
tests/test_reddit_fallback.py:56
Function
test_partial_env_only_overrides_that_count
(monkeypatch)
tests/test_cli_config_precedence.py:47
Method
test_partial_nested_update_preserves_existing_defaults
(self)
tests/test_dataflows_config.py:40
Method
test_past_context_defaults_to_empty
(self)
tests/test_memory_log.py:683
Method
test_past_context_in_initial_state
(self)
tests/test_memory_log.py:677
Function
test_path_map_covers_full_router_range
()
tests/test_risk_router_path_map.py:47
Method
test_pending_tag_format
(self, tmp_path)
tests/test_memory_log.py:156
Method
test_placeholder_carries_resolved_identity
(self)
tests/test_instrument_identity.py:143
Method
test_placeholder_is_not_bare_continue
(self)
tests/test_instrument_identity.py:135
Method
test_plain_equities_unchanged
(self)
tests/test_symbol_utils.py:17
Method
test_pm_falls_back_to_freetext_when_structured_unavailable
If a provider does not support with_structured_output, the agent falls back to a plain invoke and returns whatever prose the model pro
tests/test_memory_log.py:730
Method
test_pm_no_past_context_no_section
PM prompt omits the lessons section entirely when past_context is empty.
tests/test_memory_log.py:699
Method
test_pm_nullish_price_target_coerces_to_none
(self)
tests/test_structured_agents.py:91
Method
test_pm_prompt_includes_past_context
(self)
tests/test_memory_log.py:690
Method
test_pm_returns_rendered_markdown_with_rating
The structured PortfolioDecision is rendered to markdown that downstream consumers (memory log, signal processor, CLI display) can par
tests/test_memory_log.py:708
Method
test_portfolio_manager_no_memory_param
create_portfolio_manager accepts only llm; passing memory= raises TypeError.
tests/test_memory_log.py:821
Method
test_prefers_precomputed_context
(self)
tests/test_instrument_identity.py:101
Method
test_primary_error_is_logged_not_masked
(self)
tests/test_vendor_routing.py:74
Function
test_pro_keeps_high
()
tests/test_google_thinking_level.py:38
← previous
next →
601–700 of 854, ranked by callers