options-backtesting/backtesting/credit_target_strategy.py

7 lines
178 B
Python
Raw Normal View History

from dataclasses import dataclass
from .option_spread_strategy import OptionSpreadStrategy
@dataclass
class CreditTargetStrategy(OptionSpreadStrategy):
credit_target: float