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.
ヒント: この実行可能なワークフローは SeamFlux Bot によって自動生成されました。使用するには、実行を作成し、データでテストして、ニーズを満たしていることを確認してください。
始める準備はできましたか?
このテンプレートを実行するか、スケジュールされたタスクを作成し、AI に詳細なノード実行手順について尋ねます。
ローカルで実行 — ワークフローをZIPでダウンロードするか、ターミナルでSeamflux CLIから実行できます。上の「ローカルで実行」ボタンから選択してください。
AI チャットを使用してゼロからワークフローを構築します。複雑なパラメータ設定やフローチャートのドラッグは不要です。