margin short sell limit order with TP/SL

Hello Community,
I am looking for an api end point to place a Margin SHORT order with TP/SL. I am attaching the necessary screenshot for which i need the end point. On my research, i cannot find a single end point for a LIMIT order with take-Profit and Stop Loss together. What i understand is i need to place three separate orders and need to monitor first order if it successfully completed and then place the second and third one. The first screenshot is the one i placed manually and the second one is the margin short sell page. I am also attaching a rough code for the same with this.
`
from binance.client import Client
from binance.enums import *
import math

def place_margin_short_sell_with_tp_sl(api_key, api_secret, symbol, quantity, take_profit_percent, stop_loss_percent):
client = Client(api_key, api_secret)
# Get the current market price
ticker = client.get_symbol_ticker(symbol=symbol)
current_price = float(ticker[‘price’])

# Calculate take profit and stop loss prices
take_profit_price = current_price * (1 - take_profit_percent)
stop_loss_price = current_price * (1 + stop_loss_percent)

# Round prices to appropriate number of decimal places
symbol_info = client.get_symbol_info(symbol)
price_precision = int(symbol_info['quotePrecision'])
take_profit_price = round(take_profit_price, price_precision)
stop_loss_price = round(stop_loss_price, price_precision)

# Place the main short sell order
main_order = client.create_margin_order(
    symbol=symbol,
    side='SELL',
    type='LIMIT',
    quantity=quantity,
    sideEffectType="MARGIN_BUY"
)

# Place take profit order
tp_order = client.create_margin_order(
    symbol=symbol,
    side='BUY',
    type='LIMIT',
    timeInForce=TIME_IN_FORCE_GTC,
    quantity=quantity,
    price=str(take_profit_price),
    sideEffectType="AUTO_REPAY"
)

# Place stop loss order
sl_order = client.create_margin_order(
    symbol=symbol,
    side='BUY',
    type='STOP_LOSS_LIMIT',
    timeInForce=TIME_IN_FORCE_GTC,
    quantity=quantity,
    price=str(stop_loss_price),
    stopPrice=str(stop_loss_price),
    sideEffectType="AUTO_REPAY"
)

return {
    "main_order": main_order,
    "take_profit_order": tp_order,
    "stop_loss_order": sl_order
}

Example usage

api_key = “your_api_key”
api_secret = “your_api_secret”
symbol = “FIDAUSDT”
quantity = 100 # Adjust based on your desired position size
take_profit_percent = 0.05 # 5%
stop_loss_percent = 0.10 # 10%

result = place_margin_short_sell_with_tp_sl(api_key, api_secret, symbol, quantity, take_profit_percent, stop_loss_percent)
print(result)`

TIA.
Regrads,
Boney