P/B Ratio #42
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.
-
📊 Price-to-Book (P/B) Ratio
1. What is the P/B Ratio?
The Price-to-Book (P/B) Ratio compares a company’s market capitalization to its book value of equity (BVE):
2. How to Get P/B Ratio Using
defeatbeta-api
Example Output
3. How
defeatbeta-api
Implements the P/B RatioThe method
Ticker.pb_ratio()
calculates the P/B ratio by combining market capitalization data with quarterly book value of equity:Market Capitalization
market_capitalization()
Book Value of Equity (in USD)
_quarterly_book_value_of_equity()
item_name = 'stockholders_equity'
from quarterly financial statementsexchange_to_usd_rate
)Data Alignment
pandas.merge_asof
(withdirection="backward"
)Final Formula
Beta Was this translation helpful? Give feedback.
All reactions