MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / types & classes

Types & classes181 in github.com/TauricResearch/TradingAgents

↓ 20 callersClassTradingMemoryLog
Append-only markdown log of trading decisions and reflections.
tradingagents/agents/utils/memory.py:9
↓ 18 callersClassNoMarketDataError
A vendor returned no usable rows for a symbol (empty result or stale data). Carries both the symbol the user requested and the canonical symbol t
tradingagents/dataflows/errors.py:25
↓ 12 callersClassTraderProposal
Structured transaction proposal produced by the Trader. The trader reads the Research Manager's investment plan and the analyst reports, then
tradingagents/agents/schemas.py:146
↓ 8 callersClassSentimentReport
Structured sentiment report produced by the Sentiment Analyst. Replaces the previous free-form prose output so downstream consumers (dashboar
tradingagents/agents/schemas.py:311
↓ 7 callersClassPortfolioDecision
Structured output produced by the Portfolio Manager. The model fills every field as part of its primary LLM call; no separate extraction pass
tradingagents/agents/schemas.py:221
↓ 6 callersClassConditionalLogic
Handles conditional logic for determining graph flow.
tradingagents/graph/conditional_logic.py:6
↓ 6 callersClassPropagator
Handles state initialization and propagation through the graph.
tradingagents/graph/propagation.py:11
↓ 6 callersClassReflector
Handles reflection on trading decisions.
tradingagents/graph/reflection.py:6
↓ 6 callersClassSignalProcessor
Read the 5-tier rating out of a Portfolio Manager decision.
tradingagents/graph/signal_processing.py:20
↓ 5 callersClassResearchPlan
Structured investment plan produced by the Research Manager. Hand-off to the Trader: the recommendation pins the directional view, the ration
tradingagents/agents/schemas.py:95
↓ 5 callersClass_JsonResp
Minimal urlopen() context-manager stub returning a JSON body.
tests/test_social_lookahead.py:19
↓ 4 callersClassAnalystWallTimeTracker
tradingagents/graph/analyst_execution.py:76
↓ 4 callersClassGoogleClient
Client for Google Gemini models.
tradingagents/llm_clients/google_client.py:34
↓ 4 callersClassOpenAIClient
Client for OpenAI, Ollama, OpenRouter, and xAI providers. For native OpenAI models, uses the Responses API (/v1/responses) which supports rea
tradingagents/llm_clients/openai_client.py:258
↓ 4 callersClassVendorRateLimitError
A vendor throttled the request; the router skips to the next vendor.
tradingagents/dataflows/errors.py:46
↓ 3 callersClassAlphaVantageNotConfiguredError
Raised when Alpha Vantage is selected but no API key is configured. A VendorNotConfiguredError (and thus still a ValueError), so the routing
tradingagents/dataflows/alpha_vantage_common.py:18
↓ 3 callersClassDeepSeekChatOpenAI
DeepSeek-specific overrides on top of the OpenAI-compatible client. Thinking-mode round-trip is the only DeepSeek-specific behavior that stay
tradingagents/llm_clients/openai_client.py:88
↓ 3 callersClassTradingAgentsGraph
Main class that orchestrates the trading agents framework.
tradingagents/graph/trading_graph.py:93
↓ 2 callersClassAlphaVantageRateLimitError
Raised when the Alpha Vantage API rate limit is exceeded.
tradingagents/dataflows/alpha_vantage_common.py:63
↓ 2 callersClassDummyLLMClient
tests/test_model_validation.py:11
↓ 2 callersClass_Result
tests/test_cli_commands.py:66
↓ 2 callersClass_Summary
tests/test_cli_commands.py:76
↓ 1 callersClassAnalystExecutionPlan
tradingagents/graph/analyst_execution.py:16
↓ 1 callersClassAnalystNodeSpec
tradingagents/graph/analyst_execution.py:7
↓ 1 callersClassAnalystType
cli/models.py:4
↓ 1 callersClassAnthropicClient
Client for Anthropic Claude models.
tradingagents/llm_clients/anthropic_client.py:53
↓ 1 callersClassAssetType
cli/models.py:13
↓ 1 callersClassAzureOpenAIClient
Client for Azure OpenAI deployments. Requires environment variables: AZURE_OPENAI_API_KEY: API key AZURE_OPENAI_ENDPOINT: Endpoin
tradingagents/llm_clients/azure_client.py:21
↓ 1 callersClassBacktestResult
tradingagents/backtest.py:77
↓ 1 callersClassBacktestSummary
tradingagents/backtest.py:99
↓ 1 callersClassBedrockClient
Client for Amazon Bedrock via the Converse API (langchain-aws). Authentication is either a Bedrock API key (bearer token) via ``AWS_BEARER_TO
tradingagents/llm_clients/bedrock_client.py:41
↓ 1 callersClassFredNotConfiguredError
Raised when FRED is selected but no API key is configured. A VendorNotConfiguredError (and thus still a ValueError), so the routing layer's "
tradingagents/dataflows/fred.py:82
↓ 1 callersClassGraphSetup
Handles the setup and configuration of the agent graph.
tradingagents/graph/setup.py:45
↓ 1 callersClassInvestDebateState
tradingagents/agents/utils/agent_states.py:8
↓ 1 callersClassMessageBuffer
cli/main.py:81
↓ 1 callersClassMinimaxChatOpenAI
MiniMax-specific overrides on top of the OpenAI-compatible client. M2.x reasoning models embed ``<think>...</think>`` blocks directly in ``me
tradingagents/llm_clients/openai_client.py:132
↓ 1 callersClassModelCapabilities
What an OpenAI-compatible model accepts at the API level.
tradingagents/llm_clients/capabilities.py:30
↓ 1 callersClassNormalizedAzureChatOpenAI
AzureChatOpenAI with normalized content output.
tradingagents/llm_clients/azure_client.py:14
↓ 1 callersClassNormalizedChatAnthropic
ChatAnthropic with normalized content output. Claude models with extended thinking or tool use return content as a list of typed blocks. This
tradingagents/llm_clients/anthropic_client.py:41
↓ 1 callersClassNormalizedChatGoogleGenerativeAI
ChatGoogleGenerativeAI with normalized content output. Gemini 3 models return content as list of typed blocks. This normalizes to string for
tradingagents/llm_clients/google_client.py:23
↓ 1 callersClassPortfolioContext
tradingagents/portfolio.py:29
↓ 1 callersClassProviderSpec
Declarative config for one OpenAI-compatible provider. The OpenAI-compatible family (OpenAI, xAI, DeepSeek, Qwen, GLM, MiniMax, OpenRouter, O
tradingagents/llm_clients/openai_client.py:184
↓ 1 callersClassRatingScore
tradingagents/backtest.py:92
↓ 1 callersClassRiskDebateState
tradingagents/agents/utils/agent_states.py:22
↓ 1 callersClassStatsCallbackHandler
Callback handler that tracks LLM calls, tool calls, and token usage.
cli/stats_handler.py:9
↓ 1 callersClass_FakeBuffer
tests/test_cli_decision_log.py:114
↓ 1 callersClass_FakeGraph
Records the lifecycle calls run_analysis makes.
tests/test_cli_decision_log.py:64
↓ 1 callersClass_FakeResponse
tests/test_alpha_vantage_hardening.py:19
↓ 1 callersClass_Graph
tests/test_rating_integrity.py:114
↓ 1 callersClass_LLM
tests/test_prompt_integrity.py:63
↓ 1 callersClass_LLM
tests/test_portfolio_context.py:127
↓ 1 callersClass_LLM
tests/test_rating_integrity.py:186
↓ 1 callersClass_NoConsole
tests/test_cli_no_console.py:30
↓ 1 callersClass_Reflector
tests/test_memory_log.py:965
↓ 1 callersClass_Resp
tests/test_reddit_fallback.py:32
↓ 1 callersClass_Resp
tests/test_stocktwits_resilience.py:20
ClassAgentState
tradingagents/agents/utils/agent_states.py:47
ClassAnalystExecutionPlanTests
tests/test_analyst_execution.py:11
ClassAnalystWallTimeTrackerTests
tests/test_analyst_execution.py:44
ClassBaseLLMClient
Abstract base class for LLM clients.
tradingagents/llm_clients/base_client.py:25
ClassBuildInstrumentContextTests
tests/test_instrument_identity.py:69
ClassContextAnchoredPlaceholderTests
#888 — the message-clear placeholder must not be a bare 'Continue'.
tests/test_instrument_identity.py:122
ClassCryptoAssetModeTests
tests/test_crypto_asset_mode.py:8
ClassDataflowsConfigIsolationTests
tests/test_dataflows_config.py:13
ClassDummyTicker
tests/test_yfinance_stale_ohlcv_guard.py:72
ClassFakeSearch
tests/test_news_lookahead.py:82
ClassFakeTicker
tests/test_news_lookahead.py:111
ClassFakeTicker
tests/test_date_boundaries.py:19
ClassFakeTicker
tests/test_symbol_normalization_paths.py:19
ClassFredConfigTests
tests/test_fred.py:80
ClassFredFormattingTests
tests/test_fred.py:92
ClassFredResolutionTests
tests/test_fred.py:51
ClassFredRoutingTests
tests/test_fred.py:197
ClassGetInstrumentContextFromStateTests
tests/test_instrument_identity.py:100
ClassHierarchyTests
tests/test_vendor_errors.py:29
ClassLocalCompatibleChatOpenAI
OpenAI-compatible client for arbitrary local servers (LM Studio, vLLM, llama.cpp via the generic ``openai_compatible`` provider). Their tool-
tradingagents/llm_clients/openai_client.py:54
ClassModelValidationTests
tests/test_model_validation.py:25
ClassNativeBaseUrlTests
tests/test_openai_responses_base_url.py:15
ClassNormalizedChatBedrockConverse
ChatBedrockConverse with normalized (string) content output.
tradingagents/llm_clients/bedrock_client.py:31
ClassNormalizedChatOpenAI
ChatOpenAI with normalized content output and capability-aware binding. The Responses API returns content as a list of typed blocks (reasonin
tradingagents/llm_clients/openai_client.py:16
ClassPolymarketFilterTests
tests/test_polymarket.py:49
ClassPolymarketFormatTests
tests/test_polymarket.py:71
ClassPolymarketResilienceTests
tests/test_polymarket.py:94
ClassPolymarketRoutingTests
tests/test_polymarket.py:106
ClassPortfolioRating
5-tier rating used by the Research Manager and Portfolio Manager.
tradingagents/agents/schemas.py:66
ClassPosition
tradingagents/portfolio.py:23
ClassResolveInstrumentIdentityTests
tests/test_instrument_identity.py:19
ClassResponsesApiSelectionTests
tests/test_openai_responses_base_url.py:31
ClassRouterHandlesBaseTypesTests
tests/test_vendor_errors.py:53
ClassSchema
tests/test_openai_compatible_provider.py:85
ClassSchema
tests/test_ollama_base_url.py:212
ClassSentimentBand
Discrete sentiment direction produced by the Sentiment Analyst. Six tiers keep the signal granular enough to be actionable while remaining sm
tradingagents/agents/schemas.py:296
ClassStaleGuardPropagationTests
tests/test_yfinance_stale_ohlcv_guard.py:62
ClassStaleGuardRoutingTests
tests/test_yfinance_stale_ohlcv_guard.py:85
ClassStaleGuardUnitTests
tests/test_yfinance_stale_ohlcv_guard.py:38
ClassStockstatsUtils
tradingagents/dataflows/stockstats_utils.py:307
ClassTestAlphaVantageHistoricalRun
The same rule must hold for the other fundamentals vendor, or switching data_vendors["fundamental_data"] would silently reintroduce the leak.
tests/test_fundamentals_lookahead.py:87
ClassTestBaseClassIsolation
tests/test_deepseek_reasoning.py:232
ClassTestCancelExitsCleanly
tests/test_openrouter_model_select.py:93
ClassTestCheckpointResume
tests/test_checkpoint_resume.py:45
next →1–100 of 181, ranked by callers