ananthakumaran/paisa

NPS NAV not getting updated

Closed this issue · 1 comments

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]

Was a naming issue...