Hello,
I have some trouble calculating the return on capital in Joel Greenblatt's Magic Formula as I cannot find the “net fixed assets” data in the fundamental data.
The return on capital in Joel Greenblatt's Magic Formula is defined as:
return on capital = EBIT / (net fixed assets + working capital).
Currently my implementation is as follows. I know net tangible assets is not the same as net fixed assets, but it is the closest I can come. How can I correct this so the net fixed assets are used?
netTangibleAssets = qb.GetFundamental(ticker,
"FinancialStatements.BalanceSheet.NetTangibleAssets.ThreeMonths",
today,
today)
print(netTangibleAssets)
properties = qb.GetFundamental(ticker,
"FinancialStatements.BalanceSheet.Properties.ThreeMonths",
today,
today)
print(properties)
workingCapital = qb.GetFundamental(ticker,
"FinancialStatements.BalanceSheet.WorkingCapital.ThreeMonths",
today,
today)
print(workingCapital)
returnOnCapital = ebit / (netTangibleAssets + workingCapital)
print(returnOnCapital)
Cheers
Varad Kabade
Hi Tom Janssens,
Our fundamental data sets from MorningStar don't include a "net fixed assets" property. When calculating the Greenblatt Magic Formula, we recommend ranking companies on their return on capital by using their forward ROA. See the GreenblattMagicFormulaAlpha for reference.
Best,
Varad Kabade
Tom Janssens
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!