update to isin
This commit is contained in:
parent
eac839f0bd
commit
9e344c4f9a
@ -250,9 +250,9 @@ def update_for_user(message):
|
||||
my_portfolio = p_my_handler.get_user_portfolio(p_user_id)
|
||||
|
||||
for element in my_portfolio:
|
||||
if element["count"] != '' and element["symbol"]!= '':
|
||||
print(element["count"], element["symbol"])
|
||||
share_symbols.append(element["symbol"])
|
||||
if element["count"] != '' and element["isin"]!= '':
|
||||
print(element["count"], element["isin"])
|
||||
share_symbols.append(element["isin"])
|
||||
share_amounts.append(element["count"])
|
||||
share_courses.append(element["current_price"])
|
||||
|
||||
|
@ -132,9 +132,9 @@ def update_for_user(p_user_id, p_my_handler):
|
||||
my_portfolio = p_my_handler.get_user_portfolio(p_user_id)
|
||||
|
||||
for element in my_portfolio:
|
||||
if element["count"] != '' and element["symbol"]!= '':
|
||||
print(element["count"], element["symbol"])
|
||||
share_symbols.append(element["symbol"])
|
||||
if element["count"] != '' and element["isin"]!= '':
|
||||
print(element["count"], element["isin"])
|
||||
share_symbols.append(element["isin"])
|
||||
share_amounts.append(element["count"])
|
||||
share_courses.append(element["current_price"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user