25 lines
698 B
Python
25 lines
698 B
Python
from .base import BaseStrategy, StrategyConfig
|
|
from .laddered_put import LadderedPutStrategy, LadderSpec
|
|
from .lease import LeaseAnalysisSpec, LeaseStrategy
|
|
from .protective_put import ProtectivePutSpec, ProtectivePutStrategy
|
|
|
|
__all__ = [
|
|
"BaseStrategy",
|
|
"StrategyConfig",
|
|
"ProtectivePutSpec",
|
|
"ProtectivePutStrategy",
|
|
"LadderSpec",
|
|
"LadderedPutStrategy",
|
|
"LeaseAnalysisSpec",
|
|
"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}")
|