binance_get_rolling_ticker
Get price change statistics over a custom rolling window (e.g., 4h, 7d) for one or multiple symbols, covering periods the standard 24-hour ticker does not.
Instructions
Fetch price change statistics over an arbitrary rolling window.
Calls GET /api/v3/ticker (weight 4 per symbol, capped at 200 once >50 symbols
requested). Unlike binance_get_ticker_24h, the window is not fixed at 24 hours.
When to Use:
For a custom window (e.g. 4h, 7d) that the fixed 24h/trading-day tickers don't cover.
When NOT to Use:
For the standard 24h window —
binance_get_ticker_24his cheaper for that case.
Returns:
Markdown: stat blocks per symbol (up to 50 shown). JSON: count/shown plus tickers.
Examples: params = {"symbol": "BTCUSDT", "window_size": "4h"} params = {"symbols": ["BTCUSDT", "ETHUSDT"], "window_size": "7d"}
Error Handling:
window_size outside 1m-59m/1h-23h/1d-7d is rejected by Binance; more than 100
symbols or neither symbol nor symbols is rejected locally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |