Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuttlas90 committed Mar 3, 2024
1 parent 006339d commit 07a96a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def get_nonce_callback():
st.error(stock_data, icon="🚨")
else:
col1, col2, col3, col4 = st.columns(4)
col1.metric("سود سهم", f"{stock_data[0]["estimatedEPS"]}")
col2.metric("نسبت سود به قیمت", f"{format(float(stock_data[0]["pe"]), ".2f")}")
col3.metric("P/E صنعت", f"{format(float(stock_data[0]["sectorPE"]), ".2f")}")
col4.metric("درصد سهامداران عمده", f"{format(stock_data[0]["all_holder_percent"], ".2f")}")
col1.metric("سود سهم", f"{stock_data[0]['estimatedEPS']}")
col2.metric("نسبت سود به قیمت", f"{format(float(stock_data[0]['pe']), '.2f')}")
col3.metric("P/E صنعت", f"{format(float(stock_data[0]['sectorPE']), '.2f')}")
col4.metric("درصد سهامداران عمده", f"{format(stock_data[0]['all_holder_percent'], '.2f')}")

tab1, tab2 = st.tabs(["بر اساس ریال", "بر اساس دلار"])

Expand Down

0 comments on commit 07a96a9

Please sign in to comment.