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

Unable to handle Stock/Asset symbol change #152

Open
sdhawade opened this issue Jan 20, 2024 · 1 comment
Open

Unable to handle Stock/Asset symbol change #152

sdhawade opened this issue Jan 20, 2024 · 1 comment

Comments

@sdhawade
Copy link

Describe your Environment
OS: Windows 10
Paisa Version: 0.5.1
App Variant: CLI

Describe the bug
Stock exchanges change stock symbols, aggregators like Yahoo (from which the app is sourcing data) keep data for old and new symbol separately. Eg. ICICIALPLV.NS has now become ALPL30IETF.NS. If I switch the symbol only new data is loaded and if I keep the symbol the new data does not update.

To Reproduce
Steps to reproduce the behavior:

  1. Add Buy transactions for asset ICICIALPLV.NS before Dec 18 2023
  2. the value of this stock remains static after Dec 18th

Expected behavior
Price acquisition works across symbol changes,

@ananthakumaran
Copy link
Owner

Let me think, as of now there is a one to one mapping between commodity and price provider. The problem you described would require fetching two tickers and merge their data etc, which will likely add lot more complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants