2024-01-17 19:37:37 +00:00
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
|
|
from .option_type import OptionType
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
class OptionSpreadStrategy:
|
|
|
|
option_type: OptionType
|
|
|
|
number_of_contracts: int
|
|
|
|
spread_width: int
|
|
|
|
stop_loss_multiple: float
|
2024-03-10 12:23:26 +00:00
|
|
|
trade_entry_time: str
|
|
|
|
entry_slippage: float
|
|
|
|
exit_slippage: float
|