Greetings everyone. I want to create application for futures trading. But first i want to test application. I am trying to test it on testnet:
from binancekeys import *
from binance.client import Client
client = Client( API_KEY, API_SECRET )
client.API_URL = ‘https://testnet.binance.vision/api’
print(client.futures_account_balance())
But i get error:
binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action
Can somebody help? Key and secret taken by clicking on API button at bottom of demo trading screen.