Closed ka1myk closed 1 year ago
workaround
from binance.client import BaseClient
from binance.client import Client
BaseClient.OPTIONS_URL = 'https://eapi.binance.{}/eapi'
with open('variables.json') as v:
variables = json.load(v)
client = Client(variables['binance_01']['key'], variables['binance_01']['secret'])
print(client.options_exchange_info())
as is: OPTIONS_URL = 'https://vapi.binance.{}/vapi' to be: OPTIONS_URL = 'https://eapi.binance.{}/eapi'
related to https://binance-docs.github.io/apidocs/voptions/en/#change-log