MEXC
The top-level MEXC client composes:
spotfutures
Use it when you want a single authenticated client spanning both surfaces.
Constructor
from mexc import MEXC
client = MEXC.new(
api_key='your_access_key',
api_secret='your_secret_key',
validate=True,
)
Notes
MEXC.new()readsMEXC_ACCESS_KEYandMEXC_SECRET_KEYif credentials are not passed explicitlyasync with MEXC.new()manages bothspotandfutureslifecycles togetherMEXC.public()is the public-only top-level constructorSpot.public()andFutures.public()are the focused public-only constructors