MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions974 in github.com/TauricResearch/TradingAgents

Methodtest_falls_back_to_freetext_when_structured_unavailable
(self)
tests/test_structured_agents.py:420
Methodtest_falls_back_to_short_name
(self)
tests/test_instrument_identity.py:40
Methodtest_fetch_returns_delisted
Empty DataFrame → returns all-None, no crash.
tests/test_memory_log.py:521
Methodtest_fetch_returns_incomplete_window_stays_pending
#1169: a rerun before the full holding window has traded returns unavailable (all-None) so the entry stays pending, rather than settling
tests/test_memory_log.py:548
Functiontest_fetch_returns_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:36
Methodtest_fetch_returns_spy_shorter_than_stock
SPY having fewer rows than the stock (but still a full window) must not raise IndexError.
tests/test_memory_log.py:531
Methodtest_fetch_returns_too_recent
Only 1 data point available → returns all-None, no crash.
tests/test_memory_log.py:511
Methodtest_fetch_returns_valid_ticker
(self)
tests/test_memory_log.py:494
Functiontest_fill_price_gaps_drops_nan_close_rows
()
tests/test_ohlcv_latest_bar.py:73
Methodtest_filters_out_fundamentals_analyst_for_crypto
(self)
tests/test_crypto_asset_mode.py:17
Methodtest_financial_situation_memory_removed
FinancialSituationMemory must not be importable from the memory module.
tests/test_memory_log.py:846
Functiontest_flash_passes_thinking_level_through
(level)
tests/test_google_thinking_level.py:27
Functiontest_flat_article_publish_time_is_parsed
()
tests/test_news_lookahead.py:23
Methodtest_float_passthrough
(self)
tests/test_temperature_config.py:76
Methodtest_float_string_coerced
(self)
tests/test_temperature_config.py:73
Methodtest_forex_pairs_get_x_suffix
(self)
tests/test_symbol_utils.py:38
Methodtest_formats_summary_in_plan_order
(self)
tests/test_analyst_execution.py:54
Methodtest_formatting_roundtrip_after_update
All fields intact and blank line between tag and DECISION preserved after update.
tests/test_memory_log.py:449
Functiontest_forwarded_across_providers
(provider)
tests/test_llm_max_retries.py:61
Functiontest_forwarded_as_max_output_tokens_for_google
()
tests/test_llm_max_tokens.py:71
Functiontest_forwarded_as_max_tokens_for_non_google
(provider)
tests/test_llm_max_tokens.py:64
Functiontest_forwarded_env_string_is_coerced
()
tests/test_llm_max_retries.py:67
Methodtest_full_cycle_store_resolve_inject
store pending → resolve with outcome → past_context non-empty for PM.
tests/test_memory_log.py:824
Methodtest_full_pipeline_no_regression
propagate() completes and stores the decision after the redesign.
tests/test_memory_log.py:867
Methodtest_fullwidth_colon_is_parsed_not_reviewed
(self)
tests/test_signal_processing.py:102
Functiontest_fundamentals_look_ahead_filter_runs_on_json_string
(monkeypatch)
tests/test_alpha_vantage_hardening.py:76
Functiontest_fundamentals_no_curr_date_passes_through
(monkeypatch)
tests/test_alpha_vantage_hardening.py:88
Functiontest_fundamentals_non_json_body_unchanged
(monkeypatch)
tests/test_alpha_vantage_hardening.py:94
Methodtest_future_deepseek_v5_inherits_thinking_quirks
(self)
tests/test_capabilities.py:38
Methodtest_future_deepseek_v9_inherits_thinking_quirks
(self)
tests/test_capabilities.py:43
Methodtest_future_m3_inherits_reasoning_split
(self)
tests/test_capabilities.py:85
Methodtest_future_minimax_m4_highspeed_inherits_thinking_quirks
(self)
tests/test_capabilities.py:55
Methodtest_future_opus_sonnet_inherit_effort_via_pattern
Forward-compat: new Opus/Sonnet versions don't need a code change.
tests/test_anthropic_effort.py:54
Methodtest_future_v_variant_via_regex
Forward-compat: unknown deepseek-v\\d-* IDs inherit V4 quirks.
tests/test_deepseek_reasoning.py:165
Methodtest_get_config_returns_deep_copy
(self)
tests/test_dataflows_config.py:17
Methodtest_get_initial_analyst_node_uses_plan_metadata
(self)
tests/test_analyst_execution.py:24
Methodtest_get_macro_data_returns_guidance_on_bad_indicator
(self)
tests/test_fred.py:71
Functiontest_get_news_takes_ticker_not_query
()
tests/test_news_analyst_prompt.py:15
Methodtest_get_past_context_cross_ticker
(self, tmp_path)
tests/test_memory_log.py:267
Methodtest_get_past_context_empty
(self, tmp_path)
tests/test_memory_log.py:251
Methodtest_get_past_context_pending_excluded
(self, tmp_path)
tests/test_memory_log.py:255
Methodtest_get_past_context_same_ticker
(self, tmp_path)
tests/test_memory_log.py:260
Methodtest_get_pending_returns_pending_only
(self, tmp_path)
tests/test_memory_log.py:240
Methodtest_get_yfin_data_online_raises_on_stale_frame
(self)
tests/test_yfinance_stale_ohlcv_guard.py:63
Functiontest_get_yfin_requests_inclusive_end
(monkeypatch)
tests/test_date_boundaries.py:16
Functiontest_global_news_empty_after_filter_is_informative
(monkeypatch)
tests/test_news_lookahead.py:93
Functiontest_global_news_future_flat_article_excluded
(monkeypatch)
tests/test_news_lookahead.py:75
Methodtest_gpt_default
(self)
tests/test_capabilities.py:100
Methodtest_graph_returns_rating
(self)
tests/test_signal_processing.py:139
Methodtest_graph_surfaces_review
(self)
tests/test_signal_processing.py:136
Methodtest_grok_default
(self)
tests/test_capabilities.py:105
Methodtest_header_contains_band_and_score
(self)
tests/test_structured_agents.py:321
Methodtest_header_contains_confidence
(self)
tests/test_structured_agents.py:332
Functiontest_helper_marks_empty_and_passes_through
()
tests/test_debate_opening.py:61
Functiontest_helpful_error_when_langchain_aws_absent
(monkeypatch)
tests/test_bedrock_provider.py:30
Functiontest_historical_request_always_uses_cache
(tmp_path)
tests/test_ohlcv_cache_freshness.py:53
Functiontest_identity_lookup_normalizes_symbol
(monkeypatch)
tests/test_symbol_normalization_paths.py:16
Functiontest_in_window_bounds_and_exclusive_upper
()
tests/test_social_lookahead.py:38
Functiontest_in_window_undated_excluded_in_backtest_kept_live
()
tests/test_social_lookahead.py:50
Methodtest_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_stockstats_date_column.py:62
Methodtest_injects_resolved_identity
(self)
tests/test_instrument_identity.py:76
Functiontest_int_coercion
(monkeypatch)
tests/test_env_overrides.py:47
Functiontest_invalid_bool_raises
A misspelled boolean must fail loudly (like ints) instead of silently False.
tests/test_env_overrides.py:114
Functiontest_invalid_config_value_fails_loudly
()
tests/test_llm_max_retries.py:74
Functiontest_invalid_int_raises
Garbage int values should surface a ValueError at import, not silently misconfigure.
tests/test_env_overrides.py:103
Functiontest_invalid_key_not_mislabeled_as_rate_limit
(monkeypatch)
tests/test_alpha_vantage_hardening.py:49
Functiontest_invalid_value_fails_loudly
()
tests/test_llm_max_tokens.py:85
Functiontest_invoke_structured_falls_back_when_result_is_none
()
tests/test_structured_agents.py:157
Methodtest_json_incomplete_read_falls_back_to_rss
(self)
tests/test_reddit_fallback.py:160
Methodtest_json_posts_still_show_counts
(self)
tests/test_reddit_fallback.py:182
Methodtest_keeps_all_analysts_for_stock
(self)
tests/test_crypto_asset_mode.py:34
Functiontest_key_optionality
()
tests/test_provider_registry.py:52
Functiontest_keyless_local_uses_placeholder_and_chat_completions
(monkeypatch)
tests/test_openai_compatible_provider.py:34
Functiontest_known_providers_resolve
(provider, env_var)
tests/test_api_key_env.py:48
Methodtest_known_providers_resolve
(self)
tests/test_cli_env_skip.py:17
Functiontest_latest_in_range_nan_close_raises_not_silent_fallback
(monkeypatch, tmp_path)
tests/test_ohlcv_latest_bar.py:100
Methodtest_leaves_existing_date_untouched
(self)
tests/test_stockstats_date_column.py:38
Functiontest_legacy_entry_without_resolution_date_excluded_in_backtest
(tmp_path)
tests/test_memory_pointintime.py:58
Methodtest_limit_caps_results
(self)
tests/test_polymarket.py:63
Methodtest_list_input_returned_as_is
(self)
tests/test_deepseek_reasoning.py:35
Methodtest_load_entries_empty_file
(self, tmp_path)
tests/test_memory_log.py:208
Methodtest_load_entries_multiple
(self, tmp_path)
tests/test_memory_log.py:224
Methodtest_load_entries_single
(self, tmp_path)
tests/test_memory_log.py:212
Functiontest_load_ohlcv_refetches_stale_same_day_cache
End-to-end: the helper is actually wired into load_ohlcv's cache branch. Without this, the unit tests above would still pass if the helper were n
tests/test_ohlcv_cache_freshness.py:61
Functiontest_load_ohlcv_requests_inclusive_end
(monkeypatch, tmp_path)
tests/test_date_boundaries.py:43
Functiontest_load_ohlcv_reuses_fresh_same_day_cache
(tmp_path, monkeypatch)
tests/test_ohlcv_cache_freshness.py:95
Methodtest_long_holiday_gap_within_threshold_is_accepted
(self)
tests/test_yfinance_stale_ohlcv_guard.py:57
Methodtest_long_series_is_truncated_but_change_uses_full_range
(self)
tests/test_fred.py:123
Methodtest_look_back_window_capped_at_30
(self, monkeypatch)
tests/test_market_data_validator.py:58
Methodtest_lowercases_are_upper
(self)
tests/test_symbol_utils.py:21
Methodtest_m2_1_rejects_tool_choice
(self)
tests/test_capabilities.py:73
Methodtest_m2_7_highspeed_rejects_tool_choice
(self)
tests/test_capabilities.py:70
Methodtest_m2_7_highspeed_suppresses_tool_choice
(self)
tests/test_minimax.py:63
Methodtest_m2_7_rejects_tool_choice
(self)
tests/test_capabilities.py:65
Methodtest_m2_7_suppresses_tool_choice
(self)
tests/test_minimax.py:58
Methodtest_m2_base_rejects_tool_choice
(self)
tests/test_capabilities.py:76
Methodtest_m2_x_requires_reasoning_split
(self)
tests/test_capabilities.py:79
Methodtest_macro_category_routes_to_fred
(self)
tests/test_fred.py:179
Methodtest_makes_no_llm_calls
SignalProcessor must not invoke the LLM it was constructed with — the rating is parseable from the rendered PM markdown directly.
tests/test_signal_processing.py:82
Methodtest_malformed_xml_fails_open
(self)
tests/test_reddit_fallback.py:88
← previousnext →601–700 of 974, ranked by callers