2025-05-29 23:04:08 +08:00
|
|
|
[project]
|
|
|
|
|
name = "dashboard"
|
|
|
|
|
version = "0.1.0"
|
2025-05-29 23:50:41 +08:00
|
|
|
description = "Crypto Trading Bot Dashboard - A control dashboard for managing and monitoring multiple cryptocurrency trading bots"
|
2025-05-29 23:04:08 +08:00
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.10"
|
2025-05-29 23:50:41 +08:00
|
|
|
dependencies = [
|
|
|
|
|
# Core web framework
|
|
|
|
|
"dash>=2.14.0",
|
2025-06-06 13:33:59 +08:00
|
|
|
"dash-bootstrap-components>=1.6.0",
|
|
|
|
|
"dash-bootstrap-templates>=1.1.0",
|
2025-05-29 23:50:41 +08:00
|
|
|
"plotly>=5.17.0",
|
2025-06-06 13:33:59 +08:00
|
|
|
"waitress>=3.0.0",
|
2025-05-29 23:50:41 +08:00
|
|
|
# Database
|
|
|
|
|
"sqlalchemy>=2.0.0",
|
|
|
|
|
"psycopg2-binary>=2.9.0",
|
|
|
|
|
"alembic>=1.12.0",
|
|
|
|
|
# HTTP and WebSocket clients
|
|
|
|
|
"requests>=2.31.0",
|
|
|
|
|
"websocket-client>=1.6.0",
|
2025-05-31 20:49:31 +08:00
|
|
|
"websockets>=11.0.0",
|
2025-05-29 23:50:41 +08:00
|
|
|
"aiohttp>=3.8.0",
|
|
|
|
|
# Data processing
|
|
|
|
|
"pandas>=2.1.0",
|
|
|
|
|
"numpy>=1.24.0",
|
|
|
|
|
# Configuration and environment
|
|
|
|
|
"python-dotenv>=1.0.0",
|
|
|
|
|
"pydantic>=2.4.0",
|
|
|
|
|
"pydantic-settings>=2.1.0",
|
|
|
|
|
# Caching
|
|
|
|
|
"redis>=4.6.0",
|
|
|
|
|
# Utilities
|
|
|
|
|
"python-dateutil>=2.8.0",
|
|
|
|
|
"pytz>=2023.3",
|
|
|
|
|
# Logging
|
|
|
|
|
"structlog>=23.1.0",
|
|
|
|
|
# Development tools
|
|
|
|
|
"watchdog>=3.0.0", # For file watching and hot reload
|
|
|
|
|
"click>=8.0.0", # For CLI commands
|
2025-05-30 19:54:56 +08:00
|
|
|
"pytest>=8.3.5",
|
2025-06-04 17:46:50 +08:00
|
|
|
"psutil>=7.0.0",
|
2025-06-07 12:31:47 +08:00
|
|
|
"tzlocal>=5.3.1",
|
2025-05-29 23:50:41 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
dev = [
|
|
|
|
|
"pytest>=7.4.0",
|
|
|
|
|
"pytest-asyncio>=0.21.0",
|
|
|
|
|
"pytest-cov>=4.1.0",
|
|
|
|
|
"black>=23.0.0",
|
|
|
|
|
"isort>=5.12.0",
|
|
|
|
|
"flake8>=6.0.0",
|
|
|
|
|
"mypy>=1.5.0",
|
|
|
|
|
"pre-commit>=3.5.0", # For git hooks
|
|
|
|
|
"pytest-mock>=3.12.0", # For mocking in tests
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
4.0 - 1.0 Implement strategy engine foundation with modular components
- Introduced a new `strategies` package containing the core structure for trading strategies, including `BaseStrategy`, `StrategyFactory`, and various strategy implementations (EMA, RSI, MACD).
- Added utility functions for signal detection and validation in `strategies/utils.py`, enhancing modularity and maintainability.
- Updated `pyproject.toml` to include the new `strategies` package in the build configuration.
- Implemented comprehensive unit tests for the strategy foundation components, ensuring reliability and adherence to project standards.
These changes establish a solid foundation for the strategy engine, aligning with project goals for modularity, performance, and maintainability.
2025-06-12 14:41:16 +08:00
|
|
|
packages = ["config", "database", "scripts", "tests", "data", "strategies"]
|
2025-05-29 23:50:41 +08:00
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
|
line-length = 88
|
|
|
|
|
target-version = ['py310']
|
|
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
|
profile = "black"
|
|
|
|
|
line_length = 88
|
|
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
|
python_version = "3.10"
|
|
|
|
|
warn_return_any = true
|
|
|
|
|
warn_unused_configs = true
|
|
|
|
|
disallow_untyped_defs = true
|
2025-05-30 20:33:56 +08:00
|
|
|
|
|
|
|
|
[dependency-groups]
|
|
|
|
|
dev = [
|
|
|
|
|
"pytest-asyncio>=1.0.0",
|
|
|
|
|
]
|
4.0 - 1.0 Implement strategy engine foundation with modular components
- Introduced a new `strategies` package containing the core structure for trading strategies, including `BaseStrategy`, `StrategyFactory`, and various strategy implementations (EMA, RSI, MACD).
- Added utility functions for signal detection and validation in `strategies/utils.py`, enhancing modularity and maintainability.
- Updated `pyproject.toml` to include the new `strategies` package in the build configuration.
- Implemented comprehensive unit tests for the strategy foundation components, ensuring reliability and adherence to project standards.
These changes establish a solid foundation for the strategy engine, aligning with project goals for modularity, performance, and maintainability.
2025-06-12 14:41:16 +08:00
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
pythonpath = ["."]
|
|
|
|
|
testpaths = ["tests"]
|