Skip to content

Commit

Permalink
Set compute_greeks default value to False
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienEveno committed Feb 26, 2023
1 parent d582154 commit 10dc131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exotx/utils/pricing_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


class PricingConfiguration:
def __init__(self, model: PricingModel, numerical_method: NumericalMethod, compute_greeks: bool):
def __init__(self, model: PricingModel, numerical_method: NumericalMethod, compute_greeks: bool = False):
self.model = model
self.numerical_method = numerical_method
self.compute_greeks = compute_greeks
Expand Down

0 comments on commit 10dc131

Please sign in to comment.