Перейти к содержанию
Skillpedia
Анализ и таблицы37k · #7552

sec-edgar

Что он делает

Этот скилл получает официальную отчетность американских компаний и финансовые показатели из SEC. Он нужен инвесторам и аналитикам, которым нужны первоисточники по компаниям, торгуемым в США.

Когда использовать

  • ✓Когда вам нужен последний отчет 10-K или 10-Q американской компании с листингом.
  • ✓Когда вам нужна история выручки или прибыли компании из официальной отчетности.
  • ✓Когда вы хотите найти объявление 8-K, поданное американской компанией.

Ссылка на скилл

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/sec-edgar/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/sec-edgar/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Найди последний отчет 10-K Apple и загрузи историю выручки из данных SEC.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл находит идентификатор компании в SEC по ее тикеру, затем перечисляет последние отчеты со ссылками на документы. Он также загружает финансовые показатели, которые компания отчитала в формате XBRL.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

SEC EDGAR

Overview

The U.S. Securities and Exchange Commission (SEC) publishes free, no-auth JSON endpoints for every reporting company on its EDGAR system: a ticker-to-CIK directory, a recent-filings index, and the full set of XBRL ("companyfacts") financial concepts a company has reported. This skill documents how Vibe-Trading fetches that data through the bundled sec_edgar_client transport and the get_sec_filings agent tool.

This is the fetch skill — it covers how to get filing-index rows, document URLs, and us-gaap metric series out of EDGAR. The separate edgar-sec-filings skill is the methodology layer (how to read a 10-K, score insider activity, interpret 8-K items); for any actual data retrieval it delegates here.

Scope is the United States only. EDGAR has no coverage of A-shares, HK, or other non-U.S. markets — route those through tushare / yfinance / akshare instead.

Link convention: every link below that points into references/ is written relative to this document (references/...) — the form GitHub resolves when someone opens the file in a browser. The read_file tool resolves the same string against the skill that owns it, so the agent and a human reader reach one file. Keep the relative form when adding new docs, and keep reference paths unique across skills: a path two skills both carry is reported as ambiguous rather than guessed.

Quick Start

Preferred path — the get_sec_filings tool (read-only, throttled, returns strict JSON):

{ "ticker": "AAPL", "form": "10-K", "limit": 5 }
{ "ticker": "MSFT", "metric": "Revenues", "limit": 8 }

The tool resolves the ticker to a CIK, fetches the filing index (optionally filtered by form), and — when metric is set — also pulls the XBRL series for that us-gaap concept. See sec-edgar/references/get_sec_filings_tool.md for the full parameter and envelope contract.

Script path — call the sec_edgar_client transport directly when you need raw JSON the tool does not surface (e.g. company address, all units of a concept):

from backtest.loaders.sec_edgar_client import cik_for, get_submissions, get_company_facts

cik = cik_for("AAPL")            # "0000320193", or None if not in the SEC table
submissions = get_submissions(cik)   # recent-filings index + company metadata
facts = get_company_facts(cik)       # all reported XBRL concepts

A runnable end-to-end example lives at sec-edgar/scripts/sec_filings_example.py.

Parameter & Format Notes

  • Ticker: U.S. equity symbol, case-insensitive (AAPL, msft). Resolved to a CIK via the SEC company-tickers table; an unlisted ticker returns an error envelope (tool) or None (cik_for).
  • CIK: the SEC Central Index Key, normalized to a zero-padded 10-digit string (320193 → "0000320193"). The submissions and companyfacts endpoints require the padded form; document URLs use the un-padded form.
  • Form: SEC form type, case-insensitive (10-K, 10-Q, 8-K, DEF 14A, 4). Omit to return all recent forms.
  • Metric: an XBRL us-gaap concept name (Revenues, NetIncomeLoss, Assets, StockholdersEquity). Case-sensitive — these are exact taxonomy element names.
  • Dates: SEC returns ISO YYYY-MM-DD strings (e.g. 2023-09-30).
  • Return shape: the tool returns a JSON-string envelope; the client returns decoded JSON (dict).

Reference Docs

Scripts

Notes

  • Free, no API key: EDGAR is public. The only requirement is a descriptive User-Agent carrying a contact address; the client ships a compliant default and honors the VIBE_TRADING_SEC_UA override.
  • Rate-limited by IP: the SEC throttles per source IP and temporarily blocks clients that burst without a contact UA. Every request routes
Частые вопросы

Охватывает ли он компании вне США?

Нет. SEC EDGAR охватывает только американские отчитывающиеся компании, поэтому для других рынков нужны другие источники данных.

Нужен ли ключ API?

Нет. Конечные точки SEC не требуют ключа, но запросы ограничены по IP, поэтому скилл их притормаживает.

Что такое XBRL?

XBRL — стандартный формат, в котором компании размечают финансовые показатели, чтобы их могли читать компьютеры.

Подробности

Оригинальное описание автора

U.S. SEC EDGAR fetch interface — resolve a ticker to its CIK, list recent filings (10-K / 10-Q / 8-K and friends) with primary-document URLs, and pull XBRL companyfacts financial series. Free, no API key; rate-limited by IP so every request is throttled and carries a contact User-Agent. United States only.

repo: HKUDS/Vibe-Trading

Популярность

Звёзды на GitHub
37k
Место в рейтинге
#7552
Лицензия
MIT
Обновлён
01.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

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