MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,834 in github.com/TauricResearch/TradingAgents

Functiontest_an_explicit_endpoint_wins_over_the_environment
()
tests/test_azure_client.py:25
Functiontest_an_id_token_for_another_sign_in_is_refused
(token, nonce)
tests/test_chatgpt_auth.py:130
Functiontest_an_id_token_signed_by_another_key_is_refused
()
tests/test_chatgpt_auth.py:136
Functiontest_an_indicator_that_could_not_be_read_is_not_shown_as_a_blank_value
The per-day fallback returned an empty string for a failed read, so the table rendered a row per day with nothing after the colon: an analyst read
tests/test_undated_tools_as_of.py:98
Functiontest_an_indicator_this_vendor_lacks_lets_the_next_one_serve_it
Returning prose counts as success to the router, so the chain stops at a vendor that cannot compute the indicator while the next one can.
tests/test_alpha_vantage_hardening.py:211
Functiontest_an_interactive_run_asks_for_the_html_page_and_opens_it
(monkeypatch, tmp_path)
tests/test_cli_headless.py:258
Functiontest_an_interactive_run_signs_in_again_through_the_login_command
(monkeypatch, capsys)
tests/test_chatgpt_provider.py:136
Methodtest_an_interrupted_pass_keeps_the_outcomes_it_finished
(self, tmp_path, monkeypatch)
tests/test_memory_log.py:1334
Functiontest_an_interrupted_run_resumes_from_its_checkpoint
(tmp_path, monkeypatch, offline)
tests/test_graph_end_to_end.py:151
Functiontest_an_unattended_run_contacts_no_server
(monkeypatch)
tests/test_cli_updates.py:60
Functiontest_an_unattended_run_with_a_dead_sign_in_says_how_to_sign_in
(monkeypatch, capsys)
tests/test_chatgpt_provider.py:127
Functiontest_an_unavailable_notice_names_no_date_after_the_run
A notice explaining why data is missing named where the vendor's coverage starts or today's date, both after a historical run's date.
tests/test_undated_tools_as_of.py:242
Functiontest_an_unavailable_screen_keeps_every_post_and_says_so
()
tests/test_reddit_fallback.py:304
Methodtest_an_unavailable_vendor_keeps_absence_from_being_claimed
(self)
tests/test_vendor_errors.py:97
Functiontest_an_unknown_analyst_error_names_the_analysts_as_users_know_them
()
tests/test_cli_headless.py:180
Functiontest_an_unknown_provider_drops_itself_and_its_models
()
tests/test_cli_prefs.py:67
Functiontest_an_unpadded_date_reaches_the_vendor_in_canonical_form
()
tests/test_tool_date_enforcement.py:135
Functiontest_an_unreachable_openai_stops_the_run_without_a_new_sign_in
(monkeypatch, capsys)
tests/test_chatgpt_provider.py:201
Functiontest_an_unreachable_vendor_is_not_reported_as_a_missing_symbol
yfinance returns an empty frame when it cannot reach Yahoo, with no exception. Reporting that as "no data for AAPL" tells the analyst the comp
tests/test_undated_tools_as_of.py:148
Functiontest_an_unreachable_yahoo_is_not_reported_as_a_symbol_without_insider_data
()
tests/test_no_data_handling.py:98
Functiontest_an_unreadable_cache_is_no_news
(tmp_path, monkeypatch)
tests/test_cli_updates.py:230
Methodtest_an_unreadable_decision_is_tagged_for_review
Not a Hold: a fabricated rating is quoted back to the next run as a call that was never made, and counted in the backtest figures.
tests/test_memory_log.py:195
Functiontest_an_unreadable_renewal_answer_keeps_a_token_that_still_works
(home, openai)
tests/test_chatgpt_auth.py:414
Functiontest_an_unscored_decision_is_left_out_of_the_backtest_figures
REVIEW has no direction, so it cannot count for or against the system.
tests/test_rating_integrity.py:98
Methodtest_analysts_are_named_and_checked_against_the_asset
(self)
tests/test_cli_headless.py:39
Functiontest_analysts_are_narrowed_to_the_asset_type
()
tests/test_cli_prefs.py:74
Methodtest_analysts_run_together_and_finish_on_their_own_reports
(self)
tests/test_cli_display.py:132
Functiontest_another_account_cannot_replace_the_signed_in_one
(home, openai)
tests/test_chatgpt_auth.py:372
Functiontest_any_failure_to_price_a_decision_is_reported
(tmp_path, monkeypatch)
tests/test_memory_log.py:1367
Functiontest_any_model_accepted_no_forced_key
()
tests/test_openai_compatible_provider.py:57
Methodtest_api_key_handling
(self, mock_chat)
tests/test_google_api_key.py:14
Functiontest_api_organization_and_project_do_not_travel_with_the_sign_in
(signed_in, monkeypatch)
tests/test_chatgpt_provider.py:174
Functiontest_as_of_excludes_lessons_resolved_after_the_run_date
(tmp_path)
tests/test_memory_pointintime.py:37
Functiontest_as_of_takes_the_earlier_date
(requested, expected)
tests/test_tool_date_enforcement.py:33
Functiontest_as_of_window
(start, end, expected)
tests/test_tool_date_enforcement.py:50
Functiontest_as_of_without_a_trade_date_passes_the_request_through
()
tests/test_tool_date_enforcement.py:38
Functiontest_backtest_can_continue_an_interrupted_sweep
Resuming is what makes a long sweep practical, and the Python API has it.
tests/test_cli_commands.py:103
Functiontest_backtest_does_not_also_run_an_analysis
(runner, monkeypatch, tmp_path)
tests/test_cli_commands.py:39
Functiontest_backtest_refuses_a_selection_before_the_sweep
(runner, monkeypatch, args)
tests/test_cli_commands.py:180
Functiontest_backtest_rejects_input_that_would_sweep_nothing
An inverted range or an empty ticker list reported a clean zero-cell run, which reads as 'nothing to find' rather than 'you asked for nothing'.
tests/test_cli_commands.py:121
Functiontest_backtest_reports_a_bad_date_instead_of_a_traceback
(runner)
tests/test_cli_commands.py:56
Functiontest_backtest_reports_a_setup_failure_in_one_line
A missing key or a bad analyst name produced a raw traceback.
tests/test_cli_commands.py:130
Functiontest_backtest_shows_each_cell_and_how_to_continue
(runner, monkeypatch, tmp_path)
tests/test_cli_commands.py:144
Functiontest_backtest_takes_its_analysts_as_an_analysis_does
(runner, monkeypatch, tmp_path, args, analysts)
tests/test_cli_commands.py:164
Methodtest_bars_stamped_in_different_time_zones_meet_on_their_dates
(self, monkeypatch)
tests/test_memory_log.py:1125
Functiontest_base_url_required
(monkeypatch)
tests/test_openai_compatible_provider.py:25
Methodtest_batch_update_resolves_multiple_entries
batch_update_with_outcomes resolves multiple pending entries in one write.
tests/test_memory_log.py:155
Functiontest_bearer_token_passed_as_api_key
(monkeypatch)
tests/test_bedrock_provider.py:53
Functiontest_bedrock_any_model_and_no_key_env
()
tests/test_bedrock_provider.py:23
Functiontest_begin_returns_thread_id_and_recompiles
()
tests/test_checkpoint_lifecycle.py:72
Methodtest_bm25_not_imported
rank_bm25 must not be present in the memory module namespace.
tests/test_memory_log.py:912
Functiontest_bool_coercion
(monkeypatch, raw, expected)
tests/test_env_overrides.py:66
Methodtest_both_round_envs_skip_depth_prompt
(self)
tests/test_cli_env_skip.py:87
Methodtest_build_instrument_context_mentions_exact_symbol
(self)
tests/test_ticker_symbol_handling.py:14
Methodtest_build_plan_preserves_selected_order
(self)
tests/test_analyst_execution.py:9
Methodtest_canonical_defaults_to_symbol
(self)
tests/test_symbols.py:82
Functiontest_capabilities_dataclass_is_frozen
Capability rows are immutable so they can be safely shared.
tests/test_capabilities.py:169
Functiontest_capital_expenditure_is_found_under_either_tag_filers_use
NVIDIA and Amazon report purchases of productive assets, not of property and equipment.
tests/test_sec_edgar.py:230
Methodtest_capture_on_receive
When the response carries reasoning_content, it lands on the AIMessage's additional_kwargs so the next turn can echo it back.
tests/test_deepseek_reasoning.py:65
Functiontest_case_insensitive_lookup
()
tests/test_api_key_env.py:61
Methodtest_category_routes_to_polymarket
(self)
tests/test_polymarket.py:127
Methodtest_chat_prompt_value_unwrapped
(self)
tests/test_deepseek_reasoning.py:39
Methodtest_chat_sends_tool_choice
(self)
tests/test_deepseek_reasoning.py:144
Functiontest_chatgpt_is_offered_under_subscription_after_anthropic
()
tests/test_chatgpt_provider.py:93
Functiontest_checkpoint_flag_overrides_env
(flag)
tests/test_cli_config_precedence.py:66
Functiontest_checkpoint_input_is_none_only_when_resuming
()
tests/test_checkpoint_lifecycle.py:86
Functiontest_checkpoint_none_preserves_env_default
()
tests/test_cli_config_precedence.py:58
Functiontest_checkpoint_signature_changes_with_the_portfolio
(tmp_path)
tests/test_portfolio_context.py:148
Methodtest_claude_5_family_receives_effort
(self, monkeypatch, model)
tests/test_anthropic_effort.py:68
Functiontest_clean_dataframe_keeps_nan_close_for_the_caller_to_inspect
()
tests/test_ohlcv_latest_bar.py:79
Methodtest_clean_handles_index_column
A frame with `index` instead of `Date` must still clean to a usable, date-parsed frame (was KeyError: 'Date').
tests/test_ohlcv_date_column.py:52
Methodtest_clean_handles_legacy_date_column
(self)
tests/test_ohlcv_date_column.py:60
Functiontest_cleaning_a_frame_with_undated_rows_writes_to_its_own_copy
()
tests/test_ohlcv_date_column.py:76
Methodtest_clear_checkpoint_allows_fresh_start
After clearing, the graph starts from scratch.
tests/test_checkpoint_resume.py:78
Functiontest_clearing_removes_the_database_sidecars
SQLite writes -wal and -shm next to the database; leaving them behind means a cleared checkpoint still has committed state on disk.
tests/test_checkpoint_lifecycle.py:157
Methodtest_cli_catalog_models_are_all_validator_approved
(self)
tests/test_model_validation.py:26
Functiontest_cli_normalize_delegates_to_data_layer
()
tests/test_cli_symbol_handling.py:63
Functiontest_cli_passes_a_valid_portfolio_into_the_run
(tmp_path, monkeypatch)
tests/test_portfolio_context.py:270
Functiontest_cli_rejects_an_unusable_portfolio_file_before_running
(tmp_path, monkeypatch)
tests/test_portfolio_context.py:254
Functiontest_cli_run_uses_the_memory_log_like_propagate
(tmp_path, monkeypatch)
tests/test_cli_memory_log.py:143
Functiontest_cli_style_usage_saves_then_resumes
()
tests/test_checkpoint_lifecycle.py:118
Functiontest_client_get_llm_picks_up_env
End-to-end: OllamaClient.get_llm() respects OLLAMA_BASE_URL.
tests/test_ollama_base_url.py:60
Methodtest_closed_and_past_markets_are_excluded
(self)
tests/test_polymarket.py:51
Functiontest_coerce_accepts_non_negative_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_retries.py:19
Functiontest_coerce_accepts_positive_ints_and_numeric_strings
(value, expected)
tests/test_llm_max_tokens.py:21
Functiontest_coerce_rejects_booleans
(bad)
tests/test_llm_max_tokens.py:34
Functiontest_coerce_rejects_booleans
(bad)
tests/test_llm_max_retries.py:32
Functiontest_coerce_rejects_negative
(bad)
tests/test_llm_max_retries.py:25
Functiontest_coerce_rejects_non_integers
(bad)
tests/test_llm_max_tokens.py:41
Functiontest_coerce_rejects_non_integers
(bad)
tests/test_llm_max_retries.py:39
Functiontest_coerce_rejects_non_positive
(bad)
tests/test_llm_max_tokens.py:27
Functiontest_company_facts_are_fetched_once_per_company_not_once_per_date
A sweep asks for many dates; the filing history is the same file.
tests/test_sec_edgar.py:122
Functiontest_completed_run_clears_the_checkpoint_it_wrote
The clear must key on the same portfolio the run was checkpointed under. Keyed on a different one it deletes nothing, and the next identical call
tests/test_portfolio_context.py:207
Functiontest_concurrent_runs_each_read_their_own_config
()
tests/test_dataflows_config.py:114
Functiontest_concurrent_runs_renew_once_and_never_replay_a_used_refresh_token
(home, openai)
tests/test_chatgpt_auth.py:182
Functiontest_concurrent_writers_keep_every_decision_and_outcome
Graphs sharing one log record and settle at the same time; none may lose another's write.
tests/test_memory_log.py:1070
Functiontest_confirm_endpoint_marks_env_origin
(monkeypatch, capsys)
tests/test_ollama_base_url.py:96
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:124
Functiontest_confirm_endpoint_shows_default
(monkeypatch, capsys)
tests/test_ollama_base_url.py:86
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:105
← previousnext →1,001–1,100 of 1,834, ranked by callers