Dynamic TP/SL Movement Developer for Trading Bot in Python

Job ID: 39998200

Budget: $10 – $50 USD

I am looking for an experienced developer who can implement dynamic TP and SL movement for my trading bot.

The bot is built in Python and executes trades based on alerts coming from TradingView. TradingView sends JSON data through a webhook, and the bot opens a position with an entry price, one TP and one SL. Now I need to upgrade the system so the bot can automatically move the stop-loss as different Take Profit levels are reached.

What I need:

When a long position is opened, the bot sets ENTRY, TP1 and SL1.

When the price reaches TP1, TradingView sends a new alert. Based on this alert, the bot must automatically move the stop-loss to a level just below TP1 (with a configurable offset).

When the price reaches TP2, the bot must again move the SL, this time just below TP2.

The same logic continues for TP3, TP4, etc. Every time a new TP is hit, the SL needs to move one level higher.

The bot cannot see the chart, so all movements of the SL must be triggered by TradingView alerts.

The system must correctly update open orders through the exchange API (Binance/Bybit — will specify).

What I expect from the developer:

Add the full logic for moving the SL based on incoming webhook alerts

Allow a configurable offset under each TP

Make sure orders are updated correctly without conflicts

Ensure stable integration with the exchange API

Test the complete workflow from alert → webhook → bot → exchange

Technologies used:
Python, TradingView alerts, webhook + JSON communication, Binance/Bybit API.

Goal:
Every time a TP is reached, the stop-loss should automatically move higher to secure profit while still giving the trade room to continue.

I am looking for someone with experience in building trading bots, working with exchange APIs, using webhooks, and ideally someone familiar with TradingView alert systems.