Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Currency Symbol for NSE-Listed Stocks #6845

Open
harshsinha-12 opened this issue Oct 22, 2024 · 0 comments
Open

Incorrect Currency Symbol for NSE-Listed Stocks #6845

harshsinha-12 opened this issue Oct 22, 2024 · 0 comments
Labels
bug Fix bug Terminal Terminal-related issue

Comments

@harshsinha-12
Copy link

Description:
It is related to currency conversion for stocks. The Stocks listed in India (on NSE) with the ticker of the form (e.g., RELIANCE.NS) display the current value in INR, but the symbol shown is “$.” Meanwhile, the financial figures appear in Cr. INR only.

Expected Behavior:
The currency symbol should match the currency of the price displayed. For example, if the stock price is in INR, the symbol should be “₹” instead of “$.”

To Reproduce:
1. Go to https://pro.openbb.co/app/data-connectors.
2. Navigate to My Dashboards on the left.
3. Create a new dashboard by clicking the “+” icon.
4. Search for widgets.
5. Navigate to Equity from Categories.
6. Search for or select “Ticker Information.”
7. It might be AAPL by default. Please change it to RELIANCE.NS (Reliance Industries Limited).
8. The price shown is in INR (numerically) but the symbol used is in dollars.

Screenshots

Screenshot 2024-10-23 at 12 38 11 AM

Desktop:
• OS: MacOS Sequoia 15.0.1

Additional Context:
I have worked on a similar issue while building https://profitolio.streamlit.app/. The solution I used was to check for the ticker, and if it contains ‘.NS’, I would fetch the current USD/INR rates from yfinance and use them for conversion.

The solution here could be region-dependent. For example, someone using the website in the US should be able to check prices in USD after conversion, while users in India should see the stocks with ‘.NS’ in the ticker in INR only when the default currency is set to INR.

@deeleeramone deeleeramone added bug Fix bug Terminal Terminal-related issue labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug Terminal Terminal-related issue
Projects
None yet
Development

No branches or pull requests

2 participants