Get trades of SmartTrade
GET
/v2/smart_trades/:smart_trade_id/tradesShows trades of existing SmartTrade.
Response Parameters
If successful response, the response includes a copy of Trade entity. You can find a total description of all attributes on the page about Trade.
Example Responses
- 200 OK
- 404 Not Found
[
{
"id": 1006258046,
"average_price": "0.107068273092369477911646586345381526",
"follow_price_type": "ask",
"initial_amount": "15.0",
"initial_total": "1.5996",
"order_price": "0.10664",
"order_side": "buy",
"order_type": "limit",
"pair": "USDT_DOGE",
"position_percentage": null,
"realised_amount": "14.94",
"realised_total": "1.5996",
"status": "finished",
"take_profit_percentage": null,
"trade_purpose": "position",
"trail_percentage": null,
"trail_value": null,
"trailing_enabled": false,
"trailing_last_price": null,
"trailing_last_price_updated_at": null,
"trigger_condition": null,
"trigger_price": null,
"trigger_price_percentage": null,
"trigger_type": "none",
"created_at": "2024-08-12T16:24:38.384Z",
"updated_at": "2024-08-12T16:56:10.437Z",
"realised_percentage": "100.0",
"initial_price": "0.10664",
"realised_price": "0.10706",
"cancelable": false,
"force_processable": false
},
{
"id": 1006258056,
"average_price": null,
"follow_price_type": "last",
"initial_amount": "14.0",
"initial_total": "1.4182",
"order_price": null,
"order_side": "sell",
"order_type": "market",
"pair": "USDT_DOGE",
"position_percentage": "100.0",
"realised_amount": "0.0",
"realised_total": null,
"status": "to_process",
"take_profit_percentage": null,
"trade_purpose": "stop_loss",
"trail_percentage": null,
"trail_value": null,
"trailing_enabled": false,
"trailing_last_price": null,
"trailing_last_price_updated_at": null,
"trigger_condition": "less_or_equal",
"trigger_price": "0.1013",
"trigger_price_percentage": null,
"trigger_type": "conditional",
"created_at": "2024-08-12T16:24:38.461Z",
"updated_at": "2024-08-12T16:56:10.850Z",
"realised_percentage": "0.0",
"initial_price": "0.1013",
"realised_price": null,
"cancelable": true,
"force_processable": true
}
]
{
"error": "Not found",
"error_description": "Smart Trade not found"
}