2024-05-09 10:35:54 +08:00
|
|
|
[build-system]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
requires = [
|
|
|
|
|
"setuptools",
|
|
|
|
|
"setuptools-scm",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
authors = [
|
2026-05-09 17:48:22 +02:00
|
|
|
{email = "nico@nexquant.io", name = "NexQuant Team"},
|
2024-05-09 10:35:54 +08:00
|
|
|
]
|
|
|
|
|
classifiers = [
|
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
|
]
|
2026-05-09 17:48:22 +02:00
|
|
|
description = "NexQuant - AI-gestützter Quantitative Trading Agent für EUR/USD"
|
2024-05-09 10:35:54 +08:00
|
|
|
dynamic = [
|
|
|
|
|
"dependencies",
|
|
|
|
|
"optional-dependencies",
|
2024-08-08 00:14:15 +08:00
|
|
|
"version",
|
2024-05-09 10:35:54 +08:00
|
|
|
]
|
|
|
|
|
keywords = [
|
2026-03-29 00:10:26 +01:00
|
|
|
"Quantitative Trading",
|
2024-05-09 10:35:54 +08:00
|
|
|
"Autonomous Agents",
|
|
|
|
|
"Large Language Models",
|
2026-03-29 00:10:26 +01:00
|
|
|
"EUR/USD",
|
|
|
|
|
"Forex",
|
2024-05-09 10:35:54 +08:00
|
|
|
]
|
2026-05-09 17:48:22 +02:00
|
|
|
name = "nexquant"
|
2024-05-09 10:35:54 +08:00
|
|
|
readme = "README.md"
|
2024-08-02 12:57:34 +08:00
|
|
|
requires-python = ">=3.10"
|
2024-05-09 10:35:54 +08:00
|
|
|
|
2024-08-08 17:10:37 +08:00
|
|
|
[project.scripts]
|
|
|
|
|
rdagent = "rdagent.app.cli:app"
|
|
|
|
|
|
2024-05-09 10:35:54 +08:00
|
|
|
[project.urls]
|
2026-05-09 17:48:22 +02:00
|
|
|
homepage = "https://github.com/NexQuantAI/nexquant/"
|
|
|
|
|
issue = "https://github.com/NexQuantAI/nexquant/issues"
|
2024-05-09 10:35:54 +08:00
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
|
fail_under = 80
|
|
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
|
source = [
|
|
|
|
|
"rdagent",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
|
color_output = true
|
|
|
|
|
profile = "black"
|
|
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
disallow_any_unimported = true
|
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
|
enable_error_code = [
|
|
|
|
|
"ignore-without-code",
|
|
|
|
|
]
|
2024-07-26 12:12:16 +08:00
|
|
|
explicit_package_bases = true
|
2024-05-09 10:35:54 +08:00
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unused_ignores = true
|
|
|
|
|
|
2025-01-17 22:53:05 +08:00
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
module = "llama"
|
|
|
|
|
|
2024-05-09 10:35:54 +08:00
|
|
|
[tool.pytest.ini_options]
|
2026-04-19 18:22:58 +02:00
|
|
|
addopts = "-l -s --durations=0 -m 'not slow'"
|
2024-05-09 10:35:54 +08:00
|
|
|
log_cli = true
|
|
|
|
|
log_cli_level = "info"
|
|
|
|
|
log_date_format = "%Y-%m-%d %H:%M:%S"
|
|
|
|
|
log_format = "%(asctime)s %(levelname)s %(message)s"
|
2026-03-17 15:49:30 +08:00
|
|
|
markers = [
|
2026-04-03 12:33:30 +02:00
|
|
|
"offline: tests that do not require external API calls",
|
|
|
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
|
|
|
"integration: marks tests as integration tests",
|
2026-03-17 15:49:30 +08:00
|
|
|
]
|
2024-05-09 10:35:54 +08:00
|
|
|
minversion = "6.0"
|
2026-03-17 15:49:30 +08:00
|
|
|
norecursedirs = [
|
|
|
|
|
"workspace",
|
|
|
|
|
]
|
2024-05-09 10:35:54 +08:00
|
|
|
|
|
|
|
|
[tool.ruff]
|
2024-06-07 00:23:11 +08:00
|
|
|
fix = true
|
2024-05-30 10:33:07 +08:00
|
|
|
line-length = 120
|
|
|
|
|
src = ["rdagent"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
2024-05-09 10:35:54 +08:00
|
|
|
ignore = [
|
|
|
|
|
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
|
|
|
|
|
"ANN401",
|
|
|
|
|
"D",
|
|
|
|
|
"ERA001",
|
2025-02-13 22:20:17 +08:00
|
|
|
"EXE002",
|
2024-05-30 10:33:07 +08:00
|
|
|
"FIX",
|
|
|
|
|
"INP001",
|
|
|
|
|
"PGH",
|
2024-05-09 10:35:54 +08:00
|
|
|
"PLR0913",
|
|
|
|
|
"S101",
|
2024-06-12 15:12:11 +08:00
|
|
|
"S301",
|
2024-05-30 10:33:07 +08:00
|
|
|
"T20",
|
2025-04-04 11:20:33 +08:00
|
|
|
"TC003",
|
2024-05-30 10:33:07 +08:00
|
|
|
"TD",
|
2024-05-09 10:35:54 +08:00
|
|
|
]
|
|
|
|
|
select = ["ALL"]
|
|
|
|
|
|
2024-05-30 10:33:07 +08:00
|
|
|
[tool.ruff.lint.per-file-ignores]
|
2024-05-09 10:35:54 +08:00
|
|
|
"docs/conf.py" = ["INP001"]
|
|
|
|
|
"test/*" = ["S101"]
|
|
|
|
|
|
|
|
|
|
[tool.setuptools]
|
2024-06-05 15:36:15 +08:00
|
|
|
packages = ["rdagent"]
|
2024-05-09 10:35:54 +08:00
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
|
|
|
|
dependencies = {file = ["requirements.txt"]}
|
|
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic.optional-dependencies]
|
|
|
|
|
docs = {file = ["requirements/docs.txt"]}
|
|
|
|
|
lint = {file = ["requirements/lint.txt"]}
|
|
|
|
|
package = {file = ["requirements/package.txt"]}
|
|
|
|
|
test = {file = ["requirements/test.txt"]}
|
2025-09-03 16:37:33 +08:00
|
|
|
torch = {file = ["requirements/torch.txt"]} # some agent algorithms need torch. pip install rdagent[torch]
|
2024-05-09 10:35:54 +08:00
|
|
|
|
|
|
|
|
[tool.setuptools_scm]
|
2024-08-08 00:14:15 +08:00
|
|
|
local_scheme = "no-local-version"
|
|
|
|
|
version_scheme = "guess-next-dev"
|
2024-05-09 10:35:54 +08:00
|
|
|
|
|
|
|
|
[tool.tomlsort]
|
|
|
|
|
all = true
|
|
|
|
|
in_place = true
|
|
|
|
|
trailing_comma_inline_array = true
|