-
Notifications
You must be signed in to change notification settings - Fork 29
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
How to enter the right Risk Free value in qs.reports.html? #27
Comments
If your rf rate is 4.61% then you should enter 0.0461 i believe
Robert Grzesik
347-635-3416
…On Sat, Apr 20, 2024 at 3:31 PM Manuel ***@***.***> wrote:
Hi
I have just installed *quantstats_lumi* and I am comparing the results
with *quantstats*.
(I can see that Lumi overestimates (circa 10%) the Sharpe Ratio of the
other library *quantstats* - anyway I seem to understand the Lumi version
is better maintained? Anyway, this difference does not bother me too much)
*Risk Free*
Can you please let me know what is the right way of entering the *Risk
Free* value in the report.html?
If we have a US 10 yrs at 4.61% as of now, in the html.report function I
am using the *Avg RF Daily Returns* which according to my calculations
(for my time window of observation) would be 0.000066, so I am entering
0.000066 as below:
qs.reports.html(returns_df.sharpe, "SPY", rf=0.000066, output =
"/Users/.../Strategy Tearsheets/strategy_report.html")
Is this the right way to use RF rate here?
Thank you very much
M
—
Reply to this email directly, view it on GitHub
<#27>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIYQKZQFPYRELRJXUHH5HDY6K67JAVCNFSM6AAAAABGQXCYSSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TINRYG43TSMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I have just installed quantstats_lumi and I am comparing the results with quantstats.
(I can see that Lumi overestimates (circa 10%) the Sharpe Ratio of the other library quantstats - anyway I seem to understand the Lumi version is better maintained? Anyway, this difference does not bother me too much)
Risk Free
Can you please let me know what is the right way of entering the Risk Free value in the report.html?
If we have a US 10 yrs at 4.61% as of now, in the html.report function I am using the Avg RF Daily Returns which according to my calculations (for my time window of observation) would be 0.000066, so I am entering 0.000066 as below:
qs.reports.html(returns_df.sharpe, "SPY", rf=0.000066, output = "/Users/.../Strategy Tearsheets/strategy_report.html")
Is this the right way to use RF rate here?
Thank you very much
M
The text was updated successfully, but these errors were encountered: