diff --git a/optlib/options.py b/optlib/options.py deleted file mode 100644 index adaf1ed..0000000 --- a/optlib/options.py +++ /dev/null @@ -1,28 +0,0 @@ -from optlib.gbs import american - - -class Option: - - def __init__(self, option_type, fs, x, t, v): - self.option_type = option_type - self.fs = fs - self.x = x - self.t = t - self.v = v - - def __repr__(self): - raise NotImplementedError - - -class AmericanOption(Option): - - def __init__(self, *args, **kwargs): - super().__init__(self, *args, **kwargs) - - @property - def price(self): - raise NotImplementedError - - @property - def greeks(self) - raise NotImplementedError