Skip to main content
BingXBingX trading botBingX bot
BingX trading bot: set up a DCA bot or signal bot on BingX

BingX trading bot: set up a DCA bot or signal bot on BingX

A BingX trading bot on Freya places orders in your own BingX account by the rules you set. On BingX, Freya trades spot and USDT-M perpetual futures. For futures you create a BingX API key with the Read and Perpetual Futures Trading permissions (a spot bot uses a separate key with Read and Spot Trading), restrict it to every IP address Freya shows, add it in Freya and run a DCA bot or a signal bot, long or short. Freya does not accept API keys that allow withdrawals, and your trading capital stays in your BingX account.

A BingX DCA bot opens a position, buys more at set distances if the price moves against it and closes the whole position at a take profit measured from the average entry. A BingX signal bot opens trades only on webhook signals.

Key Takeaways

  • On BingX, Freya runs DCA bots and signal bots on USDT-M perpetual futures, long or short, in hedge mode. DCA bots also run on BingX Spot, where the bot buys with USDT and sells what it bought.
  • BingX connects with an API key you create, with the Read and Perpetual Futures Trading permissions. There is no one-click Fast Connection for BingX.
  • The key must be restricted to all of Freya's IP addresses. Freya requires it for every BingX key: with no IP restriction, or with one address missing, the key is not accepted.
  • Freya does not accept API keys that allow withdrawals. On BingX, a key whose permissions cannot be read is rejected too.
  • Your trading capital stays in your BingX account; fees and subscriptions come from a separate Freya platform balance in USDT.
  • Every plan, including Free, runs unlimited bots. On every plan, Freya takes 20% of the gross profit of each closed profitable trade, capped at $40 a month.

Why run a bot on BingX

BingX offers USDT-M perpetual futures on a wide selection of pairs, and if you already trade futures there, a bot works in that same account with the balance you hold. Bot trading on BingX lets a bot follow your rules while you are away from the screen and place orders at the levels you planned, without hesitating.

BotWhat it doesOn BingX with Freya
DCA botOpens a position, adds safety orders and exits at your take profitFutures and spot
Signal botOpens trades only on the webhook signals you sendFutures
Grid botBuys and sells repeatedly inside a price rangeComing soon

Connect BingX to Freya: create a BingX API key

BingX connects manually: you create an API key in your BingX account and add it in Freya. There is no one-click Fast Connection for BingX; that route exists for Bybit and OKX. You do not enter your BingX password in Freya.

  1. Create an API key on BingX. Open API management in your BingX account and create a key only for Freya.
  2. Turn on Read and Perpetual Futures Trading. Leave Withdraw off and add no other permission; Freya does not need one.
  3. Restrict the key to all of Freya's IP addresses. Freya lists them in its Add API Key window under Whitelist these IP addresses, and the Copy IPs button copies all of them. Add every address on the list to the key's IP restriction on BingX: if one is missing, Freya does not accept the key. Do not use addresses copied from another guide.
  4. Copy the API key and its secret. Keep the secret out of chats and screenshots.
  5. Add the key in Freya: open Settings → API Keys → Add API Key, choose BingX Futures and paste the key and secret.

Freya checks the key with BingX before it saves it, and on BingX the check is strict. A key that allows withdrawals is rejected, and so is a key whose permissions cannot be read. A key that cannot trade perpetual futures shows Missing Permissions. The IP restriction is mandatory, and Freya requires it for every BingX key: a key with no IP restriction, one restricted to other addresses or one missing any of Freya's addresses shows IP Address Not Whitelisted, together with the addresses to add. If a key does not pass, check the futures permission, the IP list and the withdrawal setting; API key connection errors lists the common messages and fixes. More detail: how to connect your exchange and managing your exchange API keys.

Your trading capital stays in your BingX account

Your trading capital stays in your exchange account: Freya places orders on BingX through the exchange API. Fees and subscriptions come from a separate Freya platform balance in USDT (your platform balance and transactions), and topping it up does not add to the capital your bots can trade on BingX.

The key settings limit what the key can do, not your trading losses: a key that can trade can also open losing positions, and on futures a position can be liquidated. You can check or delete the key in your BingX API settings at any time.

What it costs. Every plan, including Free, runs unlimited bots. On every plan, Freya takes 20% of the gross profit of each closed profitable trade, capped at $40 a month, and nothing on a losing trade. Plus costs $15 and Pro $30 a month. BingX's own trading fees are separate: see BingX fees and markets and Freya plans and fees.

How to set up a BingX DCA bot (step by step)

  1. Connect BingX with an API key, as described above.
  2. Create a DCA bot: choose the DCA bot type, the BingX futures pair, the direction (long or short) and the leverage, within the range BingX allows for that pair. How to create your first DCA bot walks through every screen, and the DCA bot strategy guide covers settings for each market condition.
  3. Choose the entry: start the first deal yourself with Run Now, or let the bot wait for entry conditions, with more than 40 condition types and up to 10 per bot.
  4. Build the Grid of Orders: set the distance and size of each safety order; a ladder can hold up to 40 orders. Entry orders and the grid explains the spacing, and the safety order calculator estimates the capital a full ladder needs. All your bots together have to fit your BingX futures balance, and with leverage the ladder also has to fit before the liquidation price (see the next section).
  5. Set the exit: a Take Profit measured from your average entry price and an optional Stop Loss, both recalculated after each safety order fills. Freya watches the stop loss and closes the position with a market order when it is hit. Up to 10 exit conditions can close the position as well.
  6. Backtest the settings before real orders go out (how to run a backtest on Freya). Fees, slippage and isolated-margin liquidation are modelled, and you get 4, 20 or unlimited backtests a month, depending on your plan.
  7. Start the bot: orders execute in your own BingX account, and you can stop the bot at any time.

How a BingX futures DCA bot works

On BingX, Freya trades USDT-M perpetual futures, so a BingX DCA bot is a futures bot: it trades contracts with leverage, in one direction. A long bot adds safety orders as the price falls, a short bot adds them as the price rises, and both close the whole position at a take profit measured from the average entry.

SettingBingX futures DCA bot on Freya
MarketUSDT-M perpetual futures
DirectionLong or short, one direction per bot
Position modeHedge mode: a long bot and a short bot can share a pair
LeverageSet on the bot, within the range BingX allows for the pair
LiquidationBingX closes the position when its margin runs out; the bot then stops
API keyRead and Perpetual Futures Trading, restricted to all of Freya's IP addresses
BacktestFees, slippage and isolated-margin liquidation are modelled

Hedge mode. Freya's futures bots use hedge mode, so a long bot and a short bot can run on the same BingX pair without closing each other's position. If your BingX futures account is not in hedge mode yet, Freya switches it when you add the key. Open positions or orders can block the switch: the key is still saved, and the Hedge Mode row shows a warning until they are closed (hedge mode vs one-way).

Leverage and liquidation. You set the leverage on the bot, within the range BingX allows for the pair (choosing a leverage level). Leverage lowers the margin each order needs, makes gains and losses larger and brings the liquidation price closer: if the price moves far enough against the position that its margin runs out, BingX closes it. Freya does not liquidate positions. If BingX liquidates one, the bot stops and opens no new position, the trade is recorded with the realized loss, and you are notified (how liquidation works).

The safety-order ladder versus the liquidation distance. A DCA ladder only helps while the position is open. Each filled safety order moves the average entry and the liquidation price, but if the price reaches the liquidation price before the next safety order fills, BingX closes the position and the rest of the ladder never fills. As a rough guide for isolated margin, a position is liquidated once the price moves against its average entry by about 100% divided by the leverage, less the maintenance rate: a little under 20% at 5x, a little under 10% at 10x. A deep ladder needs low leverage; a higher leverage needs a shorter ladder, or a stop loss that closes the position well before the liquidation price.

Check it in a backtest first. Freya's futures backtests model isolated-margin liquidation at a 0.4% maintenance rate whenever leverage is above 1, so a backtest shows whether a ladder would have been liquidated before its last safety order filled. On BingX itself, the exact liquidation price follows BingX's own margin rules.

BingX signal bot: trading on webhook signals

A BingX signal bot opens trades only when a webhook signal arrives, for example an alert from your charting tool or your own script. It runs on BingX futures, long or short, with one direction per bot. There are two modes:

  • Custom Signal: the bot gets an Open and a Close webhook URL, and you set the amount, take profit and stop loss in Freya.
  • Risk Ratio: the webhook message carries the take-profit and stop-loss prices, and a fixed risk amount sizes the position (Risk Ratio mode).

Webhook signal strategies cannot be backtested, so test your signal source on its own first. Telegram is not a signal source. The signal bot setup guide shows each screen.

Automated trading carries risk. A bot follows your rules, including the bad ones, and no strategy removes the possibility of loss. Averaging down adds capital to a losing position and does not promise a recovery. Nothing here is financial advice, and past or simulated performance does not predict future results.

Frequently Asked Questions

How do I connect a trading bot to BingX?

Create an API key in your BingX account with the Read and Perpetual Futures Trading permissions, leave Withdraw off and restrict the key to every IP address Freya lists in its Add API Key window (the Copy IPs button copies them). Then add it in Freya under Settings, API Keys, Add API Key, and choose BingX Futures. Freya checks the permissions and the IP restriction before it saves the key.

What permissions does a BingX API key need for a trading bot?

Read and Perpetual Futures Trading for a futures key, Read and Spot Trading for a spot key. Each market uses its own key. The key must also be restricted to all of Freya's IP addresses. Freya requires it for every BingX key, and a key that is missing even one address is not accepted. Freya does not accept API keys that allow withdrawals, and on BingX a key whose permissions cannot be read is rejected as well.

How do I set up a BingX DCA bot?

Connect BingX with an API key, create a DCA bot on a BingX futures pair, choose long or short and the leverage, set the safety orders, the take profit and an optional stop loss, backtest the settings and start the bot. Orders run in your own BingX account.

Can a BingX futures bot be liquidated?

Yes. If the price moves far enough against a futures position that its margin runs out, BingX closes it, and higher leverage brings that point closer. Freya does not liquidate positions; if BingX does, the bot stops and opens no new position. Lower leverage, a safety-order ladder that fits before the liquidation price and a stop loss reduce the risk, and Freya's futures backtests model isolated-margin liquidation, so you can check your settings first.

How does a BingX signal bot work?

It opens trades only when a webhook signal arrives. In Custom Signal mode the bot has an Open and a Close webhook URL and uses your amount, take profit and stop loss; in Risk Ratio mode the webhook carries the take-profit and stop-loss prices. It runs on BingX futures, long or short.

Is there a BingX grid bot on Freya?

Not yet: Freya's grid bot is coming soon. On BingX, Freya runs DCA bots and signal bots today, on USDT-M perpetual futures. How the two approaches differ: DCA bot vs grid bot.

Can I use a BingX bot with Telegram?

Not as a signal source. Freya uses Telegram only for linking your account and for notifications; it does not take trading signals from Telegram. Signal bots trade on webhook signals.



Create an account

Put your knowledge into practice by opening a Freya account today.

Register Now

Related Articles

This content is for educational purposes only and does not constitute financial advice. Cryptocurrency trading involves significant risks. Never invest more than you can afford to lose.