Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ types & classes
Types & classes
151 in github.com/TauricResearch/TradingAgents
⨍
Functions
854
◇
Types & classes
151
↳
Endpoints
4
↓ 12 callers
Class
NoMarketDataError
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
↓ 8 callers
Class
TradingMemoryLog
Append-only markdown log of trading decisions and reflections.
tradingagents/agents/utils/memory.py:9
↓ 7 callers
Class
SentimentReport
Structured sentiment report produced by the Sentiment Analyst. Replaces the previous free-form prose output so downstream consumers (dashboar
tradingagents/agents/schemas.py:273
↓ 7 callers
Class
TraderProposal
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:121
↓ 6 callers
Class
ConditionalLogic
Handles conditional logic for determining graph flow.
tradingagents/graph/conditional_logic.py:6
↓ 5 callers
Class
Reflector
Handles reflection on trading decisions.
tradingagents/graph/reflection.py:6
↓ 5 callers
Class
SignalProcessor
Read the 5-tier rating out of a Portfolio Manager decision.
tradingagents/graph/signal_processing.py:20
↓ 4 callers
Class
AnalystWallTimeTracker
tradingagents/graph/analyst_execution.py:76
↓ 4 callers
Class
OpenAIClient
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:257
↓ 4 callers
Class
Propagator
Handles state initialization and propagation through the graph.
tradingagents/graph/propagation.py:11
↓ 4 callers
Class
ResearchPlan
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:73
↓ 3 callers
Class
AlphaVantageNotConfiguredError
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 callers
Class
DeepSeekChatOpenAI
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 callers
Class
GoogleClient
Client for Google Gemini models.
tradingagents/llm_clients/google_client.py:20
↓ 3 callers
Class
PortfolioDecision
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:188
↓ 2 callers
Class
AlphaVantageRateLimitError
Raised when the Alpha Vantage API rate limit is exceeded.
tradingagents/dataflows/alpha_vantage_common.py:58
↓ 2 callers
Class
DummyLLMClient
tests/test_model_validation.py:11
↓ 2 callers
Class
TradingAgentsGraph
Main class that orchestrates the trading agents framework.
tradingagents/graph/trading_graph.py:65
↓ 1 callers
Class
AnalystExecutionPlan
tradingagents/graph/analyst_execution.py:16
↓ 1 callers
Class
AnalystNodeSpec
tradingagents/graph/analyst_execution.py:7
↓ 1 callers
Class
AnthropicClient
Client for Anthropic Claude models.
tradingagents/llm_clients/anthropic_client.py:53
↓ 1 callers
Class
AzureOpenAIClient
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 callers
Class
BedrockClient
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 callers
Class
FredNotConfiguredError
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:75
↓ 1 callers
Class
GraphSetup
Handles the setup and configuration of the agent graph.
tradingagents/graph/setup.py:45
↓ 1 callers
Class
InvestDebateState
tradingagents/agents/utils/agent_states.py:8
↓ 1 callers
Class
MessageBuffer
cli/main.py:63
↓ 1 callers
Class
MinimaxChatOpenAI
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 callers
Class
ModelCapabilities
What an OpenAI-compatible model accepts at the API level.
tradingagents/llm_clients/capabilities.py:30
↓ 1 callers
Class
NormalizedAzureChatOpenAI
AzureChatOpenAI with normalized content output.
tradingagents/llm_clients/azure_client.py:14
↓ 1 callers
Class
NormalizedChatAnthropic
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 callers
Class
NormalizedChatGoogleGenerativeAI
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:9
↓ 1 callers
Class
ProviderSpec
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 callers
Class
RiskDebateState
tradingagents/agents/utils/agent_states.py:22
↓ 1 callers
Class
StatsCallbackHandler
Callback handler that tracks LLM calls, tool calls, and token usage.
cli/stats_handler.py:9
↓ 1 callers
Class
_FakeResponse
tests/test_alpha_vantage_hardening.py:16
↓ 1 callers
Class
_Resp
tests/test_reddit_fallback.py:32
↓ 1 callers
Class
_Resp
tests/test_stocktwits_resilience.py:20
Class
AgentState
tradingagents/agents/utils/agent_states.py:47
Class
AnalystExecutionPlanTests
tests/test_analyst_execution.py:11
Class
AnalystType
cli/models.py:4
Class
AnalystWallTimeTrackerTests
tests/test_analyst_execution.py:44
Class
AssetType
cli/models.py:13
Class
BaseLLMClient
Abstract base class for LLM clients.
tradingagents/llm_clients/base_client.py:25
Class
BuildInstrumentContextTests
tests/test_instrument_identity.py:69
Class
ContextAnchoredPlaceholderTests
#888 — the message-clear placeholder must not be a bare 'Continue'.
tests/test_instrument_identity.py:122
Class
CryptoAssetModeTests
tests/test_crypto_asset_mode.py:8
Class
DataflowsConfigIsolationTests
tests/test_dataflows_config.py:13
Class
DummyTicker
tests/test_yfinance_stale_ohlcv_guard.py:72
Class
FakeSearch
tests/test_news_lookahead.py:56
Class
FakeTicker
tests/test_date_boundaries.py:19
Class
FakeTicker
tests/test_symbol_normalization_paths.py:19
Class
FredConfigTests
tests/test_fred.py:79
Class
FredFormattingTests
tests/test_fred.py:91
Class
FredResolutionTests
tests/test_fred.py:50
Class
FredRoutingTests
tests/test_fred.py:155
Class
GetInstrumentContextFromStateTests
tests/test_instrument_identity.py:100
Class
HierarchyTests
tests/test_vendor_errors.py:29
Class
LocalCompatibleChatOpenAI
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
Class
ModelValidationTests
tests/test_model_validation.py:25
Class
NativeBaseUrlTests
tests/test_openai_responses_base_url.py:15
Class
NormalizedChatBedrockConverse
ChatBedrockConverse with normalized (string) content output.
tradingagents/llm_clients/bedrock_client.py:31
Class
NormalizedChatOpenAI
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
Class
PolymarketFilterTests
tests/test_polymarket.py:49
Class
PolymarketFormatTests
tests/test_polymarket.py:71
Class
PolymarketResilienceTests
tests/test_polymarket.py:94
Class
PolymarketRoutingTests
tests/test_polymarket.py:106
Class
PortfolioRating
5-tier rating used by the Research Manager and Portfolio Manager.
tradingagents/agents/schemas.py:44
Class
ResolveInstrumentIdentityTests
tests/test_instrument_identity.py:19
Class
ResponsesApiSelectionTests
tests/test_openai_responses_base_url.py:31
Class
RouterHandlesBaseTypesTests
tests/test_vendor_errors.py:53
Class
Schema
tests/test_openai_compatible_provider.py:85
Class
SentimentBand
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:258
Class
StaleGuardPropagationTests
tests/test_yfinance_stale_ohlcv_guard.py:62
Class
StaleGuardRoutingTests
tests/test_yfinance_stale_ohlcv_guard.py:85
Class
StaleGuardUnitTests
tests/test_yfinance_stale_ohlcv_guard.py:38
Class
StockstatsUtils
tradingagents/dataflows/stockstats_utils.py:209
Class
TestBaseClassIsolation
tests/test_deepseek_reasoning.py:232
Class
TestCancelExitsCleanly
tests/test_openrouter_model_select.py:93
Class
TestCheckpointResume
tests/test_checkpoint_resume.py:45
Class
TestCheckpointSignature
A different graph shape (analyst selection / depth / asset mode) must not resume the previous run's checkpoint (#1089).
tests/test_checkpoint_resume.py:143
Class
TestChunkedTransferErrorsHandled
IncompleteRead/RemoteDisconnected come from http.client and are NOT OSErrors, so they were previously uncaught and crashed the pipeline (#1024).
tests/test_reddit_fallback.py:152
Class
TestCleanDataframeAcrossVersions
tests/test_stockstats_date_column.py:49
Class
TestCliSkipsPromptsFromEnv
tests/test_cli_env_skip.py:34
Class
TestCryptoBase
tests/test_symbol_utils.py:82
Class
TestCryptoSearchTerm
A crypto pair (BTC-USD) barely matches Reddit text; search the base (#1113).
tests/test_reddit_fallback.py:196
Class
TestDeepSeekLiveStructuredOutput
End-to-end: a real DeepSeek V4-flash call returns a typed instance. Verifies the no-tool_choice path doesn't trigger the 400 reported in issu
tests/test_deepseek_reasoning.py:197
Class
TestDeepSeekReasoningContent
tests/test_deepseek_reasoning.py:56
Class
TestDefault
Unknown / non-DeepSeek models get the permissive default.
tests/test_capabilities.py:97
Class
TestDeferredReflection
tests/test_memory_log.py:387
Class
TestEffortGate
tests/test_anthropic_effort.py:24
Class
TestEnsureDateColumn
tests/test_stockstats_date_column.py:29
Class
TestExactIdMatches
tests/test_capabilities.py:13
Class
TestFetchSubredditIsRssFirst
The default per-subreddit fetch goes straight to RSS — it must not hit the WAF-blocked JSON endpoint, which only burned rate-limit budget.
tests/test_reddit_fallback.py:94
Class
TestFormatterHandlesRssPosts
tests/test_reddit_fallback.py:168
Class
TestGoogleApiKeyStandardization
Verify GoogleClient accepts unified api_key parameter.
tests/test_google_api_key.py:10
Class
TestInputToMessages
tests/test_deepseek_reasoning.py:34
Class
TestIsYahooSafe
tests/test_symbol_utils.py:71
Class
TestIsoToTimestamp
tests/test_reddit_fallback.py:55
Class
TestJsonPathFallsBackToRss
The opt-in JSON path still degrades to RSS on a 403 (kept for #862).
tests/test_reddit_fallback.py:110
next →
1–100 of 151, ranked by callers