getPoolOHLCV
Retrieve historical OHLCV data for a specific liquidity pool to analyze price trends, backtest strategies, and visualize market behavior. Specify network, pool address, time range, and interval for precise insights.
Instructions
Get historical price data (OHLCV) for a pool - essential for price analysis, backtesting, and visualization. Requires network and pool address.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end | No | End time for historical data (max 1 year from start) | |
interval | No | Interval granularity: 1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h | 24h |
inversed | No | Whether to invert the price ratio for alternative pair perspective (e.g., ETH/USDC vs USDC/ETH) | |
limit | No | Number of data points to retrieve (max 366) - adjust for different analysis needs | |
network | Yes | Network ID from getNetworks (e.g., "ethereum", "solana") | |
poolAddress | Yes | Pool address or identifier | |
start | Yes | Start time for historical data (Unix timestamp, RFC3339 timestamp, or yyyy-mm-dd format) |