Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

news-sentiment

БесплатноЗапускает вложенные скриптыНе проверен

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.

staskhот staskh★ 427 звёзд на GitHub

Об этом скилле

News Sentiment

Fetch recent news from Yahoo Finance: yfinance's ticker news first, then Yahoo's per-ticker RSS feed when that comes back empty or fails.

Instructions

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

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 (YYYY-MM-DD HH:MM ET), link, type
  • count - Number of articles returned
  • source - "yfinance" or "yahoo-rss"
  • note - With yahoo-rss: items are tagged to the ticker, not necessarily about it, and arrive newest first. publisher is the link's host (often finance.yahoo.com), since the feed carries no publisher
  • message: "No news found" - both sources answered with no articles
  • error - no articles and at least one source failed; never read this as "no news"

Present key headlines and note any significant news that could impact the stock. Judge the sentiment from the headlines yourself. With yahoo-rss, skip market-wide stories that are not about the company when assessing its sentiment.

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.

Установить news-sentiment в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/news.py

FAQ

Что делает скилл news-sentiment?

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.

Как установить скилл news-sentiment?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл news-sentiment запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить news-sentiment с