ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.24k stars 111 forks source link

NPS NAV not getting updated #247

Closed sdhawade closed 2 weeks ago

sdhawade commented 2 weeks ago

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

Describe the bug NPS NAV does not get updated after update proces

To Reproduce Steps to reproduce the behavior:

  1. Configure NPS commodity
  2. Click on Update Prices
  3. Check Ledger price
  4. Shows prices only for purchased values no updates from NPS NAV

Expected behavior Daily NAV should be shown

Screenshots

image

Config

image

Data from purified bytes shows daily NAV

Journal INFO [logger.go:43] func1 POST 200 87193ms /api/sync clientIP="::1" referer="http://localhost:7500/assets/gain/Assets:Equity:Retirals:NPS" DEBUG [logger.go:63] Trace SELECT FROM postings WHERE (account like "Assets:Equity:Retirals:NPS:%" or account = "Assets:Equity:Retirals:NPS" or account like "Income:CapitalGains:Equity:Retirals:NPS:%" or account = "Income:CapitalGains:Equity:Retirals:NPS") AND forecast = false ORDER BY date ASC, amount desc [6.2422ms] DEBUG [logger.go:63] Trace SELECT FROM prices WHERE commodity_type != "unknown" [1.6126377s] DEBUG [logger.go:63] Trace SELECT * FROM postings [183.5649ms]

sdhawade commented 2 weeks ago

Was a naming issue...