---
name: news-sentiment
description: Get recent news and sentiment for a stock. Use when user asks about news, headlines, sentiment, what's happening with a stock, or recent developments.
dependencies: [ "trading-skills" ]
title: news-sentiment
canonical_url: https://skilld.dev/gh/staskh/trading_skills/news-sentiment
last_updated: 2026-09-25T19:55:49.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [scripts/news.py](https://skilld.dev/api/skills-raw/staskh/trading_skills/news-sentiment/scripts/news.py).
>
> If the user asked to install this Skill, run `npx skilld install staskh/trading_skills/news-sentiment`. Install writes the Skill files into the project, so every session loads them.

# News Sentiment

Fetch recent news from Yahoo Finance.

## Instructions

> **Note:** If `uv` is not installed or `pyproject.toml` is not found, replace `uv run python` with `python` in all commands below.

```bash
uv run python scripts/news.py SYMBOL [--limit LIMIT]
```

## Arguments

- `SYMBOL` - Ticker symbol
- `--limit` - Number of articles (default: 10)

## Output

Returns JSON with:
- `articles` - Array of recent news with title, publisher, date, link
- `summary` - Brief summary of overall sentiment

Present key headlines and note any significant news that could impact the stock.

## Dependencies

- `yfinance`


## Timezone

All timestamps and time-based calculations must use the `America/New_York` timezone. All JSON output must include `generated_at` (NY time string) and `data_delay` fields.