aboutsummaryrefslogtreecommitdiffstats
path: root/utils/path.py
diff options
context:
space:
mode:
authorShivesh Mandalia <shivesh.mandalia@outlook.com>2020-04-20 01:25:38 +0100
committerShivesh Mandalia <shivesh.mandalia@outlook.com>2020-04-20 01:25:38 +0100
commitda67665b62c75fe10a1494e3bc7d944963127fc0 (patch)
tree4b93630c020727ad65b3d06548cdbc9466cbe412 /utils/path.py
parent1c8649fdcd9f56cca5b191ae3cbaec4977569380 (diff)
downloadMCOptionPricing-da67665b62c75fe10a1494e3bc7d944963127fc0.tar.gz
MCOptionPricing-da67665b62c75fe10a1494e3bc7d944963127fc0.zip
Add __slots__
Diffstat (limited to 'utils/path.py')
-rw-r--r--utils/path.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/path.py b/utils/path.py
index 41474ef..a4d5732 100644
--- a/utils/path.py
+++ b/utils/path.py
@@ -52,6 +52,7 @@ class PathGenerator:
PathGenerator(S=100.0, r=0.1, div=0.01, vol=0.3)
"""
+ __slots__ = 'S', 'r', 'div', 'vol'
S: Number
r: Number
div: Number