Skip to content

Commit

Permalink
More decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaslek committed May 1, 2023
1 parent 9c74623 commit 25c044c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openbb_terminal/stocks/options/op_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# pylint: disable=too-many-arguments


@log_start_end(log=logger)
def get_strikes(
min_sp: float, max_sp: float, current_price: float
) -> Tuple[float, float]:
Expand Down Expand Up @@ -58,7 +57,6 @@ def get_loss_at_strike(strike: float, chain: pd.DataFrame) -> float:
return loss


@log_start_end(log=logger)
def calculate_max_pain(chain: pd.DataFrame) -> Union[int, float]:
"""Returns the max pain for a given call/put dataframe
Expand Down Expand Up @@ -104,7 +102,6 @@ def convert(orig: str, to: str) -> float:
raise ValueError("Invalid to format, please use '%' or ','.")


@log_start_end(log=logger)
def rn_payoff(x: str, df: pd.DataFrame, put: bool, delta: int, rf: float) -> float:
"""The risk neutral payoff for a stock
Parameters
Expand Down

0 comments on commit 25c044c

Please sign in to comment.