TCPDashboard/strategies/__init__.py
Vasily.onl fd5a59fc39 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

26 lines
824 B
Python

"""
Strategy Engine Package
This package provides strategy calculation and signal generation capabilities
optimized for the TCP Trading Platform's market data and technical indicators.
IMPORTANT: Mirrors Indicator Patterns
- Follows the same architecture as data/common/indicators/
- Uses BaseStrategy abstract class pattern
- Implements factory pattern for dynamic strategy loading
- Supports JSON-based configuration management
- Integrates with existing technical indicators system
"""
from .base import BaseStrategy
from .factory import StrategyFactory
from .data_types import StrategySignal, SignalType, StrategyResult
# Note: Strategy implementations and manager will be added in next iterations
__all__ = [
'BaseStrategy',
'StrategyFactory',
'StrategySignal',
'SignalType',
'StrategyResult'
]