add more rules
This commit is contained in:
parent
d678254da0
commit
193edad586
@ -519,6 +519,10 @@ data = {
|
||||
"evEBIT": {
|
||||
"text": "The EV/EBIT is a valuation metric that measures a company's price relative to EBIT, or Earnings Before Interest and Taxes.",
|
||||
"equation": "EV/EBIT Ratio = Enterprise Value / EBIT"
|
||||
},
|
||||
"evFCF": {
|
||||
"text": "The enterprise value to free cash flow (EV/FCF) ratio is similar to the price to free cash flow ratio, except the price is adjusted for the company's cash and debt.",
|
||||
"equation": "EV/FCF Ratio = Enterprise Value / Free Cash Flow",
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -522,12 +522,14 @@ async def get_stock_screener(con):
|
||||
item['evEarnings'] = round(ev / item['netIncome'],2)
|
||||
item['evEBITDA'] = round(ev / item['ebitda'],2)
|
||||
item['evEBIT'] = round(ev / item['ebit'],2)
|
||||
item['evFCF'] = round(ev / item['freeCashFlow'],2)
|
||||
except:
|
||||
item['enterpriseValue'] = None
|
||||
item['evSales'] = None
|
||||
item['evEarnings'] = None
|
||||
item['evEBITDA'] = None
|
||||
item['evEBIT'] = None
|
||||
item['evFCF'] = None
|
||||
|
||||
try:
|
||||
with open(f"json/analyst/summary/{symbol}.json", 'r') as file:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user