getPoolOHLCV
Retrieve historical OHLCV data for a specific pool using network and pool address. Analyze price trends, backtest strategies, and visualize market activity with customizable intervals and timeframes.
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) |