feat(EXEC-001A): add named strategy templates

This commit is contained in:
Bu5hm4nn
2026-03-24 12:27:39 +01:00
parent 78a01d9fc5
commit 2161e10626
10 changed files with 949 additions and 61 deletions

View File

@@ -1,5 +1,4 @@
from .base import BaseStrategy, StrategyConfig
from .engine import StrategySelectionEngine
from .laddered_put import LadderedPutStrategy, LadderSpec
from .lease import LeaseAnalysisSpec, LeaseStrategy
from .protective_put import ProtectivePutSpec, ProtectivePutStrategy
@@ -15,3 +14,11 @@ __all__ = [
"LeaseStrategy",
"StrategySelectionEngine",
]
def __getattr__(name: str):
if name == "StrategySelectionEngine":
from .engine import StrategySelectionEngine
return StrategySelectionEngine
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")