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
Method
test_indicators_compute_after_index_rename
stockstats must compute indicators on a frame whose date column arrived as `index`, instead of erroring per indicator.
tests/test_ohlcv_date_column.py:64
Method
test_injects_resolved_identity
(self)
tests/test_instrument_identity.py:84
Function
test_int_coercion
(monkeypatch)
tests/test_env_overrides.py:47
Function
test_invalid_bool_raises
A misspelled boolean must fail loudly (like ints) instead of silently False.
tests/test_env_overrides.py:126
Function
test_invalid_config_value_fails_loudly
()
tests/test_llm_max_retries.py:68
Function
test_invalid_int_raises
Garbage int values should surface a ValueError at import, not silently misconfigure.
tests/test_env_overrides.py:118
Function
test_invalid_key_not_mislabeled_as_rate_limit
(monkeypatch)
tests/test_alpha_vantage_hardening.py:54
Function
test_invalid_value_fails_loudly
()
tests/test_llm_max_tokens.py:79
Function
test_invoke_structured_falls_back_when_result_is_none
()
tests/test_structured_agents.py:197
Function
test_it_works_unconfigured_and_takes_the_caller_s_own_contact
SEC returns 403 for a User-Agent with no contact address, so the default carries one; a caller who sets their own replaces it.
tests/test_sec_edgar.py:133
Function
test_junk_values_are_dropped_rather_than_offered
()
tests/test_cli_prefs.py:81
Method
test_keeps_all_analysts_for_stock
(self)
tests/test_crypto_asset_mode.py:34
Function
test_key_optionality
()
tests/test_provider_registry.py:53
Function
test_keyless_local_uses_placeholder_and_chat_completions
(monkeypatch)
tests/test_openai_compatible_provider.py:32
Function
test_known_providers_resolve
(provider, env_var)
tests/test_api_key_env.py:49
Method
test_known_providers_resolve
(self)
tests/test_cli_env_skip.py:19
Function
test_latest_alias_remaps_minimal_to_low
(alias)
tests/test_google_thinking_level.py:49
Method
test_leaves_existing_date_untouched
(self)
tests/test_ohlcv_date_column.py:40
Function
test_legacy_entry_without_resolution_date_excluded_in_backtest
(tmp_path)
tests/test_memory_pointintime.py:58
Function
test_legacy_ids_stay_valid_without_being_offered
()
tests/test_model_validation.py:58
Method
test_limit_caps_results
(self)
tests/test_polymarket.py:64
Method
test_list_input_returned_as_is
(self)
tests/test_deepseek_reasoning.py:35
Method
test_live_run_still_calls_the_api
(self)
tests/test_fundamentals_lookahead.py:106
Method
test_load_entries_empty_file
(self, tmp_path)
tests/test_memory_log.py:228
Method
test_load_entries_multiple
(self, tmp_path)
tests/test_memory_log.py:244
Method
test_load_entries_single
(self, tmp_path)
tests/test_memory_log.py:232
Function
test_load_ohlcv_refetches_stale_same_day_cache
End-to-end: the freshness check is wired into load_ohlcv's cache branch.
tests/test_ohlcv_cache_freshness.py:74
Function
test_load_ohlcv_requests_inclusive_end
(monkeypatch, tmp_path)
tests/test_date_boundaries.py:45
Function
test_load_ohlcv_reuses_fresh_same_day_cache
(tmp_path, monkeypatch)
tests/test_ohlcv_cache_freshness.py:91
Function
test_load_reads_a_valid_file
(tmp_path)
tests/test_portfolio_context.py:114
Function
test_load_rejects_a_malformed_file_with_a_clear_error
(tmp_path)
tests/test_portfolio_context.py:76
Function
test_load_rejects_a_number_that_is_not_finite
(tmp_path, book)
tests/test_portfolio_context.py:105
Function
test_login_and_logout_chatgpt_do_not_run_an_analysis
(runner, monkeypatch)
tests/test_cli_commands.py:189
Function
test_logout_says_whether_openai_revoked_the_sign_in
(runner, monkeypatch, outcome, said)
tests/test_cli_commands.py:218
Method
test_long_holiday_gap_within_threshold_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:57
Method
test_long_series_is_truncated_but_change_uses_full_range
(self)
tests/test_fred.py:146
Method
test_look_back_window_capped_at_30
(self, monkeypatch)
tests/test_yahoo_snapshot.py:59
Method
test_lowercases_are_upper
(self)
tests/test_symbols.py:17
Method
test_m2_1_rejects_tool_choice
(self)
tests/test_capabilities.py:88
Method
test_m2_7_highspeed_rejects_tool_choice
(self)
tests/test_capabilities.py:85
Method
test_m2_7_highspeed_suppresses_tool_choice
(self)
tests/test_minimax.py:63
Method
test_m2_7_rejects_tool_choice
(self)
tests/test_capabilities.py:80
Method
test_m2_7_suppresses_tool_choice
(self)
tests/test_minimax.py:58
Method
test_m2_base_rejects_tool_choice
(self)
tests/test_capabilities.py:91
Method
test_m2_x_requires_reasoning_split
(self)
tests/test_capabilities.py:94
Method
test_macro_category_routes_to_fred
(self)
tests/test_fred.py:226
Method
test_malformed_xml_reports_unavailable
(self)
tests/test_reddit_fallback.py:87
Function
test_memory_as_of_gates_historical_but_not_live
()
tests/test_memory_pointintime.py:82
Method
test_mentions_exact_symbol_without_identity
(self)
tests/test_instrument_identity.py:78
Method
test_message_includes_resolution
(self)
tests/test_symbols.py:75
Method
test_metal_aliases_map_to_futures
(self)
tests/test_symbols.py:21
Method
test_minimal_required_fields
(self)
tests/test_structured_agents.py:40
Method
test_minimax_m3_inherits_thinking_quirks
(self)
tests/test_capabilities.py:66
Function
test_missing_console_prints_actionable_message
(monkeypatch)
tests/test_cli_no_console.py:29
Function
test_missing_file_is_not_an_error
()
tests/test_cli_prefs.py:37
Method
test_missing_key_raises_not_configured
(self)
tests/test_fred.py:101
Method
test_missing_value_is_skipped
(self)
tests/test_fred.py:126
Method
test_models_sorted_newest_first
(self)
tests/test_openrouter_model_select.py:37
Method
test_mythos_preview_receives_effort
(self, monkeypatch)
tests/test_anthropic_effort.py:73
Method
test_n_cross_limit_respected
Only the n_cross most recent cross-ticker entries are included.
tests/test_memory_log.py:313
Method
test_n_cross_limit_respected
More than 3 cross-ticker completed entries → only 3 injected.
tests/test_memory_log.py:873
Method
test_n_same_limit_respected
Only the n_same most recent same-ticker entries are included.
tests/test_memory_log.py:294
Method
test_n_same_limit_respected
More than 5 same-ticker completed entries → only 5 injected.
tests/test_memory_log.py:864
Method
test_narrative_preserved_in_output
(self)
tests/test_structured_agents.py:380
Method
test_native_ids_unchanged
(self)
tests/test_capabilities.py:163
Method
test_native_openai_enables_responses_api
(self, monkeypatch)
tests/test_openai_responses_base_url.py:32
Method
test_nested_dict_updates_merge_one_level_deep
(self)
tests/test_dataflows_config.py:55
Method
test_network_error_degrades_gracefully
(self)
tests/test_polymarket.py:109
Function
test_news_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:60
Function
test_news_neither_yahoo_source_answers_is_a_vendor_outage
(monkeypatch)
tests/test_news_lookahead.py:223
Function
test_news_prompt_matches_get_news_signature
()
tests/test_news_analyst_prompt.py:22
Function
test_no_arguments_still_runs_an_analysis
(runner)
tests/test_cli_commands.py:26
Function
test_no_as_of_is_unfiltered_live_behavior
(tmp_path)
tests/test_memory_pointintime.py:50
Function
test_no_bearer_token_omits_api_key
(monkeypatch)
tests/test_bedrock_provider.py:64
Function
test_no_command_is_guessed_without_a_clone
(tmp_path, monkeypatch)
tests/test_cli_updates.py:263
Function
test_no_command_is_offered_on_windows
(monkeypatch)
tests/test_cli_updates.py:328
Function
test_no_console_error_tuple_matches_platform
()
tests/test_cli_no_console.py:16
Method
test_no_data_from_all_vendors_returns_sentinel
(self)
tests/test_no_data_handling.py:57
Method
test_no_datelike_column_is_left_alone
(self)
tests/test_ohlcv_date_column.py:44
Function
test_no_env_uses_built_in_defaults
(monkeypatch)
tests/test_env_overrides.py:21
Function
test_no_key_no_screen
(monkeypatch)
tests/test_post_screen.py:196
Method
test_no_log_path_is_noop
(self)
tests/test_memory_log.py:324
Method
test_no_matches_reports_clearly
(self)
tests/test_polymarket.py:101
Method
test_no_profile_value_survives
(self)
tests/test_fundamentals_lookahead.py:65
Method
test_no_rating_custom_default
(self)
tests/test_signal_processing.py:52
Method
test_no_rating_is_flagged_for_review_not_defaulted
(self)
tests/test_signal_processing.py:48
Function
test_no_settled_bar_at_all_is_still_no_data
(monkeypatch, tmp_path)
tests/test_ohlcv_latest_bar.py:128
Function
test_no_thinking_level_is_omitted
()
tests/test_google_thinking_level.py:59
Method
test_no_wall_clock_retrieval_stamp
(self)
tests/test_fundamentals_lookahead.py:78
Function
test_nobody_signed_in_is_told_how_to_sign_in
(home, openai)
tests/test_chatgpt_auth.py:145
Method
test_non_crypto_returns_none
(self)
tests/test_symbols.py:95
Method
test_non_english_emits_directive
(self)
tests/test_i18n_coverage.py:42
Method
test_non_reasoning_minimax_does_not_get_reasoning_split
(self)
tests/test_capabilities.py:103
Method
test_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
Function
test_non_reasoning_model_drops_effort
(monkeypatch)
tests/test_openai_reasoning_effort.py:41
Method
test_none_and_garbage_return_none
(self)
tests/test_reddit_fallback.py:61
Method
test_none_omitted
(self)
tests/test_temperature_config.py:72
Function
test_normalize_dates_handles_mixed_dst_offsets
()
tests/test_ohlcv_latest_bar.py:54
Function
test_normalize_dates_keeps_positive_offset_local_date
()
tests/test_ohlcv_latest_bar.py:69
Function
test_normalize_dates_leaves_naive_dates_at_midnight
()
tests/test_ohlcv_latest_bar.py:46
← previous
next →
1,301–1,400 of 1,834, ranked by callers