कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

stock-prices

anthonylee1994 द्वारा

Browser & Automation
2.4kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Query real-time stock prices and market data using the Stock Prices API.

विवरण

यह स्किल क्या करती है

Fetches real-time stock quotes and market data from the Stock Prices API using ticker symbols. Responses arrive in TOON format, a compact encoding that uses roughly 40% fewer tokens than JSON, decoded with the @toon-format/toon package. Supports up to 50 symbols per request, including pre-market pricing and day-range data.

The TOON response format cuts token usage by ~40% compared to JSON, which lowers cost and latency when feeding market data into LLM prompts or streaming pipelines.

इसे कब इस्तेमाल करें

  • Checking NVDA's price before placing an options order
  • Pulling quotes for 20 holdings at once to calculate portfolio value
  • Reviewing pre-market data for volatile stocks before the open
  • Summarizing which stocks in a watchlist are up or down today
  • Setting up a price-change alert when a ticker crosses a threshold

उदाहरण वर्कफ़्लो

इनपुट

User asks: What are the current prices and daily changes for AAPL, GOOGL, and MSFT?

एजेंट
  1. 1

    Send GET request to https://stock-prices.on99.app/quotes?symbols=AAPL,GOOGL,MSFT

  2. 2

    Decode the TOON-format response body using decode() from @toon-format/toon

  3. 3

    Extract currentPrice, change, and percentChange for each quote object

  4. 4

    Format results into a price summary per symbol

आउटपुट

AAPL: $182.50 (+1.2%), GOOGL: $175.30 (-0.4%), MSFT: $415.80 (+0.8%)

इंस्टॉलेशन

clawhub install anthonylee1994/stock-prices

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक