# Realtime Investment Tracker

> Track Indian multi-asset portfolios and INR cashflow with IST market-hours awareness and deduplicated P&L reporting.

Realtime Investment Tracker is a free AI agent skill on Agensi by Pranavesh N, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Pranavesh N](https://www.agensi.io/creators/pranavesh-n)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/realtime-investment-tracker
- Tags: trading, nse-bse, mutual-funds-india, python, inr-finance

## About this skill

Manual portfolio tracking across fragmented Indian assets is a maintenance nightmare. This skill consolidates NSE/BSE stocks, AMFI mutual funds, and INR cashflows into a single, deduplicated view without requiring external API integrations.

### What it does
- **Multi-asset deduplication** merges overlapping lots for the same NSE/BSE ticker or AMFI mutual fund scheme to show accurate cost basis.
- **P&L attribution** calculates invested cost, current market value in INR, and unrealized gains across all holdings.
- **Asset allocation analysis** breaks down portfolio weightings across Equity, Mutual Funds, Debt, and Gold.
- **Market-hours awareness** contextualizes valuations within IST trading windows, including NSE/BSE settlement stages and nightly NAV updates.
- **Calendar-aware cashflow** tracks INR income, expenses, and internal bank transfers with precise leap-year and month-end budget rollovers.

### How it works
1. **Identify intent** to determine if the workflow requires portfolio auditing or cashflow budget analysis.
2. **Execute engine** via a zero-dependency Python script to process raw holdings or transaction logs.
3. **Analyze concentration** to flag single-stock or asset-class risks exceeding 60% thresholds.
4. **Deliver report** including deduplicated holdings, P&L, burn rates, and specific IST market status notes.

### Frameworks & tools
This skill includes a zero-dependency Python 3 portfolio and cashflow engine (`scripts/ledger_engine.py`) designed for local execution without external API keys.

### Why this beats prompting it yourself
Standard LLMs struggle with precise financial math, lot deduplication, and specific Indian market settlement logic like IST trading hours. This skill uses a deterministic Python engine to ensure calculations for P&L and budget rollovers are mathematically sound.

### Use cases
- **Portfolio Auditing** to merge fragmented holdings from multiple brokers into one INR view.
- **Budget Tracking** to monitor monthly INR spending while excluding internal bank transfers.
- **Rebalancing Analysis** to detect over-concentration in specific Indian sectors or asset classes.
- **Settlement Monitoring** to verify current market valuations against IST market-close status.

### Known limitations
Supports only the Indian market including NSE, BSE, AMFI, and INR currency. Global equities or non-INR exchanges are not supported.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Realtime Investment Tracker skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific Indian assets can I track with this skill?

This skill provides a consolidated view of Indian assets including NSE and BSE stocks, AMFI mutual funds, ETFs, and gold. It solves the problem of manual tracking by deduplicating overlapping lots to calculate an accurate cost basis and unrealized P&L in INR.

### Do I need to connect my brokerage account or provide API keys?

You need to provide your raw holdings or transaction logs to your agent. The skill uses a built in Python engine called ledger_engine.py to process this data locally without requiring any external financial API keys or third party account integrations.

### What kind of reports does the skill generate?

The skill identifies if you want to audit a portfolio or analyze cashflow and then generates a structured report. This includes deduplicated holdings, asset allocation percentages, P&L attribution, and INR budget tracking with precise leap year and month end rollover dates.

### Can I use this skill to track US stocks or global crypto portfolios?

This skill is strictly limited to the Indian market, covering NSE, BSE, AMFI, and INR currency. It does not support global equities, non-Indian exchanges, or non-INR currencies at this time.

### How does the skill handle market timing and risk monitoring?

The skill is programmed with IST market hours awareness, covering the 09:15 to 15:30 trading window and nightly NAV updates. It flags concentration risks if a single stock or asset class exceeds 60 percent of your total portfolio value.

### How should I phrase my requests to use this skill effectively?

You can ask your agent to deduplicate your Indian stock holdings, calculate your unrealized P&L, or analyze your monthly INR spending while excluding internal bank transfers. You should specify if you want a portfolio audit or a cashflow budget analysis.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
