Helps developers integrate Pyth price feeds into their applications. Explains feed discovery, symbol formats, ID types, exponents, and pricing channels. Use when a user asks "how do I use Pyth?", "what's the feed ID for X?", or "how do prices work?".
Evaluates one-time price alert conditions using Pyth data. Checks if prices are above or below thresholds, if assets have moved by a percentage, or if prices are near period highs or lows. Use when a user asks "is BTC above $100k?", "has ETH dropped 5% today?", or "is gold near its weekly high?" These are point-in-time checks, not persistent alerts.
Compares price performance across multiple assets by normalizing OHLC data to a common baseline. Fetches candlestick data for each asset, normalizes closes to relative performance (1.0 = start), and computes period returns. Use when a user wants to compare assets like "Bitcoin vs Gold" or "ETH vs SOL last 30 days."
Exports Pyth price data in structured formats (CSV, JSON, Markdown tables). Handles OHLC candlestick exports, feed catalog dumps, historical price snapshots, and current price tables. Manages pagination and truncation limits. Use when a user wants data "as CSV", "as JSON", "export to file", or formatted data output.
Monitors perpetual futures funding rates using Pyth funding-rate feeds. Discovers funding rate symbols, fetches current rates, and analyzes rate history via candlestick data. Use when a user asks about funding rates, market sentiment, or long/short bias for perpetual futures.
Converts currencies using Pyth FX and crypto price feeds. Computes cross rates through USD (e.g., EUR to JPY via EUR/USD and JPY/USD). Supports fiat, crypto, and mixed conversions for current and historical rates. Use when a user asks to convert amounts between currencies or check exchange rates.
Tracks a portfolio of assets using Pyth price feeds. Discovers feeds, fetches current prices in a single batched call, computes portfolio value, allocation percentages, and P&L against historical reference prices. Use when a user wants to track holdings, check portfolio value, or compute gains and losses.
Fetches price snapshots at specific historical timestamps using get_historical_price. Generates timestamp series (monthly, weekly, quarterly) and calls the API once per timestamp with up to 50 feeds. Use when a user wants "BTC at start of each month" or periodic price snapshots. For continuous daily/weekly data, suggest get_candlestick_data instead.