get_spot_feed_history
Retrieve historical spot price data for cryptocurrencies like ETH or BTC within specified timeframes and intervals to analyze market trends.
Instructions
Get historical spot price data for a currency
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | Currency, e.g. ETH, BTC | |
| start_timestamp | Yes | Start timestamp in seconds | |
| end_timestamp | Yes | End timestamp in seconds | |
| period | Yes | Time interval between data points in seconds |
Implementation Reference
- src/client.ts:125-127 (handler)The `getSpotFeedHistory` method, which executes the tool logic by making a POST request to `public/get_spot_feed_history`.
getSpotFeedHistory(params: GetSpotFeedHistoryParams): Promise<unknown> { return this.post('public/get_spot_feed_history', params); }