# Financial Data

> Fetch stock financial data including metrics, prices, news, and insider trades. Use when analyzing stocks, getting financial metrics, or researching company fundamentals.

- **Type:** Skill
- **Install:** `agentstack add skill-ancs21-ai-sub-invest-financial-data`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ancs21](https://agentstack.voostack.com/s/ancs21)
- **Installs:** 0
- **Category:** [Data & Analytics](https://agentstack.voostack.com/c/data-and-analytics)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ancs21](https://github.com/ancs21)
- **Source:** https://github.com/ancs21/ai-sub-invest/tree/main/.claude/skills/financial-data

## Install

```sh
agentstack add skill-ancs21-ai-sub-invest-financial-data
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Financial Data Fetcher

## Overview
Provides financial data from the Financial Datasets API for stock analysis.

## Requirements
Ensure `FINANCIAL_DATASETS_API_KEY` is set in environment.

## Usage

### Get Financial Metrics
```bash
python .claude/skills/financial-data/scripts/get_metrics.py AAPL 2024-12-01 ttm 10
```
Returns: ROE, debt/equity, margins, P/E, current ratio, etc.

### Get Stock Prices
```bash
python .claude/skills/financial-data/scripts/get_prices.py AAPL 2024-01-01 2024-12-01
```
Returns: Daily OHLCV price data.

### Get Company News
```bash
python .claude/skills/financial-data/scripts/get_news.py AAPL 2024-12-01 10
```
Returns: Recent news articles with sentiment.

### Get Insider Trades
```bash
python .claude/skills/financial-data/scripts/get_insider.py AAPL 2024-12-01 20
```
Returns: Recent insider buying/selling activity.

### Get Market Cap
```bash
python .claude/skills/financial-data/scripts/get_market_cap.py AAPL 2024-12-01
```
Returns: Current market capitalization.

### Search Financial Line Items
```bash
python .claude/skills/financial-data/scripts/search_line_items.py AAPL 2024-12-01 ttm 10
```
Returns: Detailed financial statement line items (revenue, net income, etc.)

## Output Format
All scripts return JSON with the requested financial data.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ancs21](https://github.com/ancs21)
- **Source:** [ancs21/ai-sub-invest](https://github.com/ancs21/ai-sub-invest)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ancs21-ai-sub-invest-financial-data
- Seller: https://agentstack.voostack.com/s/ancs21
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
