Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported type: <class 'NoneType'> #47

Open
JF1805 opened this issue Jul 5, 2024 · 1 comment
Open

unsupported type: <class 'NoneType'> #47

JF1805 opened this issue Jul 5, 2024 · 1 comment

Comments

@JF1805
Copy link

JF1805 commented Jul 5, 2024

Hi all,

I have been using quanstats for a while but decided to switch over to the lumi fork.

With the same df that works for an HTML tearsheet in Quantstats however, I get an error in lumi. Maybe I am missing something, I would highly appreciate someone giving me a hint:

Debugging: First rows of equity_returns:
changeEquity%
04.06.2024 0.000000
05.06.2024 0.001630
06.06.2024 0.001174
...

qs.reports.html(returns=equity_returns,
rf=0.039,
title=merged_title,
output=output_html,
match_dates=True,
compounded=True)

The error reads: unsupported type: <class 'NoneType'>

Thank you so much!

@grzesir
Copy link
Contributor

grzesir commented Jul 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants