Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ functions
Functions
854 in github.com/TauricResearch/TradingAgents
⨍
Functions
854
◇
Types & classes
151
↳
Endpoints
4
Function
test_pro_remaps_minimal_to_low
()
tests/test_google_thinking_level.py:33
Method
test_probability_volume_and_weekly_change_render
(self)
tests/test_polymarket.py:72
Method
test_prompt_contains_ticker
(self)
tests/test_structured_agents.py:389
Method
test_prompt_custom_model_id_cancel_exits
(self)
tests/test_openrouter_model_select.py:107
Method
test_prompt_includes_investment_plan
(self)
tests/test_structured_agents.py:194
Method
test_prompt_states_the_mode
(self, mode, label)
tests/test_openrouter_model_select.py:19
Method
test_prompt_uses_5_tier_rating_scale
The RM prompt must list all five tiers so the schema enum matches user expectations.
tests/test_structured_agents.py:268
Method
test_propagate_on_send
When an outgoing AIMessage carries reasoning_content, the request payload echoes it on the corresponding message dict.
tests/test_deepseek_reasoning.py:89
Method
test_propagate_through_chat_prompt_value
Gemini bot review note: non-list inputs (ChatPromptValue) must also propagate reasoning_content.
tests/test_deepseek_reasoning.py:104
Method
test_propagator_includes_asset_type_in_initial_state
(self)
tests/test_crypto_asset_mode.py:47
Method
test_raises_on_empty_data
(self, monkeypatch)
tests/test_market_data_validator.py:53
Method
test_raises_when_no_rows_on_or_before_date
(self, monkeypatch)
tests/test_market_data_validator.py:48
Method
test_ranked_by_volume
(self)
tests/test_polymarket.py:58
Function
test_rate_limit_detected
(monkeypatch)
tests/test_alpha_vantage_hardening.py:41
Method
test_rate_limit_subclass_caught_by_base
(self)
tests/test_vendor_errors.py:60
Method
test_rating_fallback_hold
(self, tmp_path)
tests/test_memory_log.py:174
Method
test_rating_label_wins_over_prose_with_markdown
Rating: **Sell** must win even when prose contains a conflicting rating word.
tests/test_memory_log.py:364
Method
test_rating_parsed_buy
(self, tmp_path)
tests/test_memory_log.py:164
Method
test_rating_parsed_from_bold_markdown
**Rating**: Buy — markdown bold around the label must not prevent parsing.
tests/test_memory_log.py:350
Method
test_rating_parsed_from_bold_value
Rating: **Sell** — markdown bold around the value must not prevent parsing.
tests/test_memory_log.py:357
Method
test_rating_parsed_from_numbered_list
1. Rating: Buy — numbered list prefix must not prevent parsing.
tests/test_memory_log.py:375
Method
test_rating_parsed_overweight
(self, tmp_path)
tests/test_memory_log.py:169
Method
test_rating_priority_over_prose
Rating: X' label wins even when an opposing rating word appears earlier in prose.
tests/test_memory_log.py:179
Method
test_reasoner_suppresses_tool_choice
(self)
tests/test_deepseek_reasoning.py:148
Method
test_reasoner_variant_inherits_thinking_quirks
(self)
tests/test_capabilities.py:47
Function
test_reasoning_effort_defaults_to_none
Unset reasoning/thinking knobs stay None so each provider uses its own default.
tests/test_env_overrides.py:84
Function
test_reasoning_model_receives_effort
(monkeypatch)
tests/test_openai_reasoning_effort.py:36
Method
test_reasoning_split_sent_via_extra_body_not_top_level
(self)
tests/test_minimax.py:28
Function
test_reasoning_thinking_overrides
The provider reasoning/thinking knobs are env-configurable (non-interactive runs).
tests/test_env_overrides.py:71
Method
test_recent_prior_trading_day_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:39
Method
test_records_wall_time_when_analyst_completes
(self)
tests/test_analyst_execution.py:45
Method
test_reflect_and_remember_removed
TradingAgentsGraph must not expose reflect_and_remember.
tests/test_memory_log.py:817
Method
test_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:473
Method
test_reflect_on_final_decision_returns_llm_output
(self)
tests/test_memory_log.py:463
Method
test_reflector_defaults_to_spy_for_unupdated_callers
Default benchmark_name keeps the SPY label for legacy callers.
tests/test_memory_log.py:622
Method
test_reflector_includes_benchmark_in_label
benchmark_name appears in the prompt label, not 'SPY' hardcoded.
tests/test_memory_log.py:606
Function
test_registry_membership
()
tests/test_provider_registry.py:17
Function
test_registry_spec
(provider, base_url, chat_class, responses)
tests/test_provider_registry.py:44
Method
test_rejects_dot_only_values
(self)
tests/test_safe_ticker_component.py:41
Method
test_rejects_empty_or_non_string
(self)
tests/test_safe_ticker_component.py:32
Method
test_rejects_null_byte_and_whitespace
(self)
tests/test_safe_ticker_component.py:27
Method
test_rejects_overlong_input
(self)
tests/test_safe_ticker_component.py:37
Method
test_rejects_path_separators
(self)
tests/test_safe_ticker_component.py:22
Method
test_rejects_slash_and_space
(self)
tests/test_symbol_utils.py:76
Method
test_rejects_unknown_analyst_keys
(self)
tests/test_analyst_execution.py:20
Method
test_renames_datetime_and_date_variants
(self)
tests/test_stockstats_date_column.py:34
Method
test_renames_index_column
(self)
tests/test_stockstats_date_column.py:30
Method
test_rendered_pm_markdown_shape
(self)
tests/test_signal_processing.py:36
Function
test_report_agent_applies_language_instruction
(rel)
tests/test_i18n_coverage.py:52
Method
test_report_has_header_latest_change_and_table
(self)
tests/test_fred.py:92
Function
test_request_passes_timeout
(monkeypatch)
tests/test_alpha_vantage_hardening.py:33
Method
test_required_fields
(self)
tests/test_structured_agents.py:103
Function
test_research_depth_sets_both_rounds_without_env
(monkeypatch)
tests/test_cli_config_precedence.py:28
Method
test_resolve_benchmark_case_insensitive
Suffix matching is case-insensitive so 7203.t resolves like 7203.T.
tests/test_memory_log.py:597
Method
test_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:567
Method
test_resolve_benchmark_explicit_override
config['benchmark_ticker'] wins for every ticker.
tests/test_memory_log.py:541
Method
test_resolve_benchmark_suffix_map
Known suffixes route to their regional index.
tests/test_memory_log.py:551
Method
test_resolve_benchmark_unknown_suffix_falls_back
Unrecognised suffix (BRK.B, FAKE.XX) falls back to SPY.
tests/test_memory_log.py:587
Method
test_resolve_benchmark_us_ticker_defaults_to_spy
US tickers (no dotted suffix) take the empty-suffix entry.
tests/test_memory_log.py:577
Method
test_resolve_marks_entry_completed
After resolve, get_pending_entries() is empty and the entry has a REFLECTION.
tests/test_memory_log.py:649
Method
test_resolve_skips_other_tickers
Pending AAPL entry is not resolved when the run is for NVDA.
tests/test_memory_log.py:638
Function
test_resolver_does_not_affect_other_providers
OLLAMA_BASE_URL should NOT leak into xai/deepseek/etc.
tests/test_ollama_base_url.py:59
Function
test_resolver_evaluation_is_call_time
Setting the env AFTER module import must still take effect.
tests/test_ollama_base_url.py:51
Function
test_resolver_returns_default_when_env_unset
(monkeypatch)
tests/test_ollama_base_url.py:39
Function
test_resolver_returns_env_when_set
(monkeypatch)
tests/test_ollama_base_url.py:45
Method
test_resolves_company_metadata_from_yfinance
(self)
tests/test_instrument_identity.py:23
Method
test_resolves_known_crypto_forms
(self)
tests/test_symbol_utils.py:83
Method
test_result_is_cached
(self)
tests/test_instrument_identity.py:59
Method
test_retry_after_header_is_honoured
(self)
tests/test_reddit_fallback.py:143
Method
test_returns_rating_from_pm_markdown
(self)
tests/test_signal_processing.py:71
Method
test_rotation_disabled_by_default
Without max_entries, all resolved entries are kept.
tests/test_memory_log.py:297
Method
test_rotation_never_prunes_pending
Pending entries (unresolved) are kept regardless of the cap.
tests/test_memory_log.py:319
Method
test_rotation_prunes_oldest_resolved
When max_entries is set and exceeded, oldest resolved entries are pruned.
tests/test_memory_log.py:304
Method
test_rotation_under_cap_is_noop
No rotation when resolved count <= max_entries.
tests/test_memory_log.py:338
Function
test_router_return_always_routable
(latest_speaker)
tests/test_risk_router_path_map.py:33
Method
test_router_sentinel_surfaces_stale_reason
(self)
tests/test_yfinance_stale_ohlcv_guard.py:92
Function
test_router_terminates_at_round_limit
()
tests/test_risk_router_path_map.py:40
Method
test_rss_incomplete_read_degrades_to_empty
(self)
tests/test_reddit_fallback.py:156
Method
test_rss_posts_omit_fake_counts_and_note_source
(self)
tests/test_reddit_fallback.py:169
Method
test_run_signature_captures_graph_shape
(self)
tests/test_checkpoint_resume.py:195
Method
test_safe_defaults_when_state_minimal
(self)
tests/test_instrument_identity.py:162
Method
test_same_ticker_prioritised
Same-ticker entries in same-ticker section; cross-ticker entries in cross-ticker section.
tests/test_memory_log.py:744
Function
test_save_reports_defaults_under_results_dir
(tmp_path)
tests/test_reporting.py:45
Function
test_save_reports_explicit_path
(tmp_path)
tests/test_reporting.py:37
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:333
Method
test_select_cancel_defaults_english
(self)
tests/test_openrouter_model_select.py:115
Method
test_sentiment_report_also_in_messages
(self)
tests/test_structured_agents.py:382
Method
test_set_config_does_not_alias_caller_nested_dicts
(self)
tests/test_dataflows_config.py:26
Method
test_signature_changes_thread_id
(self)
tests/test_checkpoint_resume.py:158
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_symbol_utils.py:47
Method
test_skips_placeholder_values
(self)
tests/test_instrument_identity.py:46
Method
test_social_key_displays_as_sentiment_analyst
(self)
tests/test_analyst_execution.py:32
Method
test_sole_unconfigured_vendor_surfaces_the_error
(self)
tests/test_vendor_errors.py:89
Method
test_store_appends_not_overwrites
(self, tmp_path)
tests/test_memory_log.py:118
Method
test_store_creates_file
(self, tmp_path)
tests/test_memory_log.py:112
Method
test_store_decision_idempotent
Calling store_decision twice with same (ticker, date) stores only one entry.
tests/test_memory_log.py:127
Method
test_string_input_yields_empty_list
(self)
tests/test_deepseek_reasoning.py:44
← previous
next →
701–800 of 854, ranked by callers