- 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.
18 lines
422 B
Python
18 lines
422 B
Python
"""
|
|
Strategy implementations package.
|
|
|
|
This package contains individual implementations of trading strategies,
|
|
each in its own module for better maintainability and separation of concerns.
|
|
"""
|
|
|
|
from .ema_crossover import EMAStrategy
|
|
from .rsi import RSIStrategy
|
|
from .macd import MACDStrategy
|
|
# from .macd import MACDIndicator
|
|
|
|
__all__ = [
|
|
'EMAStrategy',
|
|
'RSIStrategy',
|
|
'MACDStrategy',
|
|
# 'MACDIndicator'
|
|
] |