Prerequisites
- BingX account with Perpetual Futures enabled.
- AlgoWay account with access to Webhooks dashboard.
- TradingView plan that supports webhooks.
For security, restrict your BingX API key to the AlgoWay IP you were provided in your dashboard. Do not enable withdrawals.
Step 1 — Create BingX API Key
1
Open API Management on BingX and click Create API Key. Set a label (e.g., TEST).
2
Confirm and copy both API Key and Secret Key (the secret is displayed once). Keep them safe.
Never enable Withdraw permission for AlgoWay. Keep trading-only permissions.
Step 2 — Add Main Webhook in AlgoWay
1
In AlgoWay Dashboard → Add Main Webhook.
Required fields
- Platform: BingX
- Quantity Multiplier: as needed (e.g., Absolute 1)
- Market Type: Futures/Perpetual
- Trade Type: your mode (e.g., Reverse)
- API Key / Secret: from Step 1
Save the webhook. You will get a unique Webhook URL (UUID).
Step 3 — Create TradingView Alert
1
Open the chart of the instrument used on BingX Perpetual (e.g., BTCUSDT.P on 1h). Choose your indicator/condition.
2
In Notifications, tick Webhook URL and paste your AlgoWay link (from Step 2).
Step 4 — Webhook URL & JSON Payload
Webhook URL
Use the exact URL shown in AlgoWay after saving your webhook. Example:
https://algoway.co/1f104647-9848-493d-85d1-c6768676f717
Your UUID will be different. Do not share it publicly.
Message (JSON)
{
"platform_name": "bingx",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}",
"price": "{{close}}"
}
Ticker mapping: keep symbols consistent with BingX Perpetual (e.g.,
BTCUSDT.P).
Verification & Logs
- Create a small test alert (minimal size) and let it fire once.
- In AlgoWay, open Webhook Log for the UUID and confirm the incoming JSON and the outgoing order status.
- In BingX → Orders / Positions, verify that the order/position reflects your Trade Type and size.
If the order is not created, check: API permissions, IP whitelist, correct Webhook URL, JSON fields, and indicator firing logic.
FAQ / Notes
- Permissions: only Read and Perpetual Futures Trading are required. Do not enable Withdraw.
- IP Restriction: the API key must be limited to the AlgoWay IP given in your dashboard.
- Trade Type: Reverse in AlgoWay will invert the direction relative to the signal if that’s your strategy requirement.
- Alert Frequency: set Once per bar close for bar-close strategies to avoid intra-bar noise unless your logic requires otherwise.
- Security: rotate API keys periodically and keep the Secret outside screenshots and chats.