stock-analyst

Retrieve daily OHLCV candles, ticker profiles, and company search results from Marketstack.

1|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/tribes-protocol/trading-harness --skill stock-analyst-tribes-protocol
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stock-analyst
Source: https://github.com/tribes-protocol/trading-harness/tree/main/skills/stock-analyst
Command: npx skills add https://github.com/tribes-protocol/trading-harness --skill stock-analyst-tribes-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Getting structured stock market data — daily price history, ticker metadata, and company-to-ticker resolution — normally requires juggling financial APIs and parsing inconsistent responses. This Skill wraps the Marketstack-backed tribes-cli stocks commands into a clear workflow so an agent can answer equity data questions with exact figures in seconds. ## Core Features & Use Cases - Daily OHLCV Candles: Pull end-of-day open, high, low, close, and volume history for any ticker with date-range and limit controls, exportable to JSON files. - Ticker Profiles & Search: Resolve company names to ticker symbols and fetch profiles including name, sector, industry, and exchange. - Downstream TA Chaining: Export candle files and feed them directly into tribes-cli ta for indicator computation, signals, and backtests. - Use Case: Ask for Apple's recent price action — the Skill runs stocks candles --symbol AAPL, reports the latest daily close with the change versus the prior close, and clearly states it is an end-of-day figure rather than a live quote. ## Quick Start Ask the agent to pull the last 100 daily candles for NVDA and summarize the trend direction over that period.

Frequently Asked Questions about stock-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get daily OHLCV candle data for a stock ticker?▼

Run `tribes-cli stocks candles --symbol AAPL` with optional `--from`/`--to` dates and `--limit` up to 1000. The command returns structured JSON of daily end-of-day candles sourced from Marketstack, and `--out <file>` writes the same JSON to disk.

How do I find a stock ticker from a company name?▼

Use `tribes-cli stocks search --query "palantir"` to resolve company names or partial symbols to tickers, then confirm details with `stocks detail --symbol PLTR` for name, sector, industry, and exchange.

Does this provide live stock quotes or intraday data?▼

No. Candles are daily end-of-day only and there is no intraday interval, movers list, or market open/closed status. A near-live single-symbol price is available via `tribes-cli asset price --ticker <SYMBOL>`, which may fall back to a stale daily close when rate-limited.

Can I compute RSI or MACD indicators from the candle data?▼

Yes, but not in this Skill. Export candles with `stocks candles --symbol MSFT --limit 200 --out file.json`, then run `tribes-cli ta indicators --candles-file file.json --set rsi,macd` via the technical-analyst skill for indicators, signals, and backtests.

Why does the stocks command report MARKETSTACK_API_KEY is not set?▼

That error means the Marketstack provider is not configured on the machine, so the capability is unavailable. Report it plainly rather than retrying or working around it; other API failures should be retried once before stopping.