Futures & Hedge Mode Signals
TradingView signals work with both spot and futures accounts on Amabit. Futures accounts have additional configuration options for margin and position modes.
Futures Signal Configuration
When creating a webhook for a futures account, you configure:
- Default Trade Mode — Cross Margin or Isolated Margin
- Position Side (Hedge Mode only) — LONG or SHORT
One-Way Mode Signals
In One-Way mode, a single webhook handles both long and short signals:
"action": "buy"opens a long position (or closes a short)"action": "sell"opens a short position (or closes a long)
This is the simpler setup and works for most strategies.
Hedge Mode Signals
In Hedge Mode, you can hold both long and short positions simultaneously. This requires separate webhooks:
Long Webhook
Configure with Position Side = LONG
- Receives only buy signals for opening/managing long positions
Short Webhook
Configure with Position Side = SHORT
- Receives only sell signals for opening/managing short positions
Setup Steps
- Create a webhook with Position Side = LONG → Get the URL
- Create another webhook with Position Side = SHORT → Get the URL
- In TradingView, create separate alerts:
- Long entry alert → uses the LONG webhook URL
- Short entry alert → uses the SHORT webhook URL
Reduce-Only for Futures
Use "reduce_only": true in the payload to ensure an order only reduces an existing position and never opens a new one. This is useful for:
- Exit-only signals
- Stop-loss signals that should not accidentally open a new position
Cross vs Isolated Margin
The margin mode set in the webhook configuration applies to all trades from that webhook:
- Cross Margin — Your entire account balance acts as margin. Lower liquidation risk, but losses can affect your full balance.
- Isolated Margin — Only the margin allocated to a specific position is at risk. Better risk isolation.
You can also change the margin mode directly in the terminal before signals start executing.
Example: Complete Hedge Mode Setup
Strategy: BTC Long/Short with separate TradingView strategies
| Webhook | Position Side | Alert | Payload Action |
|---|---|---|---|
| Webhook 1 | LONG | BTC Long Entry | "buy" |
| Webhook 1 | LONG | BTC Long Exit | "sell" + reduce_only: true |
| Webhook 2 | SHORT | BTC Short Entry | "sell" |
| Webhook 2 | SHORT | BTC Short Exit | "buy" + reduce_only: true |