aboutsummaryrefslogtreecommitdiffstats
path: root/python/analytics/index_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/analytics/index_data.py')
-rw-r--r--python/analytics/index_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/analytics/index_data.py b/python/analytics/index_data.py
index 9fcdfea3..853b1ee9 100644
--- a/python/analytics/index_data.py
+++ b/python/analytics/index_data.py
@@ -186,7 +186,7 @@ def build_curves_dist(quotes, args, workers=4):
def _get_singlenames_curves(index_type, series, trade_date, tenors):
sn_quotes = get_singlenames_quotes(f"{index_type.lower()}{series}",
trade_date, tenors)
- args = (np.array(tenors),)
+ args = (np.array(tenors, dtype='float'),)
return build_curves_dist(sn_quotes, args)