How abinbyanjankar-hellrider/portfolio-ledger-automate works
NEPSE Ledger is a browser-only portfolio tracker. Users import broker trade exports or enter transactions manually; the app stores that data in the browser and recomputes holdings, realized profit/loss, commission reporting, and period summaries. The README documents these capabilities and data flows, but no source excerpts were available, so internal implementation details and unconfirmed connections are omitted.
Main entry points: index.html Realized P&L
Components 11
Data entry
- Tracker page
index.html - Trade import
index.html - Manual entry
index.html
Portfolio calculations
- Holdings
index.html - Realized P&L
index.html - FIFO estimate
index.html - Capital Gain Certificate
index.html
Reports
- Commission report
index.html - Monthly/yearly summary
index.html
Other components
- User
- Browser storage
Connections 11
- User → Tracker page: opens
- User → Trade import: selects export
- User → Manual entry: adds trades
- Trade import → Browser storage: stores imported data
- Manual entry → Browser storage: stores transactions
- Browser storage → Holdings: recomputes from
- Browser storage → Realized P&L: recomputes from
- FIFO estimate → Realized P&L: estimates when needed
- Capital Gain Certificate → Realized P&L: provides preferred basis
- Browser storage → Commission report: recomputes from
- Browser storage → Monthly/yearly summary: recomputes from