Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
1,834 in github.com/TauricResearch/TradingAgents
⨍
Functions
1,834
◇
Types & classes
212
↳
Endpoints
18
Function
test_router_terminates_at_round_limit
()
tests/test_risk_router_path_map.py:40
Method
test_rss_incomplete_read_reports_unavailable
(self)
tests/test_reddit_fallback.py:144
Method
test_rss_posts_omit_fake_counts_and_note_source
(self)
tests/test_reddit_fallback.py:159
Function
test_run_details_show_each_value_as_its_own_field
(tmp_path)
tests/test_report_html.py:91
Function
test_run_settings_name_the_version_of_the_running_code
()
tests/test_reporting.py:143
Function
test_run_settings_record_the_run_without_endpoints_or_paths
()
tests/test_reporting.py:119
Method
test_run_signature_captures_graph_shape
(self)
tests/test_checkpoint_resume.py:221
Method
test_same_ticker_prioritised
Same-ticker entries in same-ticker section; cross-ticker entries in cross-ticker section.
tests/test_memory_log.py:844
Function
test_save_and_show_answer_the_questions_after_the_run
(monkeypatch, tmp_path)
tests/test_cli_headless.py:99
Function
test_save_reports_defaults_under_results_dir
(tmp_path)
tests/test_reporting.py:93
Function
test_save_reports_explicit_path
(tmp_path)
tests/test_reporting.py:45
Function
test_save_reports_replaces_previous_run_sections
(tmp_path, empty_value)
tests/test_reporting.py:54
Function
test_saved_key_file_is_owner_only
(monkeypatch, prompts, tmp_path)
tests/test_api_key_env.py:160
Method
test_schema_is_still_bound_as_tool
tool_choice is suppressed, but the schema is still bound as a tool — exactly matching DeepSeek's official tool-calling examples.
tests/test_deepseek_reasoning.py:171
Method
test_schema_still_bound_as_tool
(self)
tests/test_minimax.py:68
Method
test_score_out_of_range_rejected
(self)
tests/test_structured_agents.py:398
Function
test_screen_drops_clear_off_topic_posts_and_counts_confident_stances
(jev)
tests/test_post_screen.py:213
Method
test_screened_out_messages_leave_the_block_and_its_counts
(self)
tests/test_stocktwits_resilience.py:106
Function
test_screened_out_posts_free_their_subreddit_slots
()
tests/test_reddit_fallback.py:284
Function
test_search_results_never_count_as_an_absence_of_news
(monkeypatch)
tests/test_news_lookahead.py:259
Function
test_search_tags_are_matched_whatever_their_case
(monkeypatch)
tests/test_news_lookahead.py:286
Function
test_sec_edgar_writers_never_share_a_temp_file
(monkeypatch, tmp_path)
tests/test_cache_writes.py:28
Method
test_select_cancel_defaults_english
(self)
tests/test_openrouter_model_select.py:115
Function
test_selections_are_remembered_after_a_run
Drives the real flow: a stubbed selections dict would hide a key mismatch.
tests/test_cli_prefs.py:112
Function
test_sends_the_documented_request_and_returns_the_answers
(post)
tests/test_post_screen.py:58
Function
test_sentiment_names_the_sentiment_analyst
()
tests/test_cli_headless.py:148
Function
test_sentiment_prompt_states_constraint
(monkeypatch)
tests/test_structured_agent_prompts.py:110
Method
test_sentiment_report_also_in_messages
(self)
tests/test_structured_agents.py:462
Function
test_serving_the_last_settled_bar_does_not_bypass_the_staleness_check
( monkeypatch, tmp_path )
tests/test_ohlcv_latest_bar.py:139
Method
test_set_config_does_not_alias_caller_nested_dicts
(self)
tests/test_dataflows_config.py:26
Function
test_settling_reads_the_graphs_own_config
(monkeypatch)
tests/test_dataflows_config.py:143
Method
test_shanghai_sh_suffix_maps_to_yahoo_ss
(self)
tests/test_symbols.py:68
Method
test_signature_changes_thread_id
(self)
tests/test_checkpoint_resume.py:156
Function
test_signing_in_again_revokes_the_replaced_sign_in
(home, openai)
tests/test_chatgpt_auth.py:361
Function
test_signing_in_by_pasting_the_redirect_saves_a_private_sign_in
(home, openai)
tests/test_chatgpt_auth.py:235
Function
test_signing_out_revokes_the_sign_in_and_keeps_only_the_host_id
(home, openai)
tests/test_chatgpt_auth.py:310
Function
test_signing_out_while_openai_is_unreachable_still_forgets_the_sign_in
(home, openai)
tests/test_chatgpt_auth.py:384
Method
test_single_get_ticker_no_shadow
(self)
tests/test_ticker_symbol_handling.py:19
Method
test_six_letter_non_currency_left_alone
(self)
tests/test_symbols.py:43
Method
test_skips_placeholder_values
(self)
tests/test_instrument_identity.py:45
Method
test_social_key_displays_as_sentiment_analyst
(self)
tests/test_analyst_execution.py:21
Method
test_sole_unconfigured_vendor_surfaces_the_error
(self)
tests/test_vendor_errors.py:83
Function
test_statement_tool_with_omitted_date_uses_the_run_date
()
tests/test_tool_date_enforcement.py:117
Function
test_statements_come_from_sec_edgar_first_by_default
()
tests/test_statement_knowledge_time.py:53
Method
test_states_the_as_of_date_and_explains_itself
(self)
tests/test_fundamentals_lookahead.py:70
Function
test_stock_data_is_trimmed_to_the_requested_window
(monkeypatch)
tests/test_alpha_vantage_hardening.py:138
Function
test_stocktwits_covered_but_empty_window_is_a_real_absence
(monkeypatch)
tests/test_social_lookahead.py:131
Function
test_stocktwits_empty_stream_for_a_past_window_is_unavailable
(monkeypatch)
tests/test_social_lookahead.py:176
Function
test_stocktwits_historical_window_excludes_recent
(monkeypatch)
tests/test_social_lookahead.py:69
Function
test_stocktwits_live_window_keeps_in_range
(monkeypatch)
tests/test_social_lookahead.py:81
Function
test_stocktwits_no_window_is_unfiltered
(monkeypatch)
tests/test_social_lookahead.py:89
Method
test_store_appends_not_overwrites
(self, tmp_path)
tests/test_memory_log.py:122
Method
test_store_creates_file
(self, tmp_path)
tests/test_memory_log.py:116
Method
test_store_decision_idempotent
Calling store_decision twice with same (ticker, date) stores only one entry.
tests/test_memory_log.py:131
Method
test_store_decision_idempotent_after_the_entry_resolves
A settled entry still blocks a duplicate. The guard matched only pending entries, so re-running a ticker and date whose outcome had a
tests/test_memory_log.py:138
Method
test_string_input_yields_empty_list
(self)
tests/test_deepseek_reasoning.py:44
Function
test_string_overrides
(monkeypatch)
tests/test_env_overrides.py:31
Function
test_structured_output_suppresses_object_tool_choice
(monkeypatch)
tests/test_openai_compatible_provider.py:76
Function
test_structured_output_suppresses_object_tool_choice
Ollama rejects the object-form tool_choice like other local servers (#1062), and a local model ID has no capability entry saying otherwise, so
tests/test_ollama_base_url.py:153
Method
test_structured_path_produces_rendered_markdown
(self)
tests/test_structured_agents.py:216
Method
test_structured_path_produces_rendered_markdown
(self)
tests/test_structured_agents.py:318
Method
test_structured_path_produces_rendered_markdown
(self)
tests/test_structured_agents.py:450
Method
test_stub_payload_raises_no_market_data
(self, monkeypatch)
tests/test_fundamentals_lookahead.py:128
Method
test_subreddit_with_no_posts_is_listed_when_others_have_some
(self)
tests/test_reddit_fallback.py:236
Function
test_summary_scores_resolved_cells_and_keeps_pending_out_of_the_average
(tmp_path)
tests/test_backtest.py:129
Function
test_summary_states_what_it_cannot_prove
(tmp_path)
tests/test_backtest.py:145
Function
test_supports_reasoning_effort
(model, expected)
tests/test_openai_reasoning_effort.py:26
Function
test_sweeps_started_in_the_same_second_get_their_own_runs
(tmp_path, monkeypatch)
tests/test_backtest.py:159
Method
test_symbol_mapping
(self, ticker, expected)
tests/test_stocktwits_resilience.py:66
Function
test_system_instructions_go_as_developer_and_refused_settings_are_dropped
(signed_in, caplog)
tests/test_chatgpt_provider.py:48
Method
test_temperature_omitted_leaves_provider_default
(self)
tests/test_temperature_config.py:33
Method
test_temperature_reaches_client_when_set
(self, provider, model)
tests/test_temperature_config.py:27
Function
test_the_analyst_set_under_test_is_the_one_that_runs
A backtest of a two-analyst setup must not silently run four.
tests/test_backtest.py:152
Function
test_the_analysts_run_at_the_same_time
(tmp_path, monkeypatch, offline)
tests/test_graph_end_to_end.py:182
Method
test_the_api_call_is_not_made
(self)
tests/test_fundamentals_lookahead.py:102
Function
test_the_article_limit_still_caps_what_is_returned
(monkeypatch)
tests/test_news_lookahead.py:378
Function
test_the_browser_answer_reaches_the_loopback_and_strays_are_ignored
(home, openai, monkeypatch)
tests/test_chatgpt_auth.py:275
Function
test_the_build_reads_the_version_from_the_package
()
tests/test_version.py:14
Function
test_the_chatgpt_plan_is_the_only_provider_signed_in_to
()
tests/test_chatgpt_provider.py:241
Function
test_the_cli_run_says_whether_it_resumed
The README promises the run view tells a resumed run from a fresh one.
tests/test_cli_memory_log.py:158
Function
test_the_cli_says_when_a_run_produced_no_usable_rating
The CLI is the primary entry point; an unreadable decision must be visible there, not only in the log.
tests/test_rating_integrity.py:114
Function
test_the_command_passes_its_flags_to_the_run
(monkeypatch)
tests/test_cli_headless.py:132
Function
test_the_contents_name_each_section_once_and_list_its_agents_beneath
(tmp_path)
tests/test_report_html.py:106
Function
test_the_default_identification_names_the_package_version
SEC asks automated clients to identify themselves; a release names its own version.
tests/test_sec_edgar.py:221
Function
test_the_endpoint_follows_the_sdk_environment
TypeSafe's SDKs read TYPESAFE_BASE_URL and append /v1/systemone; OpenRouter serves Jev at https://openrouter.ai/api with an OpenRouter key (#1416)
tests/test_post_screen.py:82
Function
test_the_first_failure_cancels_the_requests_not_yet_sent
(jev, post, monkeypatch)
tests/test_post_screen.py:252
Function
test_the_graph_settles_every_ticker_under_its_own_config
(tmp_path, monkeypatch)
tests/test_memory_log.py:1283
Function
test_the_header_carries_the_official_logo_unaltered
(tmp_path)
tests/test_report_html.py:142
Function
test_the_header_names_the_analysts_as_users_select_them
(tmp_path)
tests/test_reporting.py:166
Function
test_the_holding_window_is_configurable
A decision written for months should not be graded at a week without the operator choosing that window.
tests/test_memory_log.py:1010
Function
test_the_html_flag_reaches_the_run
(monkeypatch, args, expected)
tests/test_cli_headless.py:326
Function
test_the_html_page_is_written_unless_declined
(tmp_path)
tests/test_report_html.py:33
Function
test_the_indicator_path_retries_a_rate_limit
The prices behind every indicator were fetched with ``yf.download``, which returns an empty frame for a 429, so they were never retried.
tests/test_yahoo_rate_limit.py:67
Function
test_the_instrument_is_hidden_from_the_model
The model once passed an indicator name as the symbol ("rsi", "atr" are real tickers), and another company's data reached the report.
tests/test_tool_date_enforcement.py:83
Function
test_the_key_is_masked_in_the_error
(failure)
tests/test_get_scrubbed.py:40
Function
test_the_key_never_reaches_an_error_message
Alpha Vantage can echo the key in its notices; error text reaches logs and reports.
tests/test_alpha_vantage_hardening.py:94
Method
test_the_labelled_lines_stay_as_the_format_gives_them
(self)
tests/test_i18n_coverage.py:49
Function
test_the_labelled_rating_wins_whatever_separates_it
(separator)
tests/test_rating_integrity.py:25
Function
test_the_last_turn_is_offered_no_tools_and_reads_its_tool_results_as_text
Offered tools, a model may call one whatever it is told; a history holding tool calls may be refused by a provider when no tools are bound.
tests/test_graph_end_to_end.py:271
Function
test_the_live_display_does_not_scroll_the_terminal
A layout taller than the window makes rich redraw by scrolling, which reads as flicker; the alternate screen holds it in place (#784). The final
tests/test_cli_display.py:97
← previous
next →
1,601–1,700 of 1,834, ranked by callers