python-binance

BinanceRegionException

Raised when using a region-specific endpoint with incompatible client.

Attributes

attributerequired_tld
= required_tld
attributeactual_tld
= actual_tld
attributeendpoint_name
= endpoint_name
attributemessage
= f'{endpoint_name} is only available on binance.{required_tld}, but client is configured for binance.{actual_tld}'

Functions

func__init__(self, required_tld, actual_tld, endpoint_name='endpoint')
paramself
paramrequired_tldstr
paramactual_tldstr
paramendpoint_namestr
= 'endpoint'

Returns

None
func__str__(self)
paramself

Returns

None

On this page