Remove options.py

This commit is contained in:
BartolomeD
2020-08-17 16:03:22 -05:00
parent c2c66d2546
commit 28c9d7b5ba
-28
View File
@@ -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