binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action

i try to run this codes

from tradingview_ta import TA_Handler, Interval, Exchange

# import the Binance client from python-binance module
from binance.client import Client

# import required library for timing our DCA
from time import sleep

# define your API key and secret
API_KEY = "b9cf9fe2fd1d2314e10e499e5fb3ceee0285dd9f5846e97396a3d2c5964abcdb"
API_SECRET = "f53b603ac52c0c064f13fb7bfbea0e4669193395823cccc52c63491b5e9b811d"

# define the client
client = Client(API_KEY, API_SECRET )

# CONFIG VARIABLES DEFINED HERE
coin = "BTC"
quantity = 0.0014
pairing = "USDT"
frequency = 1
screener = "CRYPTO"
exchange = "Binance"


def buy_coin():
    return client.order_market_buy(
        symbol=coin + pairing,
        quantity=quantity)

def sell_coin():
    return client.order_market_sell(
        symbol=coin + pairing,
        quantity=quantity)


def get_ta(symbol, screener, exchange):
    return TA_Handler(
        symbol=symbol,
        screener=screener,
        exchange=exchange,
        interval=Interval.INTERVAL_1_WEEK,
    ).get_analysis().summary


def main():
    while True:
        analysis = get_ta(coin + pairing, screener, exchange)
        print(analysis)

        if 'BUY' in analysis['RECOMMENDATION']:
            print(f"Buying {coin}")
            buy_coin()
        sleep(frequency * 10)
        if 'SELL' in analysis['RECOMMENDATION']:
            print(f"Selling {coin}")
            sell_coin()
        sleep(frequency * 10)

if __name__ == '__main__':
    main()


this is www.testnet.binancefuture.com testnet api using and get this error

binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action.

help me

Which Binance client are you using?