Trade Object

A Trade is an action initiated by a user that has access to a wallet.
The trade is stored and managed in the wallet and identified in the system by its unique ID, the UUID.

The following table describes the fields in the REST API messages for trades:

FieldTypeDescription
idstringThe UUID. A unique ID of the trade.
created_atstringThe creation time of the trade.
Standard format of timestamp with a time zone.
ISO_8601
updated_atstringThe time when the trade details were last updated.
Standard format of timestamp with a time zone.
ISO_8601
sidestringThe side of the trade.
One of the following:
* BUY
* SELL
quantity_typestringThe quantity type of the trade.
One of the following:
* RECEIVE
* DELIVER
strategystringThe strategy of the trade.
One of the following:
* RFQ
* MARKET
* LIMIT
* BLENDER
* *UNDEFINED
statusstringThe status of the transfer.
One of the following:
* TRADE_FAILURE
* TRADE_SUCCESS
* TRADE_EXECUTED
* TRADE_SEND_FUNDS
* TRADE_SWAP_FUNDS
* TRADE_WITHDRAW_FUNDS
* UNDEFINED
quote_idstringThe quote_id of the order. This is inner UUID. A unique ID of the trade.
token_pricenumberThe token(eg;ERC20) symbol price of the transaction for the block timestamp.
tickerstringThe ticker of the trade, eg; ETH-USDC.
pricenumberThe price of the delivered/received symbol.
delivered_amountnumberThe delivered amount of the symbol when SELL/BUY.
received_amountnumberThe received amount of the symbol when SELL/BUY.
wallet_idstringThe wallet id to which the trade belongs. Take a look at the Wallet Object
destination_wallet_idstringThe destination wallet id to which the trade belongs. We will use it mostly in BLENDER strategy.
Take a look at the Wallet Object
incoming_transfer_idstringThe incoming transfer id to which the trade belongs. Take a look at the transfers.
outgoing_transfer_idstringThe outgoing transfer id to which the trade belongs. Take a look at the transfers.
received_asset_idstringThe received asset id to which the trade belongs. Take a look at the assets.
status_messagetextThe status message to hold error messages.