Traceback (most recent call last):



 "<ipython-input-217-a1e5d119cf6e>", line 1, in <module>

qs.reports.basic(stock, "LTC-USD")



 "/home/andreas/anaconda3/lib/python3.7/site-packages/quantstats/reports.py", line 259, in basic

compounded=compounded)



 "/home/andreas/anaconda3/lib/python3.7/site-packages/quantstats/reports.py", line 299, in metrics

dd = _calc_dd(df, display=(display or "internal" in kwargs))



 "/home/andreas/anaconda3/lib/python3.7/site-packages/quantstats/reports.py", line 588, in _calc_dd

by='days', ascending=False)['days'].values[0])),

ValueError: cannot convert float NaN to integer

Traceback (most recent call last):


 "/srv/www/pmas/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/srv/www/pmas/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/srv/www/pmas/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/contrib/admin/options.py", line 606, in wrapper

return self.admin_site.admin_view(view)(*args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/utils/decorators.py", line 142, in _wrapped_view

response = view_func(request, *args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func

response = view_func(request, *args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/contrib/admin/sites.py", line 223, in inner

return view(request, *args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1637, in change_view

return self.changeform_view(request, object_id, form_url, extra_context)


 "/srv/www/pmas/lib/python3.6/site-packages/django/utils/decorators.py", line 45, in _wrapper

return bound_method(*args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/utils/decorators.py", line 142, in _wrapped_view

response = view_func(request, *args, **kwargs)


 "/srv/www/pmas/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1522, in changeform_view

return self._changeform_view(request, object_id, form_url, extra_context)


 "/srv/www/pmas/lib/python3.6/site-packages/django/contrib/admin/options.py", line 1554, in _changeform_view

form_validated = form.is_valid()


 "/srv/www/pmas/lib/python3.6/site-packages/django/forms/forms.py", line 185, in is_valid

return self.is_bound and not self.errors


 "/srv/www/pmas/lib/python3.6/site-packages/django/forms/forms.py", line 180, in errors

self.full_clean()


 "/srv/www/pmas/lib/python3.6/site-packages/django/forms/forms.py", line 383, in full_clean

self._post_clean()


 "/srv/www/pmas/lib/python3.6/site-packages/django/forms/models.py", line 398, in _post_clean

self.instance = construct_instance(self, self.instance, opts.fields, opts.exclude)


 "/srv/www/pmas/lib/python3.6/site-packages/django/forms/models.py", line 60, in construct_instance

f.save_form_data(instance, cleaned_data[f.name])


 "/srv/www/pmas/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 859, in save_form_data

setattr(instance, self.name, data)


 "/srv/www/pmas/lib/python3.6/site-packages/viewflow/fields.py", line 79, in __set__

obj.__dict__[self.field.name] = self.field.to_python(value)


 "/srv/www/pmas/lib/python3.6/site-packages/viewflow/fields.py", line 104, in to_python

return import_flow_by_ref(value)


 "/srv/www/pmas/lib/python3.6/site-packages/viewflow/fields.py", line 14, in import_flow_by_ref

app_label, flow_path = flow_strref.split('/')
ValueError: not enough values to unpack (expected 2, got 1)
