ROIC Ratio #56
bwzheng2010
announced in
Financial Terms
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Return on Invested Capital (ROIC) Ratio
1. What is the ROIC Ratio?
The Return on Invested Capital (ROIC) measures how efficiently a company generates profits from its invested capital.
Formula:
Where:
Why it matters:
2. How to Get ROIC Ratio Using defeatbeta-api
Sample Output:
3. How defeatbeta-api Implements the ROIC Ratio
The
roic()method follows these steps:Extract Financial Data
ebit(Earnings Before Interest and Taxes)tax_rate_for_calcs(effective tax rate)invested_capital(from balance sheet)Calculate NOPAT
Align Quarterly Reports
Compute Beginning & Ending Invested Capital
LAG()to capture prior quarter invested capital as the beginning valueCalculate Average Invested Capital
The calculation is performed via DuckDB SQL queries, and the results are returned as a Pandas DataFrame for further analysis.
Beta Was this translation helpful? Give feedback.
All reactions