--- 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 | Command | Description | |---------|-------------| | `/mx balance` | Check account balance | | `/mx positions` | View open positions | | `/mx orders` | List open orders | ### Trading | Command | Description | |---------|-------------| | `/mx long [leverage]x` | Open long position | | `/mx short [leverage]x` | Open short position | | `/mx close ` | Close position | | `/mx closeall` | Close all positions | | `/mx leverage ` | Set leverage | ### Market Data | Command | Description | |---------|-------------| | `/mx price ` | Get current price | | `/mx funding ` | Check funding rate | | `/mx markets [query]` | List markets | ### Database/History | Command | Description | |---------|-------------| | `/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