From b6c0738e00c72d4e6fb1d3f7207c96a0308773ce Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 27 Feb 2024 05:55:29 -0800 Subject: [PATCH] Add stop multiple to iron condor trade --- iron_condor_trade.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iron_condor_trade.py b/iron_condor_trade.py index 3c9eec6..9f16311 100644 --- a/iron_condor_trade.py +++ b/iron_condor_trade.py @@ -4,8 +4,9 @@ from backtesting.credit_targeting import iron_condor_strategy class IronCondorTrade: - def __init__(self, symbol: str, target: float, entry_time: datetime): + def __init__(self, symbol: str, target: float, entry_time: datetime, stop_multiple: float): self.symbol = symbol self.target = target self.entry_time = entry_time.replace(tzinfo = None) - self.strategy = iron_condor_strategy(target) \ No newline at end of file + self.strategy = iron_condor_strategy(target) + self.stop_multiple = stop_multiple \ No newline at end of file