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.
Dica: Este fluxo de trabalho executável foi gerado automaticamente pelo SeamFlux Bot. Para usá-lo, crie uma execução e teste-o com seus dados para garantir que atenda às suas necessidades.
Pronto para começar?
para executar este modelo ou criar uma tarefa agendada, e perguntar à IA sobre as etapas detalhadas de execução do nó.
Executar localmente — baixe este workflow em ZIP ou execute via Seamflux CLI no terminal; use o botão "Executar localmente" acima para escolher.
Construa um fluxo de trabalho do zero usando chat com IA. Nenhuma configuração complexa de parâmetros ou arrastar diagramas de fluxo necessária.