portfolio_analytics_js – Track Your Portfolio Performance in JavaScript
From the repo · “A JavaScript library to track and measure stock market portfolios performances.”
Use portfolio_analytics_js to track your stock market portfolio's performance.
"A founder, Joe, wants to stay on top of his portfolio's daily value. He uses portfolio_analytics_js to track his stocks and sends the updates to his Google Sheets dashboard. After a week, he can easily see his portfolio's value and make data-driven decisions."
- •You need to monitor the daily performance of your stock portfolio
- •You want to calculate the returns on investment for your portfolio
- •You need to visualize the portfolio's historical performance
const portfolio = new portfolioAnalytics.Portfolio(); portfolio.addStock('GOOG', 50); portfolio.addStock('MSFT', 200); console.log(portfolio.calculateReturns());Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/portfolio-analytics-js && curl -fsSL https://workflowstacks.com/api/skills/portfolio-analytics-js/claude-skill -o ~/.claude/skills/portfolio-analytics-js/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Portfolio_analytics_js – Track Your Portfolio Performance in JavaScript is a small JavaScript project (~2k lines across 9 code files, plus 8 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 114 months ago, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2package.jsonDependencies and the commands it exposes
- 3lib/footer.jsInside lib/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/portfolio-analytics-js && curl -fsSL https://workflowstacks.com/api/skills/portfolio-analytics-js/claude-skill -o ~/.claude/skills/portfolio-analytics-js/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/portfolio-analytics-js?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Weekly Client Report
Every Monday, turn the week’s metrics into a clear client-facing narrative report — what happened, why, what’s next — and email it automatically.
Outcome guideAutomate your weekly client reports
Keep each client’s metrics in a Google Sheet. Every Monday the workflow reads the week’s numbers, writes a plain-English narrative — what moved, why, and what’s next — and emails it to the client.
MCP configContext7 (live docs) MCP config
Pull up-to-date library docs into Claude so it codes against the real API.
Competitor Watch
Get emailed the moment a rival changes their price or pitch.
Includes the tested workflow and a written setup playbook. Needs: No extra API — just watches the pages you list.
Related skills
More analytics tools founders pair with this one.