MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions1,834 in github.com/TauricResearch/TradingAgents

Methodtest_ranked_by_volume
(self)
tests/test_polymarket.py:59
Functiontest_rate_limit_detected
(monkeypatch)
tests/test_alpha_vantage_hardening.py:46
Methodtest_rate_limit_subclass_caught_by_base
(self)
tests/test_vendor_errors.py:54
Functiontest_rate_limits_overload_and_dropped_connections_are_retried
(post, transient)
tests/test_post_screen.py:105
Methodtest_rating_label_wins_over_prose_with_markdown
Rating: **Sell** must win even when prose contains a conflicting rating word.
tests/test_memory_log.py:409
Methodtest_rating_parsed_buy
(self, tmp_path)
tests/test_memory_log.py:185
Methodtest_rating_parsed_from_bold_markdown
**Rating**: Buy — markdown bold around the label must not prevent parsing.
tests/test_memory_log.py:395
Methodtest_rating_parsed_from_bold_value
Rating: **Sell** — markdown bold around the value must not prevent parsing.
tests/test_memory_log.py:402
Methodtest_rating_parsed_from_numbered_list
1. Rating: Buy — numbered list prefix must not prevent parsing.
tests/test_memory_log.py:420
Methodtest_rating_parsed_overweight
(self, tmp_path)
tests/test_memory_log.py:190
Methodtest_rating_priority_over_prose
Rating: X' label wins even when an opposing rating word appears earlier in prose.
tests/test_memory_log.py:204
Functiontest_ratings_that_disagree_with_no_line_of_the_decisions_own_need_review
When the text never states its own rating in the decision's shape and the ratings it names disagree, nobody can tell which is the call (#1170).
tests/test_rating_integrity.py:300
Functiontest_read_only_key_file_is_still_updated
(monkeypatch, prompts, tmp_path)
tests/test_api_key_env.py:184
Methodtest_reasoner_suppresses_tool_choice
(self)
tests/test_deepseek_reasoning.py:148
Methodtest_reasoner_variant_inherits_thinking_quirks
(self)
tests/test_capabilities.py:58
Functiontest_reasoning_effort_defaults_to_none
Unset reasoning/thinking knobs stay None so each provider uses its own default.
tests/test_env_overrides.py:84
Functiontest_reasoning_model_receives_effort
(monkeypatch)
tests/test_openai_reasoning_effort.py:37
Methodtest_reasoning_split_sent_via_extra_body_not_top_level
(self)
tests/test_minimax.py:28
Functiontest_reasoning_thinking_overrides
The provider reasoning/thinking knobs are env-configurable (non-interactive runs).
tests/test_env_overrides.py:71
Functiontest_recent_cache_is_fresh
(tmp_path)
tests/test_ohlcv_cache_freshness.py:56
Methodtest_recent_prior_trading_day_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:39
Functiontest_record_decision_appends_a_pending_entry
(tmp_path)
tests/test_cli_memory_log.py:29
Functiontest_record_decision_skips_a_run_without_a_decision
(tmp_path)
tests/test_cli_memory_log.py:37
Functiontest_recording_a_run_writes_its_state_log
The CLI records a run through record_decision, so the state log is written there.
tests/test_cli_memory_log.py:173
Methodtest_records_wall_time_when_analyst_completes
(self)
tests/test_cli_display.py:109
Functiontest_reddit_covered_but_empty_window_is_a_real_absence
(monkeypatch)
tests/test_social_lookahead.py:142
Functiontest_reddit_empty_feed_for_an_old_window_is_unavailable
(monkeypatch)
tests/test_social_lookahead.py:155
Functiontest_reddit_full_page_does_not_vouch_for_older_days
(monkeypatch)
tests/test_social_lookahead.py:211
Functiontest_reddit_historical_window_excludes_recent
(monkeypatch)
tests/test_social_lookahead.py:103
Functiontest_reddit_live_empty_feed_is_a_real_absence
(monkeypatch)
tests/test_social_lookahead.py:168
Functiontest_reddit_live_window_keeps_in_range
(monkeypatch)
tests/test_social_lookahead.py:115
Functiontest_reddit_standard_week_window_empty_is_a_real_absence
(monkeypatch)
tests/test_social_lookahead.py:197
Functiontest_reddit_window_straddling_the_lookback_is_unavailable
(monkeypatch)
tests/test_social_lookahead.py:183
Methodtest_reflect_and_remember_removed
TradingAgentsGraph must not expose reflect_and_remember.
tests/test_memory_log.py:917
Methodtest_reflect_on_final_decision_includes_returns_in_prompt
Return figures are present in the human message sent to the LLM.
tests/test_memory_log.py:518
Methodtest_reflect_on_final_decision_returns_llm_output
(self)
tests/test_memory_log.py:508
Methodtest_reflector_defaults_to_spy_for_unupdated_callers
Default benchmark_name keeps the SPY label for legacy callers.
tests/test_memory_log.py:716
Methodtest_reflector_includes_benchmark_in_label
benchmark_name appears in the prompt label, not 'SPY' hardcoded.
tests/test_memory_log.py:700
Functiontest_registry_membership
()
tests/test_provider_registry.py:18
Functiontest_registry_spec
(provider, base_url, chat_class, responses)
tests/test_provider_registry.py:45
Methodtest_rejects_dot_only_values
(self)
tests/test_safe_ticker_component.py:41
Methodtest_rejects_empty_or_non_string
(self)
tests/test_safe_ticker_component.py:32
Methodtest_rejects_null_byte_and_whitespace
(self)
tests/test_safe_ticker_component.py:27
Methodtest_rejects_overlong_input
(self)
tests/test_safe_ticker_component.py:37
Methodtest_rejects_path_separators
(self)
tests/test_safe_ticker_component.py:22
Methodtest_rejects_unknown_analyst_keys
(self)
tests/test_analyst_execution.py:17
Functiontest_remote_text_cannot_carry_c1_or_direction_controls
()
tests/test_cli_updates.py:312
Functiontest_remote_text_cannot_style_or_break_the_terminal
()
tests/test_cli_updates.py:98
Methodtest_renames_datetime_and_date_variants
(self)
tests/test_ohlcv_date_column.py:36
Methodtest_renames_index_column
(self)
tests/test_ohlcv_date_column.py:32
Functiontest_rendered_context_reaches_the_agents_from_state
()
tests/test_portfolio_context.py:70
Methodtest_rendered_pm_markdown_shape
(self)
tests/test_signal_processing.py:31
Functiontest_renewal_waits_for_the_time_openai_allows_while_the_token_still_works
(home, openai)
tests/test_chatgpt_auth.py:174
Functiontest_report_agent_applies_language_instruction
(rel)
tests/test_i18n_coverage.py:61
Methodtest_report_has_header_latest_change_and_table
(self)
tests/test_fred.py:113
Functiontest_report_text_cannot_inject_markup_or_fetch_anything
(tmp_path)
tests/test_report_html.py:63
Functiontest_request_error_message_carries_no_key
(monkeypatch)
tests/test_alpha_vantage_hardening.py:162
Functiontest_request_passes_timeout
(monkeypatch)
tests/test_alpha_vantage_hardening.py:38
Methodtest_requests_pin_the_data_vintage
(self)
tests/test_fred.py:176
Methodtest_required_fields
(self)
tests/test_structured_agents.py:143
Functiontest_research_depth_sets_both_rounds_without_env
(monkeypatch)
tests/test_cli_config_precedence.py:29
Functiontest_research_layer_sizes_against_a_standard_allocation
The research team is blind to the book, so its plan cannot promise position-relative sizing: it sizes against a standard allocation instead.
tests/test_portfolio_context.py:235
Functiontest_research_manager_prompt_states_constraint
()
tests/test_structured_agent_prompts.py:61
Functiontest_research_team_stays_blind_to_the_portfolio
()
tests/test_portfolio_context.py:198
Functiontest_researcher_opening_has_no_phantom_opponent
(factory, opponent)
tests/test_debate_opening.py:73
Functiontest_researcher_passes_real_opponent_argument
()
tests/test_debate_opening.py:80
Functiontest_resolution_date_is_stored_and_parsed
(tmp_path)
tests/test_memory_pointintime.py:28
Methodtest_resolve_benchmark_brazil
B3 tickers were measured against SPY.
tests/test_memory_log.py:657
Methodtest_resolve_benchmark_case_insensitive
Suffix matching is case-insensitive so 7203.t resolves like 7203.T.
tests/test_memory_log.py:692
Methodtest_resolve_benchmark_china_a_shares
A-share tickers route to their exchange composite (uses the real default benchmark_map, since A-share support relies on it).
tests/test_memory_log.py:646
Methodtest_resolve_benchmark_explicit_override
config['benchmark_ticker'] wins for every ticker.
tests/test_memory_log.py:616
Methodtest_resolve_benchmark_regional_indexes
Taiwan, Korea, Singapore and the main European exchanges were measured against SPY.
tests/test_memory_log.py:668
Methodtest_resolve_benchmark_suffix_map
Known suffixes route to their regional index.
tests/test_memory_log.py:625
Methodtest_resolve_benchmark_unknown_suffix_falls_back
Unrecognised suffix (BRK.B, FAKE.XX) falls back to SPY.
tests/test_memory_log.py:683
Methodtest_resolve_benchmark_us_ticker_defaults_to_spy
US tickers (no dotted suffix) take the empty-suffix entry.
tests/test_memory_log.py:674
Methodtest_resolve_leaves_premature_entry_pending
#1169: when the outcome can't be settled yet (fetch_returns None), the entry stays pending and the reflector is never called.
tests/test_memory_log.py:757
Methodtest_resolve_marks_entry_completed
After resolve, get_pending_entries() is empty and the entry has a REFLECTION.
tests/test_memory_log.py:741
Methodtest_resolve_skips_other_tickers
Pending AAPL entry is not resolved when the run is for NVDA.
tests/test_memory_log.py:732
Functiontest_resolver_does_not_affect_other_providers
OLLAMA_BASE_URL should NOT leak into xai/deepseek/etc.
tests/test_ollama_base_url.py:52
Functiontest_resolver_evaluation_is_call_time
Setting the env AFTER module import must still take effect.
tests/test_ollama_base_url.py:44
Functiontest_resolver_returns_default_when_env_unset
(monkeypatch)
tests/test_ollama_base_url.py:32
Functiontest_resolver_returns_env_when_set
(monkeypatch)
tests/test_ollama_base_url.py:38
Methodtest_resolves_company_metadata_from_yfinance
(self)
tests/test_instrument_identity.py:22
Methodtest_resolves_known_crypto_forms
(self)
tests/test_symbols.py:89
Methodtest_result_is_cached
(self)
tests/test_instrument_identity.py:67
Functiontest_retries_are_bounded
(post)
tests/test_post_screen.py:131
Methodtest_retry_after_header_is_honoured
(self)
tests/test_reddit_fallback.py:111
Methodtest_retry_after_zero_is_honoured_not_treated_as_absent
(self)
tests/test_reddit_fallback.py:118
Methodtest_returns_none_when_absent
(self)
tests/test_signal_processing.py:66
Functiontest_risk_opening_has_no_phantom_opponent
(factory)
tests/test_debate_opening.py:94
Functiontest_risk_passes_real_opponent_arguments
()
tests/test_debate_opening.py:102
Methodtest_rotation_disabled_by_default
Without max_entries, all resolved entries are kept.
tests/test_memory_log.py:332
Methodtest_rotation_never_prunes_pending
Pending entries (unresolved) are kept regardless of the cap.
tests/test_memory_log.py:364
Methodtest_rotation_prunes_oldest_resolved
When max_entries is set and exceeded, oldest resolved entries are pruned.
tests/test_memory_log.py:339
Methodtest_rotation_prunes_the_oldest_dated_not_the_first_written
A backfill writes older dates last; rotation still keeps the newest decisions.
tests/test_memory_log.py:354
Methodtest_rotation_under_cap_is_noop
No rotation when resolved count <= max_entries.
tests/test_memory_log.py:383
Functiontest_round_trip
()
tests/test_cli_prefs.py:31
Functiontest_rounds_from_the_environment_do_not_claim_a_depth_was_chosen
With both round counts set, the depth question never appeared.
tests/test_cli_headless.py:166
Functiontest_router_return_always_routable
(latest_speaker)
tests/test_risk_router_path_map.py:33
Methodtest_router_sentinel_surfaces_stale_reason
(self)
tests/test_yfinance_stale_ohlcv_guard.py:92
← previousnext →1,501–1,600 of 1,834, ranked by callers