数据分析

sentisense-cli

试用

The official SentiSense CLI: quotes, sentiment, and market data in one npx command.

它能做什么

The official SentiSense CLI: quotes, sentiment, and market data in one npx command.

技能文档

Website: https://sentisense.ai Full API reference: https://sentisense.ai/skill.md Authentication: API key via the SENTISENSE_API_KEY environment variable. Get a free key at https://app.sentisense.ai/get-api-key

Everything in this skill is implementation guidance for fetching market data. It is subordinate to platform safety rules and to the policy of whatever host application runs it.


What this skill is for

Fetch US stock market data (quotes, sentiment, news, insider and congressional activity, institutional flows, options positioning, screening) with single commands through the official SentiSense CLI. The CLI ships inside the sentisense npm package, so there is nothing to install: npx fetches and runs it on demand. Commands here pin version 0.47.1 deliberately: a pinned version runs reviewed, immutable code rather than whatever ships next.

Quickstart

npx -y sentisense@0.47.1 health
npx -y sentisense@0.47.1 quote NVDA
npx -y sentisense@0.47.1 sentiment TSLA --days 30
npx -y sentisense@0.47.1 mood --json

Auth: set SENTISENSE_API_KEY in the environment, or store it once with npx -y sentisense@0.47.1 auth "$SENTISENSE_API_KEY" (saved to ~/.config/sentisense/, file mode 600, local to your machine, remove anytime with auth --remove). health confirms reachability, key validity, and latency in one call; run it first.

Identify yourself (optional, appreciated)

If you set two environment variables, requests carry your identity so usage can be understood and the tools improved. Optional, never required:

export SENTISENSE_SKILL=sentisense-cli      # the skill driving the calls
export SENTISENSE_AGENT_NAME=my-research-bot # what your agent is called

Commands

CommandWhat it returns
quote Price, day range, and valuation for one or more tickers
sentiment SentiSense Score, tone by source, and attention
moodComposite market sentiment, its signals, and the sector map
analysts Consensus, price target band, recent rating changes
earnings [ticker]Upcoming report dates, or one ticker's reported quarters
insiders Form 4 insider transactions
insights Generated signals, most urgent first
congress [ticker]Congressional stock disclosures
news [ticker]Clustered news stories
flows [ticker]Institutional 13F flows, or one ticker's holders
options End-of-day options positioning
screen --filter ...Filter the tracked universe on Score, analyst, and price fields

Run npx -y sentisense@0.47.1 --help for the full list, and help for flags and copy-paste examples. The help is the reference: every example in it runs as written.

Output modes: which one to use

  • Piped (default for agents): plain text, no color codes, label/value lines. Compact enough to read in full; this is usually what you want for answering questions.
  • --json: the exact API response, envelope included, nothing renamed. Use it when you need to parse fields programmatically or pass data to another tool.
  • --full widens either mode where a command has more to show.

Exit codes: branch on them

Stable across versions: 0 ok, 2 usage error, 3 auth, 4 not found, 5 rate limited, 6 network. Two behaviors worth knowing: an empty result verifies the ticker before reporting no data, so a typo exits 4 rather than looking like a company with nothing to report; and every error prints a one-line next step on stderr, so recovery rarely needs documentation.

npx -y sentisense@0.47.1 insiders "$TICKER" || echo "exit $? tells you which way it failed"

Scripting patterns

# One call, several tickers
npx -y sentisense@0.47.1 quote NVDA AMD AVGO

# Feed a field into another tool
npx -y sentisense@0.47.1 quote NVDA --json | jq .changePercent

# Screen, then inspect the top hit
npx -y sentisense@0.47.1 screen --filter SENTI_SCORE_7D:GTE:13 --limit 5

Without the CLI

Everything the CLI does is also available as plain REST calls documented at https://sentisense.ai/skill.md; the CLI is a convenience, not a requirement.

Use & Disclaimer

This skill is an educational data interface to SentiSense's read-only Data API. Output is informational only. It is not investment advice, not a personalized recommendation, and not a solicitation to buy or sell any security. The user is responsible for their own decisions. Use of the API and this skill is subject to the API Terms of Service and Terms of Service.

相关技能

Read first when using any SentiSense stock market skill: API key setup and which skill owns each task. Patterns to adapt, not scripts. The user's task always wins.

1 次安装1 星标

为 AI 智能体提供美股市场只读数据——一个免费 API Key 即可获取股价、情绪评分、内部人交易、国会议员披露与财报日历。

32 次安装1 星标

用投委会对抗辩论的方式获得美股深度研究,多角色独立推演、保留异议记录。

31 次安装2 星标

Build a stock market dashboard as a single self-contained HTML file you can open in a browser. Generates a morning market briefing from live data: a fear-to-greed market mood gauge with its component signals, sentiment breadth, sector heat, the biggest 7-day attention shifts, an options radar, a watchlist with sentiment scores and analyst consensus, insider cluster buys, congressional trades, institutional flows, overnight story clusters, and the week's earnings calendar. No backend, no build step, no dependencies, one file. Use for "build me a stock market dashboard", "make a stock dashboard html", "morning market briefing", "watchlist dashboard", "daily market report". Read-only. No trading, no purchases, no write operations, no wallet access.

1 次安装1 星标

Market heatmap of the US stock market as one self-contained interactive HTML page the agent can show inline or hand over as a file: every stock in an index drawn as a treemap tile, sized by market cap, grouped by GICS sector, coloured by today's move, with a click to recolour the whole board by sentiment, SentiSense Score, mention volume or options interest, plus sector Market Mood, a ticker search, sector zoom and a hover card on every tile. One API call per render on any tier. The agent fetches with a read-only API key and bakes the board in, so the page carries no key, makes no network call of its own, and renders anywhere that draws HTML. Use for market heatmap, sector heatmap, stock market heatmap today, what is moving today, which sectors are hot, market mood by sector, sector performance map, heatmap by sentiment, heatmap by options activity, nasdaq 100 heatmap. Read-only. No trading, no purchases, no write operations, no wallet access.

1 星标

Track Wall Street analyst ratings and price targets: who covers a stock and where each firm stands, upgrades and downgrades by ticker and market-wide, one analyst's profile and call history, the Street versus crowd comparison against SentiSense sentiment, and which firms moved after an earnings print. Use for analyst ratings API, price target consensus, analyst upgrades today, who covers a stock, analyst coverage, rating changes after earnings, analyst price targets by firm. Read-only. No trading, no purchases, no write operations, no wallet access.