How to place a Futures Market order with Take Profit and Stop Loss using python-binance

I’m struggling to place Take Profit and Stop Loss orders using python-binance and can’t understand how to set up TP & SL % For now I only found how to place base orders like:

Market order

from binance_f import RequestClient
from binance_f.constant.test import *
from binance_f.base.printobject import *
from binance_f.model.constant import *

client = RequestClient(api_key=‘api_key’,
secret_key=‘secret_key’,
url=‘https://testnet.binancefuture.com’)

print(client.post_order(symbol=“BTCUSDT”, ordertype=“MARKET”, side=“SELL”,
positionSide=“BOTH”, quantity=0.001))

Limit order

from binance_f import RequestClient
from binance_f.constant.test import *
from binance_f.base.printobject import *
from binance_f.model.constant import *

client = RequestClient(api_key=‘api_key’,
secret_key=‘secret_key’,
url=‘https://testnet.binancefuture.com’)

print(client.post_order(symbol=“BTCUSDT”, ordertype=“LIMIT”, side=“BUY”,
positionSide=“BOTH”, quantity=0.01, timeInForce=“GTC”,
price=48680))

So if there is some way to make it can you show me example?

Have a look at this thread for placing TP & SL orders on Futures market