getPriceHistory
Fetch OHLC price history for any Stellar asset pair using SDEX trade aggregations. Specify base and counter assets, resolution, and candle count to get structured market data.
Instructions
Get OHLC price history for a Stellar asset pair from SDEX trade aggregations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of candles | |
| baseAsset | Yes | Base asset: "XLM" or "CODE:ISSUER" | |
| resolution | No | Candle resolution | 1h |
| counterAsset | Yes | Counter asset: "XLM" or "CODE:ISSUER" |