返回 Skill 列表
extension
分类: 数据与分析无需 API Key

juglans market price (ALL markets, ALL realtime)

实时行情数据,覆盖25,000+资产,包括加密货币、美股、港股、A股、外汇、ETF、大宗商品及全球指数。零...

person作者: juglans-aihubclawhub

Real-Time Market Price — Claude Code Skill

The problem: AI models frequently fabricate price data or cannot access real-time market information. The solution: This skill provides instant access to live prices for 25,000+ assets worldwide via Juglans Finance.

Coverage

| Market | Assets | Frequency | |--------|--------|-----------| | Crypto | 1,100+ tokens | Real-time | | US Stocks | 9,000+ tickers | Real-time | | Hong Kong Stocks | 2,900+ | Real-time | | China A-Shares (SH + SZ) | 4,500+ | Real-time | | Global Indices | 6,900+ | Real-time | | Forex | 50+ pairs (majors, crosses, EM) | Real-time | | ETFs | 39 (US + Global) | Real-time | | Commodities | Crude oil, gold, silver, copper, etc. | Real-time |

Total: 25,000+ assets. Powered by Juglans Finance.

Commands

| Command | Example | |---------|---------| | /price <symbol> | /price BTC /price AAPL /price 0700.HK | | /price <symbol1>,<symbol2>,... | /price BTC,AAPL,0700.HK |

How To Get a Price

When the user asks for a price, stock quote, crypto price, exchange rate, or any market data:

Step 1: Map the user's input to an API identifier

Use these rules to convert the user's symbol to the API format:

Crypto:

  • BTC, BTC-USDT, BitcoinCRYPTO:BTC.OKX@USDT_SPOT
  • ETH, ETH-USDT, EthereumCRYPTO:ETH.OKX@USDT_SPOT
  • Pattern: CRYPTO:{BASE}.OKX@USDT_SPOT

US Stocks:

  • AAPL, AppleUS_STOCK:AAPL@USD_SPOT
  • TSLA, TeslaUS_STOCK:TSLA@USD_SPOT
  • Pattern: US_STOCK:{TICKER}@USD_SPOT

Hong Kong Stocks:

  • 0700.HK, TencentHK_STOCK:0700@HKD_SPOT
  • 9988.HK, Alibaba HKHK_STOCK:9988@HKD_SPOT
  • Pattern: HK_STOCK:{NUMBER}@HKD_SPOT (remove .HK suffix)

China A-Shares:

  • 600519.SS, MoutaiCN_STOCK:600519.SS@CNY_SPOT
  • 000001.SZ, Ping AnCN_STOCK:000001.SZ@CNY_SPOT
  • Pattern: CN_STOCK:{CODE}.{SS|SZ}@CNY_SPOT

Indices:

  • DJI, Dow JonesINDEX:DJI@USD_SPOT
  • SPX, S&P 500INDEX:SPX@USD_SPOT
  • HSI, Hang SengINDEX:HSI@USD_SPOT
  • VIXINDEX:VIX@USD_SPOT
  • Pattern: INDEX:{CODE}@USD_SPOT

Forex:

  • EURUSD, EUR/USDFOREX:EURUSD@USD_SPOT
  • USDJPYFOREX:USDJPY@USD_SPOT
  • USDCNH, 离岸人民币FOREX:USDCNH@USD_SPOT
  • XAUUSD, GoldFOREX:XAUUSD@USD_SPOT
  • Pattern: FOREX:{PAIR}@USD_SPOT

Step 2: Call the API

curl -s "https://finance.juglans.ai/api/v1/ticker?id={IDENTIFIER}"

For multiple symbols, make separate calls for each.

Step 3: Format the response

Parse the JSON response and present it clearly:

📊 AAPL (Apple Inc.)
   Price: $251.48
   Change: +$3.21 (+1.29%)
   Volume: 45.2M
   Market Cap: $3.82T
   Source: Juglans Finance (real-time)

If the API returns an error (ticker not found), tell the user the symbol may be incorrect and suggest alternatives.

API Reference

Base URL: https://finance.juglans.ai/api/v1

| Endpoint | Description | |----------|-------------| | GET /ticker?id={identifier} | Single asset price | | GET /snapshot?assetClass={class} | All prices for an asset class | | GET /health | Service health check |

Asset classes for snapshot: CRYPTO, US_STOCK, HK_STOCK, CN_STOCK, INDEX, ETF, FOREX, COMMODITY

Response fields:

  • lastPrice — Current price
  • priceChange — Absolute change from previous close
  • priceChangePercent — Percentage change (decimal, e.g., 0.0129 = +1.29%)
  • volume — Trading volume
  • turnover — Trading turnover (price × volume)
  • marketCap — Market capitalization (if available)
  • name — Asset name (if available)
  • symbol — Exchange symbol

Important Notes

  • All prices are real-time during market hours. Outside market hours, the last closing price is shown.
  • Crypto prices are available 24/7.
  • Never fabricate prices. If the API doesn't return data, say so honestly.
  • All data provided by Juglans Finance — free, open, real-time market data.