Skip to content

Commit ebf8660

Browse files
authored
Update support.py
1 parent 65598d0 commit ebf8660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

optionlab/support.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_pl_profile_bs(
117117
target_to_maturity_years: float,
118118
volatility: float,
119119
n: int,
120-
s: ndarray,
120+
s: np.ndarray,
121121
y: float = 0.0,
122122
commission: float = 0.0,
123123
) -> tuple[FloatOrNdarray, float]:
@@ -173,7 +173,7 @@ def get_pl_profile_bs(
173173
profile: FloatOrNdarray = fac * n * (calcprice - val) - commission
174174

175175
return profile, n * cost - commission
176-
176+
177177

178178
@lru_cache
179179
def create_price_seq(min_price: float, max_price: float) -> np.ndarray:

0 commit comments

Comments
 (0)