fix: Refactor imports and remove unused ATR calculation
Changes: - Updated import paths for `compute_atr_series` and `is_strategy_eod_bar` to reflect new module structure. - Removed the unused `compute_atr_series` function from `tail_engine.py`, streamlining the codebase. Impact: - These changes enhance code organization and maintainability by ensuring that only necessary components are imported and utilized, while also eliminating redundant code.
This commit is contained in:
@@ -32,7 +32,7 @@ from kis_trader.strategies.breakout import (
|
||||
normalize_breakout_max_loss_krw,
|
||||
)
|
||||
from kis_trader.strategies.base import is_strategy_eod_bar
|
||||
from kis_trader.engine.tail_engine import compute_atr_series
|
||||
from kis_trader.engine.atr_series import compute_atr_series
|
||||
|
||||
|
||||
def _entry_atr_at(ctx: Dict[str, Any], idx: int) -> float:
|
||||
|
||||
Reference in New Issue
Block a user