Gets the Pyth on-chain TWAP price and the Binance spot price for the same asset; if the spread between them is above your threshold, it sends one alert to Discord and then finishes.
Binance API (required): Binance API credentials. Used to fetch the spot price.
Spot symbol (required): Binance spot pair. Example: BTC/USDT. Must match the Pyth asset (e.g. btc).
Pyth asset name (required): Asset identifier for Pyth. Example: btc. Should match the spot symbol (e.g. BTC/USDT → btc).
TWAP window (seconds) (required): Length of the Pyth TWAP window in seconds; max 600. Example: 300 (5 minutes).
Spread threshold (%) (required): Alert when the absolute spread (|Pyth TWAP − Binance| / Binance) is at or above this percentage. Example: 0.5.
Discord Webhook URL (required): Webhook URL for the channel where the alert is sent.
What it does, step by step:
When it stops: After one run; it runs once and stops.
If something fails: If any fetch or Discord send fails, the error propagates and the workflow ends.
Consejo: Este flujo de trabajo ejecutable fue generado automáticamente por SeamFlux Bot. Para usarlo, crea una ejecución y pruébalo con tus datos para asegurarte de que cumple con tus necesidades.
¿Listo para comenzar?
para ejecutar esta plantilla o crear una tarea programada, y preguntar a la IA sobre los pasos detallados de ejecución de nodos.
Ejecutar en local — descarga este workflow en ZIP o ejecútalo con Seamflux CLI en tu terminal; usa el botón "Ejecutar en local" de arriba para elegir.
Construye un flujo de trabajo desde cero usando chat con IA. No se necesita configuración compleja de parámetros ni arrastrar diagramas de flujo.