Automated range trading with Uniswap V3, Telegram alerts & MetaMask delegation
UnknownWhat this workflow does
This workflow has 37 nodes and runs on a schedule (every 30 minutes) (plus 1 other trigger). Along the way it connects Telegram and 1shot (community).
How it runs
Trigger: On a schedule (every 30 minutes) (plus 1 other trigger).
- Swap Configs (Code): runs custom JavaScript code
- List wallets (One Shot): work with wallets
- Fetch Pool TWA Observations (One Shot): read
- If: checks a condition and branches into true / false
- Calculate TWAP (Code): runs custom JavaScript code
- Get Wallet ID (Code): runs custom JavaScript code
- Create wallet (One Shot): create (wallets)
- Get Last Trade Type (One Shot): work with transactions
- Assure WETH Methods (One Shot): assure contract methods from prompt
- Assure SwapRouter02 Methods (One Shot): assure contract methods from prompt
…plus 25 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-1shot is verified or supports 3.0 (used in Fetch Pool TWA Observations, Check Remaining Funds, Check New Funds).
- Check that n8n-nodes-1shot is verified or supports 3.0 (used in Give Approval to Router (Sell), Give Approval to Router (Buy), Buy ETH).
- Also check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty.
Nodes used (8)
- Code
n8n-nodes-base.code - One Shot
n8n-nodes-1shot.oneShot - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - One Shot Synch
n8n-nodes-1shot.oneShotSynch - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Simple Range Trading w/ Uniswap V3 This workflow will monitor the price of a token trading pair (default is ETH - USDC) and automatically buy into ETH or sell into USDC based on a price window configured by the user. Additionally, the workflow will notify the…