Get trades of deal
GET
/ver1/deals/:deal_id/market_ordersReturns all type of trades for a specific deal.
Response Parameters
The type of the order to be created by this trade.
Hide allowed valuesShow allowed values
- Base;
- Take profit;
- Stop Loss;
- Safety;
- Manual Safety;
More attributes
Example Responses
- 200 OK
[
{
"order_id": "1110863869",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T17:02:50.001Z",
"updated_at": "2024-11-11T17:02:50.166Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.297",
"average_price": "0.0"
},
{
"order_id": "1110817001",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T16:46:59.479Z",
"updated_at": "2024-11-11T16:46:59.643Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.297",
"average_price": "0.0"
},
{
"order_id": "1110812940",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T16:45:38.751Z",
"updated_at": "2024-11-11T16:45:38.892Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.297",
"average_price": "0.0"
},
{
"order_id": "1110811846",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T16:45:21.014Z",
"updated_at": "2024-11-11T16:45:21.156Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.2971",
"average_price": "0.0"
},
{
"order_id": "1110706583",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T16:22:01.176Z",
"updated_at": "2024-11-11T16:22:01.391Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.0",
"average_price": "0.0"
},
{
"order_id": "1110645798",
"order_type": "SELL",
"deal_order_type": "Manual Safety",
"cancellable": false,
"status_string": "Inactive",
"created_at": "2024-11-11T16:04:51.619Z",
"updated_at": "2024-11-11T16:04:51.750Z",
"quantity": "0.0",
"quantity_remaining": "0.0",
"total": "0.0",
"rate": "0.0",
"average_price": "0.0"
},
{
"order_id": "1102488856",
"order_type": "BUY",
"deal_order_type": "Take Profit",
"cancellable": true,
"status_string": "Active",
"created_at": "2024-11-08T20:39:06.340Z",
"updated_at": "2024-11-08T21:54:34.204Z",
"quantity": "25.9",
"quantity_remaining": "25.9",
"total": "0.0",
"rate": "0.25",
"average_price": "0.0"
},
{
"order_id": "1102488858",
"order_type": "SELL",
"deal_order_type": "Safety",
"cancellable": false,
"status_string": "Filled",
"created_at": "2024-11-08T20:39:06.443Z",
"updated_at": "2024-11-08T21:54:33.294Z",
"quantity": "15.0",
"quantity_remaining": "0.0",
"total": "3.894858",
"rate": "0.2607",
"average_price": "0.2596572"
},
{
"order_id": "1102488849",
"order_type": "SELL",
"deal_order_type": "Base",
"cancellable": false,
"status_string": "Filled",
"created_at": "2024-11-08T20:39:05.801Z",
"updated_at": "2024-11-08T20:39:06.147Z",
"quantity": "10.0",
"quantity_remaining": "0.0",
"total": "2.580424",
"rate": "0.2596",
"average_price": "0.2580424"
}
]