Orders
Get your orders, result is paginated. Cancel orders or create a Sell/Buy order.
Get your orders, result is paginated.
Filter order by state.
Limit the number of returned orders, default to 100.
Specify the page of paginated results.
If set, returned orders will be sorted in specific order, default to "desc".
Filter order by ord_type.
Filter order by type.
An integer represents the seconds elapsed since Unix epoch.If set, only orders created after the time will be returned.
An integer represents the seconds elapsed since Unix epoch.If set, only orders created before the time will be returned.
GET /api/v2/live/market/orders HTTP/1.1
Host: www.mameex.com
Accept: */*
Get your orders, result is paginated.
[
{
"id": 1,
"uuid": "text",
"side": "text",
"ord_type": "text",
"price": 1,
"avg_price": 1,
"state": "text",
"market": "text",
"created_at": "text",
"updated_at": "text",
"origin_volume": 1,
"remaining_volume": 1,
"executed_volume": 1,
"maker_fee": 1,
"taker_fee": 1,
"trades_count": 1,
"trades": [
{
"id": "text",
"price": 1,
"amount": 1,
"total": 1,
"fee_currency": 1,
"fee": 1,
"fee_amount": 1,
"market": "text",
"created_at": "text",
"taker_type": "text",
"side": "text",
"order_id": 1
}
]
}
]
Get information of specified order.
GET /api/v2/live/market/orders/{id} HTTP/1.1
Host: www.mameex.com
Accept: */*
Get information of specified order.
{
"id": 1,
"uuid": "text",
"side": "text",
"ord_type": "text",
"price": 1,
"avg_price": 1,
"state": "text",
"market": "text",
"created_at": "text",
"updated_at": "text",
"origin_volume": 1,
"remaining_volume": 1,
"executed_volume": 1,
"maker_fee": 1,
"taker_fee": 1,
"trades_count": 1,
"trades": [
{
"id": "text",
"price": 1,
"amount": 1,
"total": 1,
"fee_currency": 1,
"fee": 1,
"fee_amount": 1,
"market": "text",
"created_at": "text",
"taker_type": "text",
"side": "text",
"order_id": 1
}
]
}
Cancel all my orders.
If present, only sell orders (asks) or buy orders (bids) will be canncelled.
POST /api/v2/live/market/orders/cancel HTTP/1.1
Host: www.mameex.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31
"market='text'&side='text'"
Cancel all my orders.
{
"id": 1,
"uuid": "text",
"side": "text",
"ord_type": "text",
"price": 1,
"avg_price": 1,
"state": "text",
"market": "text",
"created_at": "text",
"updated_at": "text",
"origin_volume": 1,
"remaining_volume": 1,
"executed_volume": 1,
"maker_fee": 1,
"taker_fee": 1,
"trades_count": 1,
"trades": [
{
"id": "text",
"price": 1,
"amount": 1,
"total": 1,
"fee_currency": 1,
"fee": 1,
"fee_amount": 1,
"market": "text",
"created_at": "text",
"taker_type": "text",
"side": "text",
"order_id": 1
}
]
}
Cancel an order.
POST /api/v2/live/market/orders/{id}/cancel HTTP/1.1
Host: www.mameex.com
Accept: */*
Cancel an order.
No content
Create a Sell/Buy order.
POST /api/v2/live/market/orders HTTP/1.1
Host: www.mameex.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 70
"market='text'&side='text'&volume=1&ord_type='text'&price=1"
Create a Sell/Buy order.
{
"id": 1,
"uuid": "text",
"side": "text",
"ord_type": "text",
"price": 1,
"avg_price": 1,
"state": "text",
"market": "text",
"created_at": "text",
"updated_at": "text",
"origin_volume": 1,
"remaining_volume": 1,
"executed_volume": 1,
"maker_fee": 1,
"taker_fee": 1,
"trades_count": 1,
"trades": [
{
"id": "text",
"price": 1,
"amount": 1,
"total": 1,
"fee_currency": 1,
"fee": 1,
"fee_amount": 1,
"market": "text",
"created_at": "text",
"taker_type": "text",
"side": "text",
"order_id": 1
}
]
}
Last updated