Nado BTC-ETH 헤지 거래량 파밍
Nado BTC-ETH 헤지 볼륨 파밍 - 메이커 주문으로 헤지 주문(BTC 매수 + ETH 매도)을 걸고, 수익이 나면 포지션을 청산한 뒤 반복
NadoTradingMakerVolume-FarmingHedgeCross-AssetBTCETHProfit-Based
Who is this for?
This workflow is for traders who want to implement a BTC-ETH hedge volume farming strategy on Nado. It places hedge orders (configurable direction: BUY BTC + SELL ETH, or SELL BTC + BUY ETH) simultaneously to:
- Reduce directional risk (hedge positions offset each other)
- Increase trading volume (both positions execute simultaneously)
- Earn points/rewards (qualify for trading volume-based rewards)
- Obtain project airdrops (meet volume requirements for airdrop eligibility)
- Profit from price movements (close positions when combined profit is positive)
What problem is this workflow solving? / Use case
When you want to maximize trading volume while minimizing directional risk for airdrop farming or reward programs, you need to:
- Place hedge orders across different assets (BTC and ETH)
- Track positions and calculate combined profit
- Close positions automatically when profitable
- Automate the process to run continuously
This workflow automates the entire process: it places hedge orders, monitors profit, and closes positions when the combined profit is positive, then repeats.
What this workflow does
- After you submit
config, the workflow runs automatically every 30 seconds. This recurring run has no stop condition.
- On each run, it checks if there are existing positions stored in context.
- If no positions exist:
- Fetches current prices for BTC/USDT and ETH/USDT
- Calculates order sizes from USD amounts with precision (BTC: 0.001, ETH: 0.01)
- Places hedge orders simultaneously with market orders based on configured direction:
- If "buy_btc_sell_eth": BUY BTC + SELL ETH (market)
- If "sell_btc_buy_eth": SELL BTC + BUY ETH (market)
- Fetches order details by order ID to get actual fill price and filled size
- Stores entry prices and sizes in context
- If positions exist:
- Fetches current prices for BTC/USDT and ETH/USDT
- Calculates profit based on stored direction:
- If "buy_btc_sell_eth": BTC profit = (current - entry) × size (long), ETH profit = (entry - current) × size (short)
- If "sell_btc_buy_eth": BTC profit = (entry - current) × size (short), ETH profit = (current - entry) × size (long)
- Total profit = BTC profit + ETH profit
- If total profit exceeds the configured close threshold (default 0.03% of entry notional):
- Closes hedge positions with market orders (reverse of opening orders):
- If "buy_btc_sell_eth": SELL BTC (close long) + BUY ETH (close short)
- If "sell_btc_buy_eth": BUY BTC (close short) + SELL ETH (close long)
- Fetches order details by order ID to determine the actual fill price for each close order
- Clears positions from context
- Logs profit details and close fill prices
- Produces no downstream output (it runs continuously by design).
When it runs / stops
- Runs: every 30 seconds after the initial
config is submitted.
- Stops: only when the workflow engine restarts, or the workflow is disabled, removed, or redeployed.
Setup
- BTC order size (
btcOrderSize) – Order size in USD for BTC side (default 500). The actual BTC quantity will be calculated based on current price with 0.001 precision.
- ETH order size (
ethOrderSize) – Order size in USD for ETH side (default 500). The actual ETH quantity will be calculated based on current price with 0.01 precision.
- Hedge direction (
hedgeDirection) – Choose hedge direction: "buy_btc_sell_eth" (Buy BTC + Sell ETH) or "sell_btc_buy_eth" (Sell BTC + Buy ETH). Default is "buy_btc_sell_eth".
- Close threshold (%) (
closeThresholdPct) – Profit (as % of total entry notional) above which positions are closed (default 0.03, i.e. 0.03%).
- Nado credentials (
nado) – Select the managed nado credential
Key Features
- Hedge strategy: Configurable direction (BUY BTC + SELL ETH, or SELL BTC + BUY ETH) creates a hedge position that reduces directional risk
- Precision control: BTC orders use 0.001 precision, ETH orders use 0.01 precision
- Market orders for open and close: Both opening and closing use market orders; fill price and size are read from order details by order ID
- Profit-based closing: Automatically closes positions when combined profit exceeds the configured threshold (default 0.03%)
- Continuous operation: Repeats the cycle automatically after closing positions
- Position tracking: Uses workflow storage to persist positions across runs
Nodes in Use
- User configuration: Collects BTC and ETH order sizes (in USD), hedge direction, close threshold, and Nado credentials.
- Nado:
- Get current prices for BTC/USDT and ETH/USDT
- Place market orders to open and close hedge positions
- Get order details by order ID to read fill price and size
Reference