[project] name = "ktrade" version = "0.1.0" description = "Kraken quantitative trading research, backtesting, paper-trading and execution platform (API + workers)" requires-python = ">=3.12,<3.14" dependencies = [ "fastapi>=0.115", "uvicorn[standard]>=0.30", "pydantic>=2.8", "pydantic-settings>=2.4", "asyncpg>=0.29", "redis>=5.0", "httpx>=0.27", "websockets>=13.0", "structlog>=24.4", "orjson>=3.10", "numpy>=1.26,<3", "pandas>=2.2", "scipy>=1.13", "statsmodels>=0.14", "itsdangerous>=2.2", "bcrypt>=4.2", "prometheus-client>=0.20", "typer>=0.12", "python-multipart>=0.0.9", ] [project.optional-dependencies] dev = [ "pytest>=8.3", "pytest-asyncio>=0.24", "hypothesis>=6.112", "ruff>=0.6", "mypy>=1.11", "respx>=0.21", ] [project.scripts] ktrade = "ktrade.cli:app" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["ktrade"] [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"] [tool.ruff] line-length = 110 target-version = "py312" [tool.ruff.lint] select = ["E", "F", "I", "B", "UP", "ASYNC"] ignore = ["E501", "B008"] [tool.mypy] plugins = ["pydantic.mypy"] python_version = "3.12" ignore_missing_imports = true check_untyped_defs = true