From 4559373274157b86ca2e8791334e8f6c5d284102 Mon Sep 17 00:00:00 2001 From: Matthew Trudeau Date: Wed, 4 Dec 2024 10:55:30 -0500 Subject: [PATCH] Run pre-commit on this file --- precog/utils/cm_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/precog/utils/cm_data.py b/precog/utils/cm_data.py index 0ac822b..da239ba 100644 --- a/precog/utils/cm_data.py +++ b/precog/utils/cm_data.py @@ -29,7 +29,7 @@ def get_CM_ReferenceRate( parallelize: bool = False, time_inc_parallel: pd.Timedelta = pd.Timedelta("1h"), **kwargs, - ) -> pd.DataFrame: + ) -> pd.DataFrame: """Fetches CM Reference Rate for specific asset ticker or list of tickers from CoinMetrics Python client. Args: @@ -39,7 +39,7 @@ def get_CM_ReferenceRate( end_inclusive (bool, optional): Whether to include a data point occuring at the "end" time. Defaults to True. frequency (str, optional): Frequency of prices - '200ms', '1s', '1m', '1m', '1d'. Defaults to "1s". page_size (int, optional): Page size of return, recommended 10000. Defaults to 10000. - parallelize (bool, optional): Whether to parallelize query into multiple queries. + parallelize (bool, optional): Whether to parallelize query into multiple queries. Can speed up retrieval but may go over usage limits. Defaults to False. time_inc_parallel (pd.Timedelta, optional): If using parallelize, time interval queried by each thread. Defaults to pd.Timedelta("1h").