MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,834 in github.com/TauricResearch/TradingAgents

Functiontest_a_refusal_has_no_rating_and_is_not_defaulted
()
tests/test_rating_integrity.py:56
Functiontest_a_refused_renewal_asks_to_sign_in_again_and_keeps_the_file
(home, openai)
tests/test_chatgpt_auth.py:196
Functiontest_a_region_specific_provider_survives
()
tests/test_cli_prefs.py:87
Functiontest_a_rejected_request_is_unavailable_not_data
Alpha Vantage answers a call it rejects with {"Error Message": ...}, for an unknown symbol and for a malformed call alike, so it says nothing abou
tests/test_alpha_vantage_hardening.py:68
Functiontest_a_remembered_chatgpt_choice_preselects_subscription
()
tests/test_chatgpt_provider.py:106
Functiontest_a_remembered_endpoint_is_offered_back
Users of a local or custom endpoint retyped the URL every run: it was remembered and validated, then never read.
tests/test_cli_prefs.py:141
Functiontest_a_remembered_openrouter_model_is_preselected
(monkeypatch)
tests/test_chatgpt_provider.py:231
Functiontest_a_remembered_plan_model_is_offered_again
()
tests/test_chatgpt_provider.py:184
Functiontest_a_renewal_for_another_account_is_refused
(home, openai)
tests/test_chatgpt_auth.py:205
Functiontest_a_replaced_file_keeps_the_usual_permissions
(tmp_path)
tests/test_cache_writes.py:58
Functiontest_a_report_that_was_never_produced_says_so
`--analysts market` leaves three reports empty; presenting them as blank sections invites the model to invent the contents.
tests/test_prompt_integrity.py:55
Functiontest_a_request_that_yfinance_would_swallow_is_unavailable
yfinance answers some failed requests with an empty result; an empty statement from a Yahoo whose host answers a probe read as "no data".
tests/test_yahoo_rate_limit.py:218
Functiontest_a_response_without_every_answer_is_an_error
(post, payload)
tests/test_post_screen.py:164
Functiontest_a_restated_figure_reads_as_it_did_at_the_time
The value published then, not the correction filed later.
tests/test_sec_edgar.py:74
Functiontest_a_result_whose_cells_all_failed_summarizes_as_empty
(tmp_path)
tests/test_backtest.py:331
Methodtest_a_resume_under_other_settings_starts_fresh
The report names one provider, model set, language and vendor chain; a resume must not carry reports another of them produced.
tests/test_checkpoint_resume.py:193
Functiontest_a_resumed_sweep_reports_only_the_cells_it_runs
(tmp_path)
tests/test_backtest.py:351
Functiontest_a_retired_model_id_still_runs_without_a_warning
A config written against an earlier release keeps working: the provider still serves these, they are just no longer offered in the picker.
tests/test_model_validation.py:95
Functiontest_a_retry_after_header_sets_the_wait
(post)
tests/test_post_screen.py:113
Functiontest_a_row_filed_only_year_to_date_keeps_its_figure_beside_a_row_filed_by_quarter
(monkeypatch)
tests/test_sec_edgar.py:312
Functiontest_a_run_config_missing_a_newer_key_still_reads_the_default
A config saved before a key existed must not fail inside a run.
tests/test_dataflows_config.py:196
Functiontest_a_run_does_not_wait_on_another_settlement_pass
The other pass settles the same log; a run's step goes on without waiting.
tests/test_memory_log.py:1382
Functiontest_a_run_id_cannot_escape_the_results_directory
run_id becomes a path segment, so it is validated like a ticker is.
tests/test_backtest.py:176
Functiontest_a_run_reads_its_own_graphs_vendors_not_the_last_graph_built
Building a graph sets the process-wide config, and set_config merges, so a second graph built with the defaults was served the first one's vendors
tests/test_dataflows_config.py:90
Functiontest_a_run_without_a_sign_in_stops_before_any_request
(monkeypatch, tmp_path)
tests/test_chatgpt_provider.py:59
Functiontest_a_run_without_checkpointing_says_nothing_about_resuming
(tmp_path, monkeypatch)
tests/test_cli_memory_log.py:166
Functiontest_a_saved_report_includes_the_html_page_unless_declined
(monkeypatch, tmp_path)
tests/test_cli_headless.py:231
Functiontest_a_search_with_articles_has_answered_even_without_listing_the_symbol
(monkeypatch)
tests/test_news_lookahead.py:293
Functiontest_a_search_yahoo_answers_with_not_found_is_an_outage
(monkeypatch)
tests/test_news_lookahead.py:301
Methodtest_a_series_with_no_usable_close_stays_pending
(self, monkeypatch)
tests/test_memory_log.py:1213
Functiontest_a_server_error_lets_the_next_vendor_try
(monkeypatch)
tests/test_sec_edgar.py:183
Functiontest_a_settlement_failure_is_noted_and_the_run_goes_on
The analysts have spent their tokens by the time the join waits on settlement.
tests/test_graph_end_to_end.py:334
Methodtest_a_seven_day_market_is_scored_against_the_benchmark_over_the_same_dates
(self, monkeypatch)
tests/test_memory_log.py:1112
Functiontest_a_sign_in_without_plan_usage_is_refused
(home, openai)
tests/test_chatgpt_auth.py:299
Functiontest_a_signed_in_plan_is_named_before_the_run
(signed_in, capsys)
tests/test_chatgpt_provider.py:114
Functiontest_a_signed_in_provider_refuses_another_endpoint_or_key
(monkeypatch, client_kwargs)
tests/test_provider_registry.py:97
Functiontest_a_signed_in_provider_sends_its_own_credential_never_an_api_key
(monkeypatch)
tests/test_provider_registry.py:84
Functiontest_a_snapshot_with_no_rows_is_reported_not_raised
An exception out of a tool ends the run; no rows is an answer about the symbol.
tests/test_yahoo_rate_limit.py:189
Functiontest_a_start_date_that_is_not_a_date_is_sent_back_to_the_model
(tool)
tests/test_tool_date_enforcement.py:161
Functiontest_a_state_without_the_typed_rating_reads_it_from_the_decision
A run finished by an older version and resumed from its checkpoint has no final_rating; every reader falls back the same way instead of one ra
tests/test_rating_integrity.py:219
Functiontest_a_statement_frequency_is_one_the_vendors_serve
(tool)
tests/test_tool_date_enforcement.py:146
Functiontest_a_statement_serves_every_period_one_row_each
A filer's whole history in a row per line item ran to 67 columns and was read a column off (#1517); a row per period keeps each figure beside its
tests/test_sec_edgar.py:331
Functiontest_a_streamed_run_reads_its_own_graph_config
The CLI streams the run; a process-wide config set elsewhere must not reach its tools, and the graph's config must not reach the caller between st
tests/test_graph_end_to_end.py:220
Functiontest_a_subreddit_emptied_by_screening_is_not_called_empty
()
tests/test_reddit_fallback.py:295
Functiontest_a_symbol_yahoo_has_no_articles_for_is_left_to_the_next_vendor
(monkeypatch)
tests/test_news_lookahead.py:273
Functiontest_a_temporary_failure_after_expiry_says_to_try_again_not_to_sign_in
(home, openai, failure)
tests/test_chatgpt_auth.py:349
Functiontest_a_temporary_failure_keeps_a_token_that_still_works
(home, openai, failure)
tests/test_chatgpt_auth.py:332
Functiontest_a_test_cannot_reach_the_network
A test that silently depends on a live vendor passes or fails with the machine it runs on; conftest refuses the connection instead.
tests/test_suite_isolation.py:16
Functiontest_a_test_saves_cli_selections_to_its_own_directory
The CLI remembers the last run's selections in the user's home; a test that runs the selection flow would otherwise overwrite them.
tests/test_suite_isolation.py:24
Functiontest_a_throttle_lets_the_next_vendor_try
SEC throttles by refusing the request; the router then tries yfinance.
tests/test_sec_edgar.py:144
Functiontest_a_ticker_held_under_another_spelling_is_matched
()
tests/test_portfolio_context.py:43
Methodtest_a_ticker_is_normalised_and_an_empty_one_refused
(self)
tests/test_cli_headless.py:24
Functiontest_a_ticker_or_date_given_twice_runs_and_settles_once
(tmp_path)
tests/test_backtest.py:362
Functiontest_a_tier_on_another_provider_gets_that_provider_s_settings_and_not_the_main_url
(monkeypatch)
tests/test_tier_providers.py:42
Functiontest_a_tier_on_another_provider_needs_its_own_model
Otherwise the CLI would take the main provider's model for it (#1440).
tests/test_cli_headless.py:196
Functiontest_a_tier_s_thinking_setting_survives_a_main_provider_that_has_none
A run on Google with an OpenAI tier (#1440): the run's selections carry no OpenAI reasoning effort, so the configured one must reach that tier.
tests/test_cli_config_precedence.py:111
Functiontest_a_tier_url_is_used_for_that_tier_only
(monkeypatch)
tests/test_tier_providers.py:54
Functiontest_a_tier_without_its_own_provider_uses_the_run_s
(monkeypatch)
tests/test_tier_providers.py:31
Functiontest_a_token_near_expiry_is_renewed_with_the_stored_refresh_token
(home, openai)
tests/test_chatgpt_auth.py:161
Functiontest_a_tool_limit_the_recursion_limit_cannot_hold_is_refused
(tmp_path, monkeypatch)
tests/test_graph_end_to_end.py:288
Functiontest_a_tool_serves_the_run_instrument_whatever_the_model_passes
()
tests/test_tool_date_enforcement.py:91
Functiontest_a_twelve_month_total_from_a_quarterly_report_is_not_a_fiscal_year
Amazon's 10-Qs report trailing twelve months, which passed the annual span check and read as fiscal years overlapping the real ones.
tests/test_sec_edgar.py:261
Functiontest_a_us_filer_resolves_to_its_cik
()
tests/test_sec_edgar.py:62
Functiontest_a_uv_git_install_is_upgraded_with_uv
(monkeypatch)
tests/test_cli_updates.py:319
Methodtest_a_window_that_cannot_have_traded_asks_for_no_prices
(self, monkeypatch)
tests/test_memory_log.py:1223
Functiontest_a_window_that_ends_before_it_starts_is_sent_back_to_the_model
()
tests/test_tool_date_enforcement.py:171
Functiontest_a_window_whose_start_is_not_a_date_is_refused
()
tests/test_tool_date_enforcement.py:180
Functiontest_a_yahoo_news_outage_moves_to_the_next_configured_vendor
(monkeypatch)
tests/test_news_lookahead.py:233
Functiontest_a_yahoo_request_that_fails_is_unavailable_not_absent
An unknown symbol comes back empty, so a request that raised failed in transit.
tests/test_yahoo_rate_limit.py:174
Functiontest_a_yfinance_failure_is_a_vendor_error_not_a_report
Returning the failure as text makes the router count it as an answer, so the chain stops and the analyst reads the error message as if it were dat
tests/test_undated_tools_as_of.py:121
Functiontest_a_yfinance_news_failure_is_a_vendor_error_not_a_report
(func, args)
tests/test_undated_tools_as_of.py:137
Functiontest_absent_context_is_reported_as_not_provided
()
tests/test_portfolio_context.py:63
Methodtest_accepts_common_ticker_formats
(self)
tests/test_safe_ticker_component.py:13
Methodtest_accepts_futures_and_forex_formats
(self)
tests/test_safe_ticker_component.py:17
Functiontest_after_a_temporary_failure_renewal_waits_a_minute_before_trying_again
(home, openai)
tests/test_chatgpt_auth.py:392
Functiontest_after_expiry_a_failed_renewal_is_not_retried_within_the_minute
(home, openai)
tests/test_chatgpt_auth.py:404
Methodtest_agrees_with_normalize_symbol
(self)
tests/test_symbols.py:101
Methodtest_alias_is_case_and_separator_insensitive
(self)
tests/test_fred.py:57
Methodtest_alias_maps_to_series_id
(self)
tests/test_fred.py:53
Methodtest_all_5_tier_ratings_render
(self)
tests/test_structured_agents.py:154
Methodtest_all_conditions_derive_from_vendor_error
(self)
tests/test_vendor_errors.py:30
Methodtest_all_five_tiers_recognised
(self)
tests/test_signal_processing.py:55
Methodtest_all_screened_out_is_not_called_empty
(self)
tests/test_stocktwits_resilience.py:113
Methodtest_all_six_bands_render
(self)
tests/test_structured_agents.py:390
Methodtest_all_subreddits_share_one_request
(self)
tests/test_reddit_fallback.py:205
Functiontest_alpha_vantage_withholds_insider_trades_from_a_past_run_without_asking
()
tests/test_statement_knowledge_time.py:73
Functiontest_alpha_vantage_withholds_statements_from_a_past_run_without_asking
(statement)
tests/test_statement_knowledge_time.py:34
Functiontest_an_absent_percent_field_is_left_out
()
tests/test_fundamentals_units.py:36
Functiontest_an_adr_quotes_in_dollars_and_reports_in_its_home_currency
()
tests/test_fundamentals_units.py:58
Functiontest_an_agent_s_own_headings_sit_below_its_heading
(tmp_path)
tests/test_report_html.py:80
Functiontest_an_analyst_brief_is_text_not_a_python_object
A trailing comma made one brief a tuple, so the model was handed its repr (quotes, parens and all) instead of the instruction.
tests/test_prompt_integrity.py:20
Functiontest_an_analyst_is_not_asked_for_a_trade_call_nothing_reads
The stop signal is never consumed, and asking for it makes an analyst open with a direction that then travels as evidence.
tests/test_prompt_integrity.py:38
Functiontest_an_analyst_that_keeps_calling_tools_writes_its_report_at_the_limit
A model that does not stop calling tools must not end the run (#1420).
tests/test_graph_end_to_end.py:257
Functiontest_an_annual_balance_sheet_has_no_quarter_end_columns
A balance has no span, so a 10-Q's quarter-end balance passed as annual.
tests/test_sec_edgar.py:252
Functiontest_an_answer_for_another_sign_in_attempt_is_ignored
(home, openai)
tests/test_chatgpt_auth.py:258
Functiontest_an_answer_missing_its_fields_reads_as_malformed
(jev)
tests/test_post_screen.py:241
Functiontest_an_article_with_a_null_field_is_read_with_its_default
Yahoo sends some fields as null rather than leaving them out (#1458).
tests/test_news_lookahead.py:394
Functiontest_an_empty_flag_is_checked_like_its_step_not_reported_missing
(monkeypatch)
tests/test_cli_headless.py:153
Functiontest_an_empty_quote_feed_falls_back_to_the_articles_search_tags_with_the_symbol
(monkeypatch)
tests/test_news_lookahead.py:203
Functiontest_an_explicit_alias_of_a_listed_model_is_known
gpt-5.6 is served under its own name and as gpt-5.6-sol; naming the explicit one should not warn that the model is unknown.
tests/test_model_validation.py:70
← previousnext →901–1,000 of 1,834, ranked by callers