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 채팅을 사용하여 처음부터 워크플로우를 구축합니다. 복잡한 매개변수 구성이나 플로우차트 드래그가 필요하지 않습니다.