MCPcopy Create free account

hub / github.com/TauricResearch/TradingAgents / functions

Functions974 in github.com/TauricResearch/TradingAgents

↓ 1 callersFunction_get_stock_stats_bulk
Optimized bulk calculation of stock stats indicators. Fetches data once and calculates indicator for all available dates. Returns dict ma
tradingagents/dataflows/y_finance.py:212
↓ 1 callersFunction_is_forward_looking
Keep only open markets that resolve in the future. ``closed`` is the reliable resolved flag (``active`` stays True even for settled markets),
tradingagents/dataflows/polymarket.py:47
↓ 1 callersFunction_iso_to_timestamp
Parse an Atom ``published`` timestamp to a UTC epoch, or None.
tradingagents/dataflows/reddit.py:82
↓ 1 callersMethod_log_state
Log the final state to a JSON file.
tradingagents/graph/trading_graph.py:576
↓ 1 callersFunction_make_pm_state
(investment_plan: str, trader_plan: str)
scripts/smoke_structured_output.py:76
↓ 1 callersFunction_make_rm_state
()
scripts/smoke_structured_output.py:55
↓ 1 callersFunction_make_trader_state
(investment_plan: str)
scripts/smoke_structured_output.py:69
↓ 1 callersFunction_market
(question, prob, *, volume, end_date, closed=False, wk=None)
tests/test_polymarket.py:19
↓ 1 callersFunction_needs_same_day_refresh
Whether a cached frame must be refetched to reflect the requested day. The cache file is keyed per day, so without this a run started before the
tradingagents/dataflows/stockstats_utils.py:167
↓ 1 callersFunction_normalize_crypto
Return ``<BASE>-USD`` for a known USD/USDT/USDC-quoted crypto, else None.
tradingagents/dataflows/symbol_utils.py:98
↓ 1 callersFunction_normalize_dates
Parse to naive, midnight-normalized dates so tz-aware or intraday timestamps compare correctly against the naive ``curr_date`` cutoff (#1201).
tradingagents/dataflows/stockstats_utils.py:76
↓ 1 callersMethod_parse_entry
(self, raw: str)
tradingagents/agents/utils/memory.py:285
↓ 1 callersFunction_print_section
(title: str, content: str)
scripts/smoke_structured_output.py:100
↓ 1 callersFunction_prompt_custom_model_id
Prompt user to type a custom model ID.
cli/utils.py:287
↓ 1 callersFunction_raise
(exc)
tests/test_stocktwits_resilience.py:19
↓ 1 callersFunction_request
(path: str, params: dict)
tradingagents/dataflows/polymarket.py:29
↓ 1 callersFunction_request
GET a FRED endpoint, surfacing FRED's JSON error body on a bad request.
tradingagents/dataflows/fred.py:118
↓ 1 callersFunction_resolve_series_id
Map a friendly alias to a FRED series ID, or pass a raw ID through. Raises ``ValueError`` when the input is neither a known alias nor a plausible
tradingagents/dataflows/fred.py:95
↓ 1 callersFunction_retry_after_seconds
Seconds to wait from a 429's ``Retry-After`` header, capped at 30s.
tradingagents/dataflows/reddit.py:104
↓ 1 callersMethod_route_method
(self, method, vendors)
tests/test_vendor_routing.py:99
↓ 1 callersMethod_run_graph
Execute the graph and write the resulting state to disk and memory log.
tradingagents/graph/trading_graph.py:509
↓ 1 callersFunction_seven_days_back
(trade_date: str)
tradingagents/agents/analysts/sentiment_analyst.py:47
↓ 1 callersFunction_stocktwits_symbol
Map a crypto pair to StockTwits' ``<BASE>.X`` convention. StockTwits lists crypto as ``BTC.X`` (Yahoo's ``BTC-USD`` form 404s), so any crypto
tradingagents/dataflows/stocktwits.py:56
↓ 1 callersFunction_strip_html
Reduce the HTML body Reddit embeds in an Atom entry to plain text.
tradingagents/dataflows/reddit.py:93
↓ 1 callersFunction_supports_effort
Whether Anthropic accepts the ``effort`` parameter for this model.
tradingagents/llm_clients/anthropic_client.py:27
↓ 1 callersMethod_update_current_report
(self)
cli/main.py:191
↓ 1 callersMethod_update_final_report
(self)
cli/main.py:220
↓ 1 callersFunction_verified_rows
OHLCV on or before curr_date, date-sorted. Raises if nothing usable. ``load_ohlcv`` already normalizes the Date column and filters out look-a
tradingagents/dataflows/market_data_validator.py:28
↓ 1 callersFunction_within_window
Keep only messages published in [start_date, end_date] (look-ahead safe). No window (both None) leaves the list untouched for live callers. A mes
tradingagents/dataflows/stocktwits.py:33
↓ 1 callersFunction_within_window
Keep only posts published in [start_date, end_date] (look-ahead safe). No window (both None) leaves the list untouched for live callers. A post w
tradingagents/dataflows/reddit.py:39
↓ 1 callersFunction_workflow
()
tests/test_checkpoint_lifecycle.py:38
↓ 1 callersMethodadd_message
(self, message_type, content)
cli/main.py:173
↓ 1 callersMethodadd_tool_call
(self, tool_name, args)
cli/main.py:177
↓ 1 callersFunctionask_glm_region
Ask which GLM platform (Z.AI international vs BigModel China) to use. Zhipu serves the same GLM models under two brands with separate account
cli/utils.py:493
↓ 1 callersFunctionask_minimax_region
Ask which MiniMax region (global vs China) to use. MiniMax exposes two endpoints with separate accounts — a key from one region does NOT auth
cli/utils.py:546
↓ 1 callersFunctionask_output_language
Ask for report output language.
cli/utils.py:653
↓ 1 callersFunctionask_qwen_region
Ask which Qwen region (international vs China) to use. Alibaba DashScope exposes two endpoints with separate accounts — a key from one region
cli/utils.py:519
↓ 1 callersFunctionbuild_verified_market_snapshot
Render a ground-truth snapshot: latest OHLCV row, indicators, recent closes.
tradingagents/dataflows/market_data_validator.py:62
↓ 1 callersMethodcheckpoint_scope
Context-manager form of begin/end_checkpoint for the propagate path.
tradingagents/graph/trading_graph.py:479
↓ 1 callersFunctionclassify_message_type
Classify LangChain message into display type and extract content. Returns: (type, content) - type is one of: User, Agent, Data, Control
cli/main.py:941
↓ 1 callersFunctionclear_all_checkpoints
Remove all checkpoint DBs. Returns number of files deleted.
tradingagents/graph/checkpointer.py:73
↓ 1 callersFunctionconfirm_ollama_endpoint
Show the resolved Ollama endpoint after provider selection. Surfaces three things the user benefits from seeing before model selection: which
cli/utils.py:573
↓ 1 callersFunctioncreate_bear_researcher
(llm)
tradingagents/agents/researchers/bear_researcher.py:8
↓ 1 callersFunctioncreate_conservative_debator
(llm)
tradingagents/agents/risk_mgmt/conservative_debator.py:8
↓ 1 callersFunctioncreate_fundamentals_analyst
(llm)
tradingagents/agents/analysts/fundamentals_analyst.py:13
↓ 1 callersFunctioncreate_layout
()
cli/main.py:265
↓ 1 callersFunctioncreate_market_analyst
(llm)
tradingagents/agents/analysts/market_analyst.py:12
↓ 1 callersFunctioncreate_neutral_debator
(llm)
tradingagents/agents/risk_mgmt/neutral_debator.py:8
↓ 1 callersFunctioncreate_news_analyst
(llm)
tradingagents/agents/analysts/news_analyst.py:13
↓ 1 callersFunctiondisplay_announcements
Display announcements panel. Prompts for Enter if require_attention is True.
cli/announcements.py:31
↓ 1 callersFunctiondisplay_complete_report
Display the complete analysis report sequentially (avoids truncation).
cli/main.py:768
↓ 1 callersFunctionensure_api_key
Make sure the API key for `provider` is available in the environment. If the env var is already set, returns its value untouched. Otherwise i
cli/utils.py:603
↓ 1 callersFunctionextract_content_string
Extract string content from various message formats. Returns None if no meaningful text content is found.
cli/main.py:899
↓ 1 callersFunctionfetch_announcements
Fetch announcements from endpoint. Returns dict with announcements and settings.
cli/announcements.py:10
↓ 1 callersFunctionfetch_reddit_posts
Fetch recent Reddit posts mentioning ``ticker`` across finance subreddits and return them as a formatted plaintext block. ``inter_request_del
tradingagents/dataflows/reddit.py:211
↓ 1 callersFunctionfetch_stocktwits_messages
Fetch recent StockTwits messages for ``ticker`` and return them as a formatted plaintext block ready for prompt injection. When ``start_date`
tradingagents/dataflows/stocktwits.py:67
↓ 1 callersFunctionformat_tokens
Format token count for display.
cli/main.py:281
↓ 1 callersFunctionformat_tool_args
Format tool arguments for terminal display.
cli/main.py:967
↓ 1 callersFunctionget_analysis_date
Get the analysis date from user input.
cli/main.py:744
↓ 1 callersFunctionget_api_key
Retrieve the FRED API key from the environment.
tradingagents/dataflows/fred.py:84
↓ 1 callersFunctionget_api_key
Retrieve the API key for Alpha Vantage from environment variables.
tradingagents/dataflows/alpha_vantage_common.py:28
↓ 1 callersFunctionget_category_for_method
Get the category that contains the specified method.
tradingagents/dataflows/interface.py:146
↓ 1 callersMethodget_completed_reports_count
Count reports that are finalized (their finalizing agent is completed). A report is considered complete when: 1. The report section h
cli/main.py:152
↓ 1 callersMethodget_llm
Return configured ChatGoogleGenerativeAI instance.
tradingagents/llm_clients/google_client.py:26
↓ 1 callersMethodget_llm
Return the configured LLM instance.
tradingagents/llm_clients/base_client.py:55
↓ 1 callersMethodget_news
(self, count)
tests/test_symbol_normalization_paths.py:68
↓ 1 callersMethodget_provider_name
Return the provider name used in warning messages.
tradingagents/llm_clients/base_client.py:33
↓ 1 callersMethodget_stats
Return current statistics.
cli/stats_handler.py:68
↓ 1 callersMethodget_stock_stats
( symbol: Annotated[str, "ticker symbol for the company"], indicator: Annotated[ s
tradingagents/dataflows/stockstats_utils.py:287
↓ 1 callersFunctionget_stock_stats_indicators_window
( symbol: Annotated[str, "ticker symbol of the company"], indicator: Annotated[str, "technical indicat
tradingagents/dataflows/y_finance.py:72
↓ 1 callersFunctionget_stockstats_indicator
( symbol: Annotated[str, "ticker symbol of the company"], indicator: Annotated[str, "technical indicat
tradingagents/dataflows/y_finance.py:246
↓ 1 callersFunctionget_ticker
Prompt the user to enter a ticker symbol, preserving exchange suffixes. Uses questionary.text (not typer.prompt, which strips trailing dot-suffix
cli/utils.py:37
↓ 1 callersFunctionget_user_selections
Get all user selections before starting the analysis display.
cli/main.py:495
↓ 1 callersFunctionget_vendor
Get the configured vendor for a data category or specific tool method. Tool-level configuration takes precedence over category-level.
tradingagents/dataflows/interface.py:153
↓ 1 callersMethodinit_for_analysis
Initialize agent status and report sections based on selected analysts. Args: selected_analysts: List of analyst type strings (e.
cli/main.py:117
↓ 1 callersFunctionis_empty
Check if value is empty using Python's truthiness.
cli/main.py:905
↓ 1 callersFunctionis_review
Whether a signal is the non-tradeable REVIEW sentinel (#1170).
tradingagents/agents/utils/rating.py:81
↓ 1 callersFunctionmain
()
scripts/smoke_structured_output.py:105
↓ 1 callersFunctionprompt_openai_compatible_url
Prompt for a custom OpenAI-compatible endpoint base URL.
cli/utils.py:391
↓ 1 callersFunctionrun_analysis
(checkpoint: bool | None = None)
cli/main.py:1004
↓ 1 callersFunctionsave_message_decorator
(obj, func_name)
cli/main.py:1041
↓ 1 callersFunctionsave_report_section_decorator
(obj, func_name)
cli/main.py:1063
↓ 1 callersFunctionsave_report_to_disk
Save the complete analysis report to disk (shared CLI/API writer).
cli/main.py:763
↓ 1 callersFunctionsave_tool_call_decorator
(obj, func_name)
cli/main.py:1052
↓ 1 callersFunctionselect_analysts
Select analysts using an interactive checkbox.
cli/utils.py:135
↓ 1 callersFunctionselect_deep_thinking_agent
Select deep thinking llm engine using an interactive selection.
cli/utils.py:334
↓ 1 callersFunctionselect_llm_provider
Select the LLM provider and its API endpoint.
cli/utils.py:405
↓ 1 callersFunctionselect_openrouter_model
Select an OpenRouter model from the newest available, or enter a custom ID. ``mode`` ("quick"/"deep") labels the prompt so the two consecutive
cli/utils.py:246
↓ 1 callersFunctionselect_research_depth
Select research depth using an interactive selection.
cli/utils.py:167
↓ 1 callersFunctionselect_shallow_thinking_agent
Select shallow thinking llm engine using an interactive selection.
cli/utils.py:329
↓ 1 callersMethodsetup_graph
Set up and compile the agent workflow graph. Args: selected_analysts (list): List of analyst types to include. Options are:
tradingagents/graph/setup.py:61
↓ 1 callersFunctionthinking_value_or_prompt
Return the env-configured reasoning/thinking value, or prompt for it. When ``env_var`` is set the interactive choice is skipped and the value
cli/main.py:534
↓ 1 callersFunctionto_utc
Normalize a datetime to UTC-aware; a naive value is assumed to be UTC.
tradingagents/dataflows/date_window.py:17
↓ 1 callersFunctionupdate_analyst_statuses
Update analyst statuses based on accumulated report state. Logic: - Store new report content from the current chunk if present - Check ac
cli/main.py:852
↓ 1 callersFunctionupdate_display
(layout, spinner_text=None, stats_handler=None, start_time=None)
cli/main.py:288
↓ 1 callersFunctionupdate_research_team_status
Update status for research team members (not Trader).
cli/main.py:829
↓ 1 callersFunctionvalidate_date
(date_str: str)
cli/utils.py:107
↓ 1 callersMethodvalidate_model
Validate that the model is supported by this client.
tradingagents/llm_clients/base_client.py:60
Method__enter__
(self)
tests/test_social_lookahead.py:25
Method__enter__
(self_inner)
tests/test_stocktwits_resilience.py:21
← previousnext →201–300 of 974, ranked by callers