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