MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,834 in github.com/TauricResearch/TradingAgents

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:115
Functiontest_conflict_alone_is_not_a_hold_trigger
(source)
tests/test_structured_agents.py:498
Methodtest_connection_error_before_any_response_carries_no_key
(self)
tests/test_fred.py:292
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:114
Functiontest_coverage_gap_boundaries
(dates, expect_gap)
tests/test_news_lookahead.py:169
Functiontest_coverage_gap_future_window_is_unavailable
()
tests/test_news_lookahead.py:339
Methodtest_crash_and_resume
Crash at 'trader' node, then resume from checkpoint.
tests/test_checkpoint_resume.py:50
Functiontest_create_run_state_renders_the_portfolio_once
(tmp_path)
tests/test_portfolio_context.py:140
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:856
Methodtest_crypto_pair_requests_dot_x_endpoint
(self)
tests/test_stocktwits_resilience.py:69
Methodtest_crypto_pair_searches_base
(self)
tests/test_reddit_fallback.py:187
Methodtest_crypto_pairs_get_dash_usd
(self)
tests/test_symbols.py:39
Methodtest_crypto_uses_name_label_and_keeps_hint
(self)
tests/test_instrument_identity.py:99
Functiontest_current_day_cache_past_ttl_is_not_fresh
(tmp_path)
tests/test_ohlcv_cache_freshness.py:48
Methodtest_current_opus_and_sonnet_receive_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:47
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
Functiontest_decision_agents_see_the_portfolio
The prompt each decision agent sends carries the portfolio block.
tests/test_portfolio_context.py:164
Methodtest_decision_content_preserved
(self, tmp_path)
tests/test_memory_log.py:253
Methodtest_decision_with_markdown_separator
LLM decision containing '---' must not corrupt the entry.
tests/test_memory_log.py:217
Functiontest_declining_the_html_page_saves_only_the_markdown
(monkeypatch, tmp_path)
tests/test_cli_headless.py:285
Methodtest_deepseek_chat_supports_tool_choice
(self)
tests/test_capabilities.py:14
Methodtest_deepseek_flash_alias_rejects_tool_choice
``deepseek-flash`` is what the model picker offers for V4.1 Flash. It was falling through to _DEFAULT (tool_choice on), so every stru
tests/test_capabilities.py:28
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:39
Functiontest_default_is_none
(monkeypatch)
tests/test_llm_max_tokens.py:108
Functiontest_default_is_none
(monkeypatch)
tests/test_llm_max_retries.py:85
Methodtest_default_sentinel_uses_all_vendors
(self)
tests/test_vendor_routing.py:93
Methodtest_default_temperature_is_none
(self, monkeypatch)
tests/test_temperature_config.py:52
Methodtest_defaults_non_crypto_symbols_to_stock
(self)
tests/test_crypto_asset_mode.py:13
Methodtest_descriptive_phrase_is_rejected
(self)
tests/test_fred.py:85
Functiontest_detect_asset_type
(raw, expected)
tests/test_cli_symbol_handling.py:59
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:106
Methodtest_different_signature_starts_fresh
(self)
tests/test_checkpoint_resume.py:166
Functiontest_direct_call_without_state_is_unchanged
()
tests/test_tool_date_enforcement.py:153
Functiontest_disabled_is_a_noop
()
tests/test_checkpoint_lifecycle.py:62
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
Functiontest_each_money_figure_carries_the_currency_it_is_in
Yahoo quotes London in pence but states EPS and market cap in pounds, and the income figures in the reporting currency (#1456).
tests/test_fundamentals_units.py:43
Functiontest_each_post_is_its_own_state_under_the_fixed_questions
(jev, post)
tests/test_post_screen.py:202
Functiontest_each_report_streams_as_soon_as_its_analyst_files_it
The main state takes the analysts' reports only when the slowest one is done; the CLI shows each report, and stops each clock, as it lands.
tests/test_graph_end_to_end.py:206
Functiontest_each_subreddit_keeps_its_own_quota
()
tests/test_reddit_fallback.py:255
Functiontest_each_tier_provider_s_key_is_checked_before_the_run
(monkeypatch)
tests/test_cli_headless.py:208
Functiontest_each_tier_s_provider_is_signed_in_or_keyed
(monkeypatch)
tests/test_chatgpt_provider.py:148
Methodtest_effort_env_skips_step8_prompt
(self)
tests/test_cli_env_skip.py:118
Methodtest_empty
(self)
tests/test_reddit_fallback.py:72
Functiontest_empty_body_still_passes_through
(monkeypatch)
tests/test_alpha_vantage_hardening.py:157
Methodtest_empty_download_raises_and_does_not_cache
(self)
tests/test_no_data_handling.py:36
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_symbols.py:48
Methodtest_empty_market_report_omits_the_section_and_grounding
(self)
tests/test_structured_agents.py:257
Functiontest_empty_path_value_keeps_the_default_path
.env.example lists the path variables blank; uncommenting one made the path empty, and the graph failed creating its directories.
tests/test_env_overrides.py:103
Functiontest_empty_report_removes_previous_sections_and_disabled_html
(tmp_path)
tests/test_reporting.py:83
Methodtest_empty_signature_is_legacy_id
(self)
tests/test_checkpoint_resume.py:150
Methodtest_empty_string_omitted
(self)
tests/test_temperature_config.py:75
Functiontest_empty_subreddit_on_a_full_page_is_not_called_empty
()
tests/test_reddit_fallback.py:265
Methodtest_empty_window_reports_no_observations
(self)
tests/test_fred.py:132
Methodtest_energy_and_index_aliases
(self)
tests/test_symbols.py:28
Methodtest_english_adds_no_tokens
(self, monkeypatch)
tests/test_i18n_coverage.py:37
Functiontest_ensure_api_key_no_op_for_ollama
(monkeypatch, prompts)
tests/test_api_key_env.py:82
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:98
Functiontest_ensure_api_key_returns_existing
(monkeypatch, prompts)
tests/test_api_key_env.py:76
Functiontest_ensure_api_key_unknown_provider_no_prompt
(monkeypatch, prompts)
tests/test_api_key_env.py:91
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:133
Functiontest_ensure_api_key_user_cancels_returns_none
Empty prompt response (user cancelled) must not write to .env.
tests/test_api_key_env.py:115
Functiontest_env_backend_url_precedence
()
tests/test_openai_compatible_provider.py:67
Methodtest_env_config_skips_llm_prompts
(self)
tests/test_cli_env_skip.py:37
Functiontest_env_override_sets_config
(monkeypatch)
tests/test_llm_max_tokens.py:114
Functiontest_env_override_sets_config
(monkeypatch)
tests/test_llm_max_retries.py:91
Functiontest_env_round_counts_win_over_selection
(monkeypatch)
tests/test_cli_config_precedence.py:37
Methodtest_env_sets_temperature
(self, monkeypatch)
tests/test_temperature_config.py:44
Functiontest_env_string_is_coerced
()
tests/test_llm_max_tokens.py:73
Methodtest_equity_passes_through
(self)
tests/test_reddit_fallback.py:190
Functiontest_error_without_the_key_in_its_message_still_drops_the_request
()
tests/test_fred.py:300
Methodtest_euro_area_aliases_map_to_series_ids
(self)
tests/test_fred.py:61
Functiontest_every_command_is_registered_when_run_as_a_module
README documents `python -m cli.main`, which executes the file top to bottom, so a command defined after the __main__ block would not exist.
tests/test_cli_commands.py:83
Functiontest_every_provider_lets_you_name_your_own_model
The docs tell users to name any model their provider serves; the picker has to offer that too, or a new model is unreachable until we ship a list.
tests/test_model_validation.py:81
Functiontest_every_row_has_one_cell_per_column
Every period's row lines up with the header, or the table is misread by position.
tests/test_sec_edgar.py:174
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:16
Functiontest_every_selected_analyst_is_in_progress_until_its_report_lands
()
tests/test_cli_display.py:147
Functiontest_every_ticker_is_settled_after_the_grid
Settlement runs at the start of the next same-ticker run, so the last date of each ticker would stay pending without an explicit pass.
tests/test_backtest.py:101
Methodtest_every_ticker_with_a_due_decision_is_settled
(self, tmp_path, monkeypatch)
tests/test_memory_log.py:1260
Functiontest_every_vendor_unavailable_says_so_rather_than_crashing
A throttled or unreachable chain used to raise RuntimeError('No available vendor'), which ends the run, and never said the vendor was the problem.
tests/test_undated_tools_as_of.py:170
Methodtest_exact_match_precedes_pattern
deepseek-chat must NOT match the v\\d regex.
tests/test_capabilities.py:128
Methodtest_excludes_future_rows
(self, monkeypatch)
tests/test_yahoo_snapshot.py:27
Functiontest_existing_key_file_is_tightened_before_writing
(monkeypatch, prompts, tmp_path)
tests/test_api_key_env.py:174
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:69
Methodtest_explicit_benchmark_is_resolved_like_any_other_symbol
A configured benchmark takes the same alias mapping as the ticker, or the return lookup finds nothing and the decision never settles.
tests/test_memory_log.py:640
Methodtest_explicit_label_buy
(self)
tests/test_signal_processing.py:18
Methodtest_explicit_label_overweight
(self)
tests/test_signal_processing.py:21
← previousnext →1,101–1,200 of 1,834, ranked by callers