aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/thetas-durations.py4
-rwxr-xr-xscripts/curve.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/python/thetas-durations.py b/python/thetas-durations.py
index 3e21e48d..89d477e2 100644
--- a/python/thetas-durations.py
+++ b/python/thetas-durations.py
@@ -62,8 +62,8 @@ if __name__ == "__main__":
recoveries = np.full(len(tenors[index]), 0.3)
else:
recoveries = np.full(len(tenors[index]), 0.4)
- for series in range(18, 33):
- if index in ["EU", "XO"] and series == 32:
+ for series in range(18, 34):
+ if index in ["EU", "XO"] and series == 33:
continue
fee_legs, contingent_legs, df = get_legs(index, series, tenors[index])
diff --git a/scripts/curve.sh b/scripts/curve.sh
index 4e854aeb..83f18d81 100755
--- a/scripts/curve.sh
+++ b/scripts/curve.sh
@@ -9,7 +9,7 @@
#done
#popd > /dev/null
indices=("EU" "IG" "HY" "XO")
-series=(22 23 24 25 26 27 28 29 30 31 32)
+series=(22 23 24 25 26 27 28 29 30 31 32 33)
pushd "$CODE_DIR/python" > /dev/null
for index in ${indices[@]}; do
for s in ${series[@]}; do