Quick Start

CLI Usage

Check Balance

openmm balance --exchange mexc
openmm balance --exchange mexc --asset USDT

Get Market Data

openmm ticker --exchange mexc --symbol BTC/USDT
openmm orderbook --exchange mexc --symbol BTC/USDT --limit 5
openmm trades --exchange mexc --symbol BTC/USDT --limit 10

Place Orders

# Limit buy order
openmm order place --exchange mexc --symbol BTC/USDT --side buy --type limit --amount 0.001 --price 40000

# Market sell order
openmm order place --exchange mexc --symbol BTC/USDT --side sell --type market --amount 0.001

# List open orders
openmm order list --exchange mexc

# Cancel order
openmm order cancel --exchange mexc --orderId abc123

Cardano DEX

API Server

Start the REST API server:

Access endpoints:

  • API: http://localhost:3000/api/v1/

  • Swagger UI: http://localhost:3000/docs

Example API Calls

Grid Strategy

Start a grid trading strategy:

Monitor and stop:

See Grid Strategy Guide for advanced configuration.

Last updated