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 2.2.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 2.2.0
File Size Uploaded
tribulnation_mexc-2.2.0.tar.gz 26.7 kB Details

Built distribution (wheel)

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

Total release size: 64.1 kB

Release files / tribulnation_mexc-2.2.0.tar.gz

Download URL tribulnation_mexc-2.2.0.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1110a65acabe73ea29b2b07a0c13351bed85ebc18f915b729654561fd7e9cbe8
BLAKE2b-256 checksum
How to use checksums
e20e50867f8dd99a4f66cdf220e208751c2f6e8552e34d80f8efae33eac83074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 29, 2026.

Transparency log

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

Download URL tribulnation_mexc-2.2.0-py3-none-any.whl
Size 37.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2266456812124bef42497a164163f245bcb1fb7492b814bc595ac3f66d3458d
BLAKE2b-256 checksum
How to use checksums
c0a4f3a208c43696f05b4c0a3ed01e5ff09b5ff859b51a5c0bba475b8acb0ed3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

2.4.0

2 release files

2.3.0

2 release files

This release

2.2.0 This release

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

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