POST /orders
Last updated
{
"success": true,
"exchange": "mexc",
"order": {
"id": "123456",
"symbol": "BTC/USDT",
"side": "buy",
"type": "limit",
"price": 40000,
"amount": 0.1,
"filled": 0,
"remaining": 0.1,
"status": "open",
"timestamp": 1710000000000
}
}curl -X POST "http://localhost:3000/api/v1/orders" \
-H "Content-Type: application/json" \
-d '{
"exchange": "mexc",
"symbol": "BTC/USDT",
"side": "buy",
"type": "limit",
"amount": 0.1,
"price": 40000
}'curl -X POST "http://localhost:3000/api/v1/orders" \
-H "Content-Type: application/json" \
-d '{
"exchange": "mexc",
"symbol": "BTC/USDT",
"side": "sell",
"type": "market",
"amount": 0.1
}'