mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-04 00:22:43 +02:00
- a saved report also includes complete_report.html: the report as one self-contained page with its sections listed beside the text, readable in a browser, on a phone and in print - answering the save question at the prompt also asks about the page and offers to open it in a local browser window; --no-html and save_reports(..., html=False) skip it - the Tauric Research logo leads the header at the top left, and a line at the foot credits TradingAgents and Tauric Research - the page loads nothing and runs nothing (inline styles, a content-security policy); report text is rendered without raw HTML or images - markdown-it-py is declared as a dependency
88 lines
2.4 KiB
TOML
88 lines
2.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tradingagents"
|
|
dynamic = ["version"]
|
|
description = "TradingAgents: Multi-Agents LLM Financial Trading Framework"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"langchain-core>=1.6.5",
|
|
"langchain-anthropic>=1.7.4",
|
|
"langchain-google-genai>=4.4.0",
|
|
"langchain-openai>=1.6.6",
|
|
"langgraph>=1.2.12",
|
|
"langgraph-checkpoint-sqlite>=3.1.1",
|
|
"markdown-it-py>=4.0",
|
|
"pandas>=3.0.6",
|
|
"python-dotenv>=1.0.0",
|
|
"pytz>=2025.2",
|
|
"questionary>=2.1.0",
|
|
"requests>=2.32.4",
|
|
"rich>=14.0.0",
|
|
"typer>=0.21.0",
|
|
"stockstats>=0.6.5",
|
|
"typing-extensions>=4.14.0",
|
|
"yfinance>=1.7.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff>=0.16",
|
|
"pytest>=8.0",
|
|
"pytest-subtests>=0.13",
|
|
]
|
|
# Amazon Bedrock support (AWS SigV4 auth + boto3). Optional so the core install
|
|
# stays lean: pip install "tradingagents[bedrock]".
|
|
bedrock = [
|
|
"langchain-aws>=1.7.9",
|
|
]
|
|
|
|
[project.scripts]
|
|
tradingagents = "cli.main:app"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "tradingagents.__version__"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["tradingagents*", "cli*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
cli = ["static/*"]
|
|
tradingagents = ["assets/*.svg"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra --strict-markers -m \"not integration\""
|
|
markers = [
|
|
"unit: fast isolated unit tests",
|
|
"integration: tests requiring external services; run only when asked for, with -m integration",
|
|
"smoke: quick sanity-check tests",
|
|
]
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
extend-exclude = ["results"]
|
|
|
|
[tool.ruff.lint]
|
|
# Standard "good defaults" rule set (pyflakes + pycodestyle + isort + bugbear +
|
|
# pyupgrade + comprehensions/simplify). Line length (E501) and layout are owned
|
|
# by the formatter; whole-repo `ruff format` adoption is deferred until the
|
|
# open-PR backlog clears, to avoid mass merge conflicts.
|
|
select = ["E", "W", "F", "I", "B", "UP", "C4", "SIM"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"**/__init__.py" = ["F401"] # intentional re-exports
|
|
|
|
[tool.ruff.lint.isort]
|
|
# Keep multiple aliased names from one module in a single combined import block
|
|
# (e.g. the vendor imports in router.py) instead of one statement per name.
|
|
combine-as-imports = true
|