ClosePosition in future trading

I’m trying to close a contract immediately using closeposition order in python but i don’t see any order in documentation on how to close
I used python-binance library to create future order like
Client.future_create_order(symbol=‘XRPUSDT’ ,side=‘SELL’, type=‘MARKET’, quantity=15)
And the order created successfully but i dont know now how to close this order or how to close positon

You may only cancel orders which have a status of NEW or PARTIALLY_FILLED. Orders with other statuses may not be canceled.

A position can be closed by placing an order of the equivalent quantity in the opposite direction. The client may either calculate the quantity and set reduceOnly = True, or place a STOP_MARKET/TAKE_PROFIT_MARKET order with closePosition = True.