add more rules
This commit is contained in:
parent
adf564a190
commit
573de2bee5
@ -235,9 +235,13 @@ async def get_stock_screener(con):
|
|||||||
res = orjson.loads(file.read())[0]
|
res = orjson.loads(file.read())[0]
|
||||||
item['employees'] = int(res['fullTimeEmployees'])
|
item['employees'] = int(res['fullTimeEmployees'])
|
||||||
item['sharesOutStanding'] = int(res['sharesOutstanding'])
|
item['sharesOutStanding'] = int(res['sharesOutstanding'])
|
||||||
|
item['country'] = res['country']
|
||||||
|
item['sector'] = res['sector']
|
||||||
except:
|
except:
|
||||||
item['employees'] = None
|
item['employees'] = None
|
||||||
item['sharesOutStanding'] = None
|
item['sharesOutStanding'] = None
|
||||||
|
item['country'] = None
|
||||||
|
item['sector'] = None
|
||||||
|
|
||||||
#Financial Statements
|
#Financial Statements
|
||||||
item.update(get_financial_statements(item, symbol))
|
item.update(get_financial_statements(item, symbol))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user