get_pool_ohlcv
Retrieve OHLCV (Open, High, Low, Close, Volume) data for DeFi pools across multiple blockchains to analyze historical price trends and trading volumes for informed decision-making in crypto trading strategies.
Instructions
Get OHLCV (Open, High, Low, Close, Volume) data for a pool
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregate | No | Aggregate interval (optional, default: '1') | |
before_timestamp | No | Get data before this timestamp (optional) | |
currency | No | Currency for price data: 'usd', 'token' (optional, default: 'usd') | |
include_empty_intervals | No | Include empty intervals (optional, default: false) | |
limit | No | Limit number of results (optional, max: 1000) | |
network | Yes | Network ID (e.g., 'eth', 'bsc', 'polygon_pos') | |
poolAddress | Yes | Pool contract address | |
timeframe | Yes | Timeframe for OHLCV data: 'day', 'hour', 'minute' | |
token | No | Token for price data: 'base', 'quote' (optional, default: 'base') |