BingX Exchange Bot Developer

Job ID: 38647640

Budget: €30 – €110 EUR

**Translation:**

The transaction management section of the bot must be conducted via WebSocket.

Here are the parameters that should be adjustable by the operator:
??
- **Risk**: The default margin amount for each trade in Tether (USDT).

- **Max Risk**: The maximum entry margin for each profitable trade, as explained in the description.

- **Leverage**: The default leverage ratio for the bot, applicable for both short and long positions.

- **Leverage 2**: When a position reaches the Max Risk in profit, the leverage changes to this value.

- **TP**: The default profit target for the bot.

- **SL**: The stop-loss percentage.

- **Add TP**: Additional profit percentage for re-entering a losing position.

- **Re-entry**: When a currency reaches this negative percentage in a long or short position, the bot will re-enter with the same margin as the current trade. Orders should be placed on the exchange account before reaching this level, as it's the bot’s default.

- **Add Re-entry**: The secondary re-entry percentage. If the first re-entry occurs, add this number to the Re-entry value and place another order. For example, if re-entry happens at -10%, and Add Re-entry is set to 15%, the next re-entry occurs at -25%, continuing until the Re-entry Limit is reached.

- **Re-entry Limit**: Sets the maximum re-entry threshold, meaning the re-entries should not exceed this percentage. When this threshold is reached, the bot will continue to manage trades at this percentage without increasing it. For example, if the re-entry limit is 63%, any re-entry totaling 65% or more won’t exceed this level.

- **Stop Trading**: Stops the bot from opening new trades. When enabled, the bot will only manage existing open trades until they close.

The bot should be able to add all BingX exchange currencies.

**Description:**
The bot should use an indicator provided to the developer to determine entry strategies. Whenever the indicator signals a position for any currency, the bot should open trades in both long and short directions and manage these trades.

If any position closes with profit, the bot should re-open the position from the same profit point and continue managing it. If a long or short position with re-entry closes with profit, the settings for that position should revert to the bot's initial settings.

**Max Risk**: If a position reaches the initial re-entry level, and the margin doubles, the bot should increase the margin of the profitable position by the amount of the losing position once the target is reached and closed profitably. The bot will continue to manage until the profitable margin reaches Max Risk.

For example, if Max Risk is set to 20 USDT, and a long position with an initial margin of 10 USDT is losing, after one re-entry, the margin becomes 20 USDT. If the short position has a 10 USDT margin and closes profitably, the bot should open a new short position with 20 USDT, matching the margin in the long position, and vice versa. If the long position is profitable and the short position has entered a re-entry, the next long position should open with 20 USDT. The value in option 2 specifies that once the profitable position reaches this margin level, no additional margin should be added, even if the opposite position re-enters.

Additionally, when the profitable position reaches the Max Risk level, the leverage of that position will change to leverage 2.

This bot has been developed before, but it had various issues, such as random target percentage changes not available in the panel settings, excessive margin usage in a single trade, failure to set TP, re-entry, add re-entry, add TP, and stop-loss errors.
Related categories: Python API Web API