-
Notifications
You must be signed in to change notification settings - Fork 149
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
Failed to fetch stock price #327
Comments
This should be fixed on 7.3
…On Sun, 2 Mar, 2025, 4:05 am Ashish Santikari, ***@***.***> wrote:
*Describe your Environment*
OS: Mac Sequoia 15.3.1 (silicon)
Paisa Version: 0.7.1
App Variant: Desktop
*Describe the bug*
Fetching stock data from yahoo does not work. Fails with the below error
logs. Screenshot below
2025-03-01 23:29:44
ERROR
invalid character 'E' looking for beginning of value
file=/Users/runner/work/paisa/paisa/internal/model/model.go:87func=github.com/ananthakumaran/paisa/internal/model.SyncCommodities
2025-03-01 <http://github.com/ananthakumaran/paisa/internal/model.SyncCommodities2025-03-01> 23:29:44
INFO
Fetching stock price history from Yahoo
file=/Users/runner/work/paisa/paisa/internal/scraper/stock/yahoo.go:56func=github.com/ananthakumaran/paisa/internal/scraper/stock.GetHistory
*To Reproduce*
Steps to reproduce the behavior:
1. Add a stock e.g. CDSL to the ledger.
2. Configure the commodity as a stock. Use yahoo as the provider and
the ticker symbol as CDSL.NS
3. Click Save and update prices.
4. See error
*Expected behavior*
The prices must be fetched and stored in the cache
*Screenshots*
image.png (view on web)
<https://github.com/user-attachments/assets/54fdd029-d582-4703-b34d-bc902a2a3082>
*Journal*
2025/03/01 Test Stock
Assets:Investments:CDSL CDSL 1 @ 400 INR
—
Reply to this email directly, view it on GitHub
<#327>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEN5TNM4SO6RYAVIPN7XD2SIY2PAVCNFSM6AAAAABYERIJ4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DSMJZGM2DCMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: ashishsantikari]*ashishsantikari* created an issue
(ananthakumaran/paisa#327)
<#327>
*Describe your Environment*
OS: Mac Sequoia 15.3.1 (silicon)
Paisa Version: 0.7.1
App Variant: Desktop
*Describe the bug*
Fetching stock data from yahoo does not work. Fails with the below error
logs. Screenshot below
2025-03-01 23:29:44
ERROR
invalid character 'E' looking for beginning of value
file=/Users/runner/work/paisa/paisa/internal/model/model.go:87func=github.com/ananthakumaran/paisa/internal/model.SyncCommodities
2025-03-01 <http://github.com/ananthakumaran/paisa/internal/model.SyncCommodities2025-03-01> 23:29:44
INFO
Fetching stock price history from Yahoo
file=/Users/runner/work/paisa/paisa/internal/scraper/stock/yahoo.go:56func=github.com/ananthakumaran/paisa/internal/scraper/stock.GetHistory
*To Reproduce*
Steps to reproduce the behavior:
1. Add a stock e.g. CDSL to the ledger.
2. Configure the commodity as a stock. Use yahoo as the provider and
the ticker symbol as CDSL.NS
3. Click Save and update prices.
4. See error
*Expected behavior*
The prices must be fetched and stored in the cache
*Screenshots*
image.png (view on web)
<https://github.com/user-attachments/assets/54fdd029-d582-4703-b34d-bc902a2a3082>
*Journal*
2025/03/01 Test Stock
Assets:Investments:CDSL CDSL 1 @ 400 INR
—
Reply to this email directly, view it on GitHub
<#327>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABEN5TNM4SO6RYAVIPN7XD2SIY2PAVCNFSM6AAAAABYERIJ4KVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DSMJZGM2DCMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Fails again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe your Environment
OS: Mac Sequoia 15.3.1 (silicon)
Paisa Version: 0.7.1
App Variant: Desktop
Describe the bug
Fetching stock data from yahoo does not work. Fails with the below error logs. Screenshot below
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The prices must be fetched and stored in the cache
Screenshots

Journal
The text was updated successfully, but these errors were encountered: