# Send Stock Prices to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "stock-prices",
    "name": "Stock Prices",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/anthonylee1994/stock-prices",
    "canonicalUrl": "https://clawhub.ai/anthonylee1994/stock-prices",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/stock-prices",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=stock-prices",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/stock-prices"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/stock-prices",
    "downloadUrl": "https://openagent3.xyz/downloads/stock-prices",
    "agentUrl": "https://openagent3.xyz/skills/stock-prices/agent",
    "manifestUrl": "https://openagent3.xyz/skills/stock-prices/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/stock-prices/agent.md"
  }
}
```
## Documentation

### Stock Prices API Skill

This skill helps you work with the Stock Prices API to fetch real-time market data and stock quotes.

### API Endpoint

Base URL: https://stock-prices.on99.app

Primary Endpoint: /quotes?symbols={SYMBOLS}

### Quick Start

Fetch stock quotes for one or more symbols (responses are in TOON format):

curl "https://stock-prices.on99.app/quotes?symbols=NVDA"
curl "https://stock-prices.on99.app/quotes?symbols=AAPL,GOOGL,MSFT"

Install the TOON decoder for parsing: pnpm add @toon-format/toon

### Response Format

The API returns TOON (Token-Oriented Object Notation) format—a compact, human-readable encoding that uses ~40% fewer tokens than JSON. This makes it ideal for LLM prompts and streaming.

### TOON Response Example

quotes[1]{symbol,currentPrice,change,percentChange,highPrice,lowPrice,openPrice,previousClosePrice,preMarketPrice,preMarketChange,preMarketTime,preMarketChangePercent,...}:
  NVDA,188.54,-1.5,-0.789308,192.48,188.12,191.405,190.04,191.8799,3.3399048,2026-02-11T13:49:16.000Z,1.771457,...

### Decoding TOON Responses

Use @toon-format/toon to parse responses back to JavaScript/JSON:

import { decode } from "@toon-format/toon";

const response = await fetch("https://stock-prices.on99.app/quotes?symbols=NVDA");
const toonText = await response.text();
const data = decode(toonText);

// data.quotes is an array of quote objects
const quote = data.quotes[0];
console.log(\`${quote.symbol}: $${quote.currentPrice}\`);

The decoded structure matches JSON—same objects, arrays, and primitives.

### Available Data Fields

FieldTypeDescriptionsymbolstringStock ticker symbolcurrentPricenumberCurrent trading pricechangenumberPrice change from previous closepercentChangenumberPercentage change from previous closehighPricenumberDay's high pricelowPricenumberDay's low priceopenPricenumberOpening pricepreviousClosePricenumberPrevious day's closing pricepreMarketPricenumberPre-market trading pricepreMarketChangenumberPre-market price changepreMarketTimestring (ISO 8601)Pre-market data timestamppreMarketChangePercentnumberPre-market percentage change

### Multiple Symbols

Query multiple stocks by separating symbols with commas (max 50):

curl "https://stock-prices.on99.app/quotes?symbols=AAPL,GOOGL,MSFT,TSLA,AMZN"

### Error Handling

Always check for valid responses. Decode TOON before accessing data:

import { decode } from "@toon-format/toon";

const response = await fetch("https://stock-prices.on99.app/quotes?symbols=NVDA");
const data = decode(await response.text());

if (data.quotes && data.quotes.length > 0) {
    const quote = data.quotes[0];
    console.log(\`${quote.symbol}: $${quote.currentPrice}\`);
}

### Price Analysis

Calculate common metrics:

// Determine if stock is up or down
const isUp = quote.change > 0;
const direction = isUp ? "📈" : "📉";

// Calculate day's range percentage
const rangePct = ((quote.highPrice - quote.lowPrice) / quote.lowPrice) * 100;

// Compare current to open
const vsOpen = quote.currentPrice - quote.openPrice;

### 1. Price Monitoring

import { decode } from "@toon-format/toon";

async function checkPrice(symbol: string) {
    const res = await fetch(\`https://stock-prices.on99.app/quotes?symbols=${symbol}\`);
    const data = decode(await res.text());
    const quote = data.quotes[0];

    return {
        price: quote.currentPrice,
        change: quote.change,
        changePercent: quote.percentChange,
    };
}

### 2. Portfolio Tracking

import { decode } from "@toon-format/toon";

async function getPortfolio(symbols: string[]) {
    const symbolString = symbols.join(",");
    const res = await fetch(\`https://stock-prices.on99.app/quotes?symbols=${symbolString}\`);
    const data = decode(await res.text());

    return data.quotes.map(q => ({
        symbol: q.symbol,
        value: q.currentPrice,
        dailyChange: q.percentChange,
    }));
}

### 3. Market Summary

import { decode } from "@toon-format/toon";

async function marketSummary(symbols: string[]) {
    const res = await fetch(\`https://stock-prices.on99.app/quotes?symbols=${symbols.join(",")}\`);
    const data = decode(await res.text());

    const gainers = data.quotes.filter(q => q.change > 0);
    const losers = data.quotes.filter(q => q.change < 0);

    return {
        totalStocks: data.quotes.length,
        gainers: gainers.length,
        losers: losers.length,
        avgChange: data.quotes.reduce((sum, q) => sum + q.percentChange, 0) / data.quotes.length,
    };
}

### Tech Giants (FAANG+)

AAPL - Apple
GOOGL - Alphabet (Google)
META - Meta (Facebook)
AMZN - Amazon
NFLX - Netflix
MSFT - Microsoft

### High-Profile Stocks

NVDA - NVIDIA
TSLA - Tesla
AMD - Advanced Micro Devices
INTC - Intel
ORCL - Oracle

### Indices

^GSPC - S&P 500
^DJI - Dow Jones
^IXIC - NASDAQ

### Notes

Response format: API returns TOON, not JSON. Use decode() from @toon-format/toon to parse.
All prices are in USD
Data updates in real-time during market hours
Pre-market and after-hours data is available
Timestamps are in ISO 8601 format (UTC)
Maximum 50 symbols per request
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: anthonylee1994
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/stock-prices)
- [Send to Agent page](https://openagent3.xyz/skills/stock-prices/agent)
- [JSON manifest](https://openagent3.xyz/skills/stock-prices/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/stock-prices/agent.md)
- [Download page](https://openagent3.xyz/downloads/stock-prices)