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
I was wondering if there is an easy way you could allow for object calls to ef such that one could retrieve single values as primitive types. Below is current and proposed executions and returns:
(from email)
I was wondering if there is an easy way you could allow for object calls to ef such that one could retrieve single values as primitive types. Below is current and proposed executions and returns:
CURRENT
Executed ->
ef.portfolio_performance(verbose=True)
Returns ->
Expected annual return: 30.5%
Annual volatility: 22.2%
Sharpe Ratio: 1.28
PROPOSED
Executed ->
print(ef.expect_annual_returns)
print(ef.annual_volatility)
print(ef.sharpe_ratio)
Returns ->
.305
.222
1.28
The text was updated successfully, but these errors were encountered: