AgentStack
SKILL verified Apache-2.0 Self-run

Mexc Futures Websocket

skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-futures-websocket · by mncrftfrcnm

MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-mncrftfrcnm-mexc-agent-trading-skills-mexc-futures-websocket

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Mexc Futures Websocket? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MEXC Futures WebSocket

Workflow

Use this skill for streaming contract data and private futures events. Open references/streams.md only for exact stream names and lifecycle details.

  1. Use wss://contract.mexc.com/edge.
  2. Use public channels for market data and private channels only when the user has configured environment-variable credentials.
  3. For private auth code, use Futures REST signing rules and redact ApiKey, Signature, and the secret.
  4. Handle ping/pong and reconnects explicitly.
  5. Use REST snapshots plus WebSocket increments for order book maintenance.
  6. Treat compressed payload behavior as current-default for deal and depth streams.
  7. Use REST for initial assets/order books; private streams and depth streams are updates after snapshots.
  8. For balance/account snapshots, use $mexc-futures-rest quick commands and python scripts/lookup.py balance before opening REST or stream references.

Safety Rules

  • Do not request API keys in chat. Use env vars and redact signed login payloads.
  • Do not persist private stream auth tokens, signatures, or account event payloads to logs unless redacted.
  • Reconnect with backoff and resubscribe idempotently.
  • Rebuild order books from snapshot on any sequence gap.
  • Respect endpoint and stream rate limits from the official docs.

Verification

Before production code, verify base URL, public auth requirements, current private login flow, and order-book gap recovery.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.