From 28c9d7b5ba1cfb4a0a5e479a7df7d1cf4e05c1ec Mon Sep 17 00:00:00 2001 From: BartolomeD Date: Mon, 17 Aug 2020 16:03:22 -0500 Subject: [PATCH] Remove options.py --- optlib/options.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 optlib/options.py 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