Skip to main content

MEXC SDK

Tribulnation SDK implementation for MEXC.

Installation

pip install tribulnation-mexc

Market

Spot supports the existing trading and account surfaces. The perp exchange adds public linear perpetual discovery, tickers, order-book snapshots, candles, index prices, next funding, funding-rate history and perp_stats. Native symbols such as BTC_USDT are preserved. Perpetual streams, rules and private/trading methods remain unimplemented; discovering public futures does not enable futures account access.

Volumes and open interest are converted from contracts to base units with the contract's contractSize. Bulk perp_stats does not invent a funding interval or settlement timestamp missing from the ticker response: use next_funding() for that contract's current settlement state. Candles use required aware [start, end) bounds and segmented windows of at most 2000 opens, retaining native order and gaps.

Bulk perpetual snapshots reject unknown requested market IDs and fail visibly when the response omits a selected contract (or any discovered contract when requesting all markets). An explicit empty selection returns an empty mapping without requests.

Report

Report covers snapshot() (spot balances, futures assets and open positions) and history() (spot fills across automatically discovered markets, crypto deposits and withdrawals, futures funding settlements). The API key needs MEXC's spot trade-read, wallet-read and futures-read scopes. See docs/report/implementations/mexc.md.

Metadata

Release files for tribulnation-mexc 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tribulnation-mexc 3.0.0
File Size Uploaded Provenance Actions
tribulnation_mexc-3.0.0.tar.gz 27.0 kB With provenance Details for tribulnation_mexc-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tribulnation-mexc 3.0.0
File Interpreter ABI Platform Actions
tribulnation_mexc-3.0.0-py3-none-any.whl Python 3 none any Details for tribulnation_mexc-3.0.0-py3-none-any.whl

Total release size: 64.7 kB

Release files / tribulnation_mexc-3.0.0.tar.gz

Download URL tribulnation_mexc-3.0.0.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
28f22ac29b43732db8e7e7742ef81c579677bc4c18c50c6fe475b9995bce44fa
BLAKE2b-256 checksum
How to use checksums
1d83f18deb08e2ff55a56c0fff7c8eb65f0f69c3479ec35f78467053d22b0b11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tribulnation_mexc-3.0.0-py3-none-any.whl

Download URL tribulnation_mexc-3.0.0-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c252b449a5d188b02ea0bf523980349e1a4dc2ff8bb20c6e5771f24498385e43
BLAKE2b-256 checksum
How to use checksums
cfa80b7d0f6294ad418d9ee11c7bd925f5bc874d0eb75b5d613a40558cdd8eb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for tribulnation-mexc 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tribulnation_mexc-3.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page