Trade Entity
Attributes
Details of the order applied to this Trade.
Hide child parametersShow child parameters
Type of order: market
, limit
The side of the order: buy
, sell
The strategy used for this Trade. Value: gtc
, fok
, ioc
, post_only
Position side. Value: both
, long
, short
.
Indicates whether the order is reduce only. Value: false
Details of the conditional order behavior applied to this Trade.
Hide child parametersShow child parameters
Indicates whether the conditional order is enabled. Value: false
, true
Desribes the direction of the comparison. Example: Execute when current price
becomes less
than condition. Values: less
, less_or_equal
, greater_or_equal
, greater
Hide child parametersShow child parameters
Conditional trigger price. Value: 1500.00
Conditional price type. Values: bid
, ask
, last
Configuration of the trailing stop applied to this Trade.
Hide child parametersShow child parameters
Specifies whether the trailing stop is active. Possible values: true
, false
.
Defines the absolute step size used to follow the price.
Example: value="0.01"
means the stop will trail the price by a fixed amount of 0.01.
Defines the relative step size (percentage) used to follow the price.
Example: percent="0.5"
means the stop will trail the price by 0.5% of the current price.
Details of the timeout behavior applied to this Trade. Applied for conditional
trades only.
If timeout is enabled, after the condition is met, the order will not be placed immediately. Instead, it will wait for the specified timeout period, re-check the condition, and then place the order if the condition is still met.
Hide child parametersShow child parameters
Indicates whether the timeout is enabled. Value: false
, true
Timeout value in seconds. Value: 10
Details of the leverage applied to this Trade.
Hide child parametersShow child parameters
Shows the leverage type that was set when creating this Trade. Value: null
General status information for this Trade entity.
If the trade finishes with an error, the details will be provided in the error
field.
Hide child parametersShow child parameters
Current status of the Trade. Possible values:
idle
, to_process
, order_placed
, pending_cancellation
, cancelled
, panic_sell_pending
, panic_sell_order_placed
, panic_sold
, trailing_activated
, finished
, failed
, inactive
, smart_sell
, need_reset
, async_order_placement
, suspended
Description of the error if the Trade has failed. Value is null
if there is no error.
Information about the current or final fill status of the Trade.
This object reflects how much of the Trade has been filled, including quantities and pricing details.
Hide child parametersShow child parameters
Amount filled in base currency. Example: 2.4869
Amount filled in quote currency. Example: 0.099998671773
Average fill price. Example: 0.04021
Percentage of the trade that has been filled. Example: 100.0
Additional information about the Trade.
Hide child parametersShow child parameters
Indicates whether the Trade can be canceled. Values: false
, true
{
"uuid": "be523b7b-05a0-49b9-89f9-41ae19fff415",
"account_id": 32576869,
"pair": "BTC_ETH",
"created_at": 1727871936,
"closed_at": 1727871937,
"order": {
"type": "market",
"side": "buy",
"strategy": null,
"position_side": "both",
"reduce_only": false
},
"units": {
"value": "2.4869"
},
"price": {
"value": null
},
"total": {
"value": "0.099898773"
},
"conditional": {
"enabled": false,
"value": null,
"price": {
"value": null,
"type": null
}
},
"trailing": {
"enabled": false,
"value": null,
"percent": null
},
"timeout": {
"enabled": false,
"value": null
},
"leverage": {
"type": null
},
"status": {
"value": "finished",
"error": null
},
"filled": {
"units": "2.4869",
"total": "0.099998671773",
"price": "0.04021",
"value": "100.0"
},
"data": {
"cancelable": false
}
}