How to close orders without TP/SL

Below are things I imported
import json
import websocket
import pandas as pd
from binance.client import Client
from binance.enums import *
import threading
import time

my position code is below:

binance_client.futures_change_leverage(symbol='BTCUSDT', leverage=20)

if ABCD <= -1:
    binance_client.futures_create_order(
        symbol='BTCUSDT',
        type='MARKET',
        timeInForce='GTC',
        side='BUY',
        quantity=0.002
    )

elif ABCD >= 1:
    binance_client.futures_create_order(
        symbol='BTCUSDT',
        type='MARKET',
        timeInForce='GTC',
        side='SELL',
        quantity=0.002
    )

How can I close the trade placed by time instead of TP / SL .
For example:
8:40 AM - signal occur > BUY
8:45 AM - close the buy , if another signal occur > BUY / SELL

( All my trade will execute at the close bar of 5min because its calculation is based on close price)