AgentSkillsCN

mexc-futures

MEXC 期货交易支持 DB 跟踪(无需 KYC)

SKILL.md
--- frontmatter
name: mexc-futures
description: MEXC Futures trading with DB tracking (No KYC)
emoji: "🔵"
commands:
  - /mx
gates:
  envs:
    - MEXC_API_KEY

MEXC Futures

Trade perpetual futures on MEXC with up to 200x leverage. No KYC required for small amounts.

Quick Start

bash
# Set credentials
export MEXC_API_KEY="your-api-key"
export MEXC_API_SECRET="your-api-secret"

# Check balance
/mx balance

# Open position
/mx long BTC_USDT 1 10x

# View stats
/mx stats

Commands

Account

CommandDescription
/mx balanceCheck account balance
/mx positionsView open positions
/mx ordersList open orders

Trading

CommandDescription
/mx long <symbol> <vol> [leverage]xOpen long position
/mx short <symbol> <vol> [leverage]xOpen short position
/mx close <symbol>Close position
/mx closeallClose all positions
/mx leverage <symbol> <value>Set leverage

Market Data

CommandDescription
/mx price <symbol>Get current price
/mx funding <symbol>Check funding rate
/mx markets [query]List markets

Database/History

CommandDescription
/mx trades [symbol] [limit]Trade history from database
/mx dbstats [symbol] [period]Win rate, PnL, profit factor
/mx dbfunding [symbol]Funding payments history
/mx dbpositions [all]Position history

Stats periods: day, week, month

Examples

bash
/mx long BTC_USDT 1 10x        # 10x leveraged long, 1 contract
/mx short ETH_USDT 5 20x       # 20x leveraged short, 5 contracts
/mx close BTC_USDT             # Close BTC position
/mx trades BTC_USDT 20         # Last 20 BTC trades
/mx stats ETH_USDT week        # ETH stats for past week

Notes

  • MEXC uses contract notation (e.g., BTC_USDT not BTCUSDT)
  • No KYC required for smaller trading volumes
  • Up to 200x leverage available