Lumiwealth / quantstats_lumi

Apache License 2.0
83 stars 27 forks source link

unsupported type: <class 'NoneType'> #47

Open JF1805 opened 3 months ago

JF1805 commented 3 months ago

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 commented 3 months ago

What is the error that you are getting?

Robert Grzesik 347-635-3416

On Fri, Jul 5, 2024 at 2:51 AM JF1805 @.***> wrote:

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)

Thank you so much!

— Reply to this email directly, view it on GitHub https://github.com/Lumiwealth/quantstats_lumi/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQK7CAZGMIKZGOPMROUDZKY7APAVCNFSM6AAAAABKMT7HUKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TCOJWGA4DKNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>