Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TauricResearch/TradingAgents
/ types & classes
Types & classes
199 in github.com/TauricResearch/TradingAgents
⨍
Functions
1,637
◇
Types & classes
199
↳
Endpoints
17
↓ 23 callers
Class
TradingMemoryLog
Append-only markdown log of trading decisions and reflections.
tradingagents/memory/log.py:11
↓ 14 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
↓ 12 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:146
↓ 11 callers
Class
ScriptedModel
Calls every bound tool once, then answers with TEXT.
tests/test_graph_end_to_end.py:50
↓ 11 callers
Class
_Response
tests/test_post_screen.py:12
↓ 9 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:311
↓ 9 callers
Class
VendorUnavailableError
A vendor could not answer: it throttled or failed the request. Says nothing about the instrument; the router skips to the next vendor.
tradingagents/dataflows/errors.py:46
↓ 7 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:221
↓ 6 callers
Class
ConditionalLogic
Handles conditional logic for determining graph flow.
tradingagents/graph/conditional_logic.py:4
↓ 6 callers
Class
Reflector
Handles reflection on trading decisions.
tradingagents/memory/reflection.py:6
↓ 5 callers
Class
Propagator
Handles state initialization and propagation through the graph.
tradingagents/graph/propagation.py:6
↓ 5 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:95
↓ 5 callers
Class
_JsonResp
Minimal urlopen() context-manager stub returning a JSON body.
tests/test_social_lookahead.py:19
↓ 5 callers
Class
_Result
tests/test_cli_commands.py:67
↓ 4 callers
Class
AnalystWallTimeTracker
cli/display.py:574
↓ 4 callers
Class
GoogleClient
Client for Google Gemini models.
tradingagents/llm_clients/google_client.py:38
↓ 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:258
↓ 4 callers
Class
_Summary
tests/test_cli_commands.py:77
↓ 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/vendors/alpha_vantage/common.py:18
↓ 3 callers
Class
BacktestResult
tradingagents/backtest.py:79
↓ 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
TradingAgentsGraph
Main class that orchestrates the trading agents framework.
tradingagents/graph/trading_graph.py:51
↓ 3 callers
Class
_Browser
tests/test_cli_headless.py:90
↓ 3 callers
Class
_FakeGraph
Records the lifecycle calls run_analysis makes.
tests/test_cli_memory_log.py:45
↓ 2 callers
Class
AlphaVantageRateLimitError
Raised when the Alpha Vantage API rate limit is exceeded.
tradingagents/dataflows/vendors/alpha_vantage/common.py:65
↓ 2 callers
Class
AssetType
cli/models.py:13
↓ 2 callers
Class
DummyLLMClient
tests/test_model_validation.py:11
↓ 2 callers
Class
LoopingModel
Calls a tool on every turn it is offered one (#1420).
tests/test_graph_end_to_end.py:238
↓ 2 callers
Class
MessageBuffer
cli/display.py:26
↓ 2 callers
Class
Settlement
What a settlement pass did: the decisions it settled and those it could not.
tradingagents/memory/settlement.py:102
↓ 2 callers
Class
TypeSafeError
A System One request that did not produce answers.
tradingagents/agents/post_screen.py:64
↓ 2 callers
Class
_Reflector
tests/test_memory_log.py:957
↓ 2 callers
Class
_Resp
tests/test_stocktwits_resilience.py:21
↓ 1 callers
Class
AnalystExecutionPlan
tradingagents/graph/analyst_execution.py:16
↓ 1 callers
Class
AnalystNodeSpec
tradingagents/graph/analyst_execution.py:8
↓ 1 callers
Class
AnalystType
cli/models.py:4
↓ 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
BacktestSummary
tradingagents/backtest.py:101
↓ 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
Failing
tests/test_cli_headless.py:368
↓ 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/vendors/fred.py:93
↓ 1 callers
Class
GraphSetup
Handles the setup and configuration of the agent graph.
tradingagents/graph/setup.py:93
↓ 1 callers
Class
InvestDebateState
tradingagents/agents/state.py:8
↓ 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:23
↓ 1 callers
Class
PortfolioContext
tradingagents/portfolio.py:29
↓ 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
RatingScore
tradingagents/backtest.py:94
↓ 1 callers
Class
RiskDebateState
tradingagents/agents/state.py:21
↓ 1 callers
Class
StatsCallbackHandler
Callback handler that tracks LLM calls, tool calls, and token usage.
cli/stats_handler.py:9
↓ 1 callers
Class
TimedModel
ScriptedModel that records each call's graph step, prompt and timing.
tests/test_graph_end_to_end.py:293
↓ 1 callers
Class
_Calls
tests/test_post_screen.py:24
↓ 1 callers
Class
_Client
tests/test_graph_end_to_end.py:94
↓ 1 callers
Class
_Down
tests/test_memory_log.py:1167
↓ 1 callers
Class
_FakeBuffer
tests/test_cli_memory_log.py:94
↓ 1 callers
Class
_FakeResponse
tests/test_alpha_vantage_hardening.py:19
↓ 1 callers
Class
_Graph
tests/test_rating_integrity.py:122
↓ 1 callers
Class
_Interrupted
tests/test_memory_log.py:1232
↓ 1 callers
Class
_LLM
tests/test_prompt_integrity.py:63
↓ 1 callers
Class
_LLM
tests/test_portfolio_context.py:127
↓ 1 callers
Class
_LLM
tests/test_post_screen.py:274
↓ 1 callers
Class
_LLM
tests/test_rating_integrity.py:190
↓ 1 callers
Class
_NoConsole
tests/test_cli_no_console.py:30
↓ 1 callers
Class
_Resp
tests/test_reddit_fallback.py:32
↓ 1 callers
Class
_Slow
tests/test_post_screen.py:294
↓ 1 callers
Class
_Slow
tests/test_memory_log.py:1213
Class
AgentState
tradingagents/agents/state.py:45
Class
AnalystExecutionPlanTests
tests/test_analyst_execution.py:8
Class
AnalystWallTimeTrackerTests
tests/test_cli_display.py:108
Class
BaseLLMClient
Abstract base class for LLM clients.
tradingagents/llm_clients/base_client.py:25
Class
BuildInstrumentContextTests
tests/test_instrument_identity.py:77
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:82
Class
FakeSearch
tests/test_symbol_normalization_paths.py:70
Class
FakeTicker
tests/test_news_lookahead.py:114
Class
FakeTicker
tests/test_date_boundaries.py:21
Class
FakeTicker
tests/test_symbol_normalization_paths.py:19
Class
FredConfigTests
tests/test_fred.py:100
Class
FredFormattingTests
tests/test_fred.py:112
Class
FredResolutionTests
tests/test_fred.py:52
Class
FredRoutingTests
tests/test_fred.py:219
Class
GetInstrumentContextFromStateTests
tests/test_instrument_identity.py:108
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:50
Class
PolymarketFormatTests
tests/test_polymarket.py:72
Class
PolymarketResilienceTests
tests/test_polymarket.py:95
Class
PolymarketRoutingTests
tests/test_polymarket.py:107
Class
PortfolioRating
5-tier rating used by the Research Manager and Portfolio Manager.
tradingagents/agents/schemas.py:66
Class
Position
tradingagents/portfolio.py:23
next →
1–100 of 199, ranked by callers