mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-06-16 21:06:15 +03:00
Headline themes in v0.2.5: - Sentiment Analyst grounded in real data. Renamed from social_media_analyst and redesigned to pre-fetch Yahoo News, StockTwits, and Reddit before the LLM is invoked, ending the prior fabrication behavior. - MiniMax provider with full M2.x catalog and dual-region split. Qwen and GLM also split into international + China regions with separate API keys and a clean secondary region prompt in the CLI. - TRADINGAGENTS_* env-var overlay for DEFAULT_CONFIG with type-aware coercion; .env loading centralized so every entry point sees the user's keys. Interactive API-key detection prompts and persists missing keys to .env on the fly. - OLLAMA_BASE_URL end-to-end for remote ollama-serve, plus a Custom model ID option in the Ollama dropdown. - Configurable news-fetch parameters and configurable alpha benchmark for non-US tickers (.NS / .T / .HK / .L / .TO / .AX / .BO ship with sensible regional defaults). - Multi-language output now propagates to every user-facing agent (researchers, risk debators, research manager, trader) instead of only the analysts and portfolio manager. - Model catalog refresh across all providers (GPT-5.5 frontier, Claude Opus 4.7, Gemini 3.1 Flash-Lite GA, Grok 4.20, Qwen 3.6 line). - Capability-dispatch table drives provider-specific structured-output quirks (DeepSeek V4/reasoner and MiniMax M2.x tool_choice rejection, MiniMax reasoning_split) so the general client stays clean. - Fixes: ticker path-traversal validation (security), dotenv loading via console script, reports save bug, exchange-suffix truncation in the ticker prompt, Docker permission errors, deepcopy config isolation, max_recur_limit plumbing, clearer missing-API-key error. See CHANGELOG.md for the full per-item list with issue/PR references.
55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tradingagents"
|
|
version = "0.2.5"
|
|
description = "TradingAgents: Multi-Agents LLM Financial Trading Framework"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"langchain-core>=0.3.81",
|
|
"backtrader>=1.9.78.123",
|
|
"langchain-anthropic>=0.3.15",
|
|
"langchain-experimental>=0.3.4",
|
|
"langchain-google-genai>=4.0.0",
|
|
"langchain-openai>=0.3.23",
|
|
"langgraph>=0.4.8",
|
|
"langgraph-checkpoint-sqlite>=2.0.0",
|
|
"pandas>=2.3.0",
|
|
"parsel>=1.10.0",
|
|
"pytz>=2025.2",
|
|
"questionary>=2.1.0",
|
|
"redis>=6.2.0",
|
|
"requests>=2.32.4",
|
|
"rich>=14.0.0",
|
|
"typer>=0.21.0",
|
|
"setuptools>=80.9.0",
|
|
"stockstats>=0.6.5",
|
|
"tqdm>=4.67.1",
|
|
"typing-extensions>=4.14.0",
|
|
"yfinance>=0.2.63",
|
|
]
|
|
|
|
[project.scripts]
|
|
tradingagents = "cli.main:app"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["tradingagents*", "cli*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
cli = ["static/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra --strict-markers"
|
|
markers = [
|
|
"unit: fast isolated unit tests",
|
|
"integration: tests requiring external services",
|
|
"smoke: quick sanity-check tests",
|
|
]
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
]
|