How to set a take profit and a stop loss for futures market order?

How to set a take profit and a stop loss for futures market order?
how should param be configurated to set them?
I’m using the following function:
params= {
‘quoteOrderQty’: quantity,
}
exchange.create_order(symbol, ‘market’, ‘buy’, quantity, price,params)

Please find how the create_order is defined. You will need to provide stopPrice and price for this order type, for more details please check:

https://binance-docs.github.io/apidocs/futures/en/#new-order-trade