MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions854 in github.com/TauricResearch/TradingAgents

Functiontest_keyless_local_uses_placeholder_and_chat_completions
(monkeypatch)
tests/test_openai_compatible_provider.py:34
Functiontest_known_providers_resolve
(provider, env_var)
tests/test_api_key_env.py:48
Methodtest_known_providers_resolve
(self)
tests/test_cli_env_skip.py:17
Methodtest_leaves_existing_date_untouched
(self)
tests/test_stockstats_date_column.py:38
Methodtest_limit_caps_results
(self)
tests/test_polymarket.py:63
Methodtest_list_input_returned_as_is
(self)
tests/test_deepseek_reasoning.py:35
Methodtest_load_entries_empty_file
(self, tmp_path)
tests/test_memory_log.py:203
Methodtest_load_entries_multiple
(self, tmp_path)
tests/test_memory_log.py:219
Methodtest_load_entries_single
(self, tmp_path)
tests/test_memory_log.py:207
Functiontest_load_ohlcv_requests_inclusive_end
(monkeypatch, tmp_path)
tests/test_date_boundaries.py:43
Methodtest_long_holiday_gap_within_threshold_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:57
Methodtest_long_series_is_truncated_but_change_uses_full_range
(self)
tests/test_fred.py:123
Methodtest_look_back_window_capped_at_30
(self, monkeypatch)
tests/test_market_data_validator.py:58
Methodtest_lowercases_are_upper
(self)
tests/test_symbol_utils.py:21
Methodtest_m2_1_rejects_tool_choice
(self)
tests/test_capabilities.py:73
Methodtest_m2_7_highspeed_rejects_tool_choice
(self)
tests/test_capabilities.py:70
Methodtest_m2_7_highspeed_suppresses_tool_choice
(self)
tests/test_minimax.py:63
Methodtest_m2_7_rejects_tool_choice
(self)
tests/test_capabilities.py:65
Methodtest_m2_7_suppresses_tool_choice
(self)
tests/test_minimax.py:58
Methodtest_m2_base_rejects_tool_choice
(self)
tests/test_capabilities.py:76
Methodtest_m2_x_requires_reasoning_split
(self)
tests/test_capabilities.py:79
Methodtest_macro_category_routes_to_fred
(self)
tests/test_fred.py:162
Methodtest_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
Methodtest_malformed_xml_fails_open
(self)
tests/test_reddit_fallback.py:88
Functiontest_market_toolnode_can_execute_verified_snapshot
()
tests/test_market_toolnode.py:14
Methodtest_mentions_exact_symbol_without_identity
(self)
tests/test_instrument_identity.py:70
Methodtest_message_includes_resolution
(self)
tests/test_symbol_utils.py:58
Methodtest_metal_aliases_map_to_futures
(self)
tests/test_symbol_utils.py:25
Methodtest_minimal_required_fields
(self)
tests/test_structured_agents.py:38
Methodtest_minimax_m3_inherits_thinking_quirks
(self)
tests/test_capabilities.py:51
Methodtest_missing_key_raises_not_configured
(self)
tests/test_fred.py:80
Methodtest_missing_value_is_skipped
(self)
tests/test_fred.py:103
Methodtest_models_sorted_newest_first
(self)
tests/test_openrouter_model_select.py:37
Methodtest_mythos_preview_receives_effort
(self, monkeypatch)
tests/test_anthropic_effort.py:70
Methodtest_n_cross_limit_respected
Only the n_cross most recent cross-ticker entries are included.
tests/test_memory_log.py:278
Methodtest_n_cross_limit_respected
More than 3 cross-ticker completed entries → only 3 injected.
tests/test_memory_log.py:773
Methodtest_n_same_limit_respected
Only the n_same most recent same-ticker entries are included.
tests/test_memory_log.py:269
Methodtest_n_same_limit_respected
More than 5 same-ticker completed entries → only 5 injected.
tests/test_memory_log.py:764
Methodtest_narrative_preserved_in_output
(self)
tests/test_structured_agents.py:315
Methodtest_native_openai_enables_responses_api
(self, monkeypatch)
tests/test_openai_responses_base_url.py:32
Methodtest_nested_dict_updates_merge_one_level_deep
(self)
tests/test_dataflows_config.py:55
Methodtest_network_error_degrades_gracefully
(self)
tests/test_polymarket.py:95
Functiontest_news_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:58
Functiontest_news_prompt_matches_get_news_signature
()
tests/test_news_analyst_prompt.py:22
Functiontest_no_bearer_token_omits_api_key
(monkeypatch)
tests/test_bedrock_provider.py:64
Methodtest_no_data_from_all_vendors_returns_sentinel
(self)
tests/test_no_data_handling.py:51
Methodtest_no_datelike_column_is_left_alone
(self)
tests/test_stockstats_date_column.py:42
Functiontest_no_env_uses_built_in_defaults
(monkeypatch)
tests/test_env_overrides.py:21
Methodtest_no_log_path_is_noop
(self)
tests/test_memory_log.py:289
Methodtest_no_matches_reports_clearly
(self)
tests/test_polymarket.py:87
Methodtest_no_rating_custom_default
(self)
tests/test_signal_processing.py:56
Methodtest_no_rating_returns_default
(self)
tests/test_signal_processing.py:53
Functiontest_no_thinking_level_is_omitted
()
tests/test_google_thinking_level.py:43
Methodtest_non_crypto_returns_none
(self)
tests/test_symbol_utils.py:89
Methodtest_non_english_emits_directive
(self)
tests/test_i18n_coverage.py:42
Methodtest_non_reasoning_minimax_does_not_get_reasoning_split
(self)
tests/test_capabilities.py:88
Methodtest_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
Functiontest_non_reasoning_model_drops_effort
(monkeypatch)
tests/test_openai_reasoning_effort.py:40
Methodtest_none_and_garbage_return_none
(self)
tests/test_reddit_fallback.py:60
Methodtest_none_omitted
(self)
tests/test_temperature_config.py:79
Functiontest_normalize_symbol_crypto_and_passthrough
(raw, expected)
tests/test_cli_symbol_handling.py:26
Methodtest_normalize_ticker_symbol_preserves_exchange_suffix
(self)
tests/test_ticker_symbol_handling.py:11
Methodtest_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
Methodtest_not_configured_degrades_gracefully
(self)
tests/test_fred.py:175
Methodtest_not_configured_falls_through_to_next_vendor
(self)
tests/test_vendor_errors.py:75
Methodtest_not_configured_is_a_value_error
(self)
tests/test_fred.py:85
Methodtest_not_configured_is_still_a_value_error
(self)
tests/test_vendor_errors.py:34
Functiontest_not_forwarded_when_unset
()
tests/test_llm_max_retries.py:54
Methodtest_old_messages_are_removed
(self)
tests/test_instrument_identity.py:155
Functiontest_ollama_has_no_key
()
tests/test_api_key_env.py:52
Methodtest_ollama_honors_base_url_env
(self)
tests/test_cli_env_skip.py:27
Functiontest_ollama_model_labels_no_local_suffix
Labels should no longer claim '(local)' since the endpoint is dynamic.
tests/test_ollama_base_url.py:172
Functiontest_ollama_offers_custom_model_id
Ollama users with custom-pulled models can pick 'Custom model ID'.
tests/test_ollama_base_url.py:180
Methodtest_openai_hosts_are_native
(self)
tests/test_openai_responses_base_url.py:20
Methodtest_openrouter_and_ollama_accept_custom_models_without_warning
(self)
tests/test_model_validation.py:46
Methodtest_optional_category_degrades_instead_of_raising
(self)
tests/test_vendor_routing.py:102
Methodtest_optional_fields_included_when_present
(self)
tests/test_structured_agents.py:47
Methodtest_optional_fields_omitted_when_absent
(self)
tests/test_structured_agents.py:62
Functiontest_optional_key_from_env
(monkeypatch)
tests/test_openai_compatible_provider.py:49
Methodtest_other_kwargs_still_forwarded_when_effort_skipped
Skipping effort must not break other passthrough kwargs.
tests/test_anthropic_effort.py:85
Methodtest_parses_atom_entries
(self)
tests/test_reddit_fallback.py:77
Methodtest_parses_offset_and_z
(self)
tests/test_reddit_fallback.py:56
Functiontest_partial_env_only_overrides_that_count
(monkeypatch)
tests/test_cli_config_precedence.py:47
Methodtest_partial_nested_update_preserves_existing_defaults
(self)
tests/test_dataflows_config.py:40
Methodtest_past_context_defaults_to_empty
(self)
tests/test_memory_log.py:683
Methodtest_past_context_in_initial_state
(self)
tests/test_memory_log.py:677
Functiontest_path_map_covers_full_router_range
()
tests/test_risk_router_path_map.py:47
Methodtest_pending_tag_format
(self, tmp_path)
tests/test_memory_log.py:156
Methodtest_placeholder_carries_resolved_identity
(self)
tests/test_instrument_identity.py:143
Methodtest_placeholder_is_not_bare_continue
(self)
tests/test_instrument_identity.py:135
Methodtest_plain_equities_unchanged
(self)
tests/test_symbol_utils.py:17
Methodtest_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
Methodtest_pm_no_past_context_no_section
PM prompt omits the lessons section entirely when past_context is empty.
tests/test_memory_log.py:699
Methodtest_pm_nullish_price_target_coerces_to_none
(self)
tests/test_structured_agents.py:91
Methodtest_pm_prompt_includes_past_context
(self)
tests/test_memory_log.py:690
Methodtest_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
Methodtest_portfolio_manager_no_memory_param
create_portfolio_manager accepts only llm; passing memory= raises TypeError.
tests/test_memory_log.py:821
Methodtest_prefers_precomputed_context
(self)
tests/test_instrument_identity.py:101
Methodtest_primary_error_is_logged_not_masked
(self)
tests/test_vendor_routing.py:74
Functiontest_pro_keeps_high
()
tests/test_google_thinking_level.py:38
← previousnext →601–700 of 854, ranked by callers