You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 849 data points and 1188 calendar days between start and end, an error is thrown in the calculation of yearly kurtosis. A runtime warning is given as shown below. Adding a day of data solves that problem. For some reason a divide by zero error is caused. No doubt I will find the source of the error but I thought I would report it nonetheless.
start: datetime.date = '2001-10-02'
end: datetime.date = '2005-01-02'
1188 days 849 data points
\lib\site-packages\ffn\core.py:2056: RuntimeWarning: divide by zero encountered in true_divide
res = np.divide(er.mean(), std)
start: datetime.date = '2001-10-02'
end: datetime.date = '2005-01-03'
1189 days 850 data points
No error occurs
The text was updated successfully, but these errors were encountered:
Using 849 data points and 1188 calendar days between start and end, an error is thrown in the calculation of yearly kurtosis. A runtime warning is given as shown below. Adding a day of data solves that problem. For some reason a divide by zero error is caused. No doubt I will find the source of the error but I thought I would report it nonetheless.
start: datetime.date = '2001-10-02'
end: datetime.date = '2005-01-02'
1188 days 849 data points
\lib\site-packages\ffn\core.py:2056: RuntimeWarning: divide by zero encountered in true_divide
res = np.divide(er.mean(), std)
start: datetime.date = '2001-10-02'
end: datetime.date = '2005-01-03'
1189 days 850 data points
No error occurs
The text was updated successfully, but these errors were encountered: