Executions Objects
Response Objects
OrdersObject
Parameter | Type | Description |
---|---|---|
| string | Base symbol |
| number | Aquanow's fee (in quote symbol) IF the execution is fee-based. It is in basis points (so 20 would mean 0.002) |
| number | Time in epoch milliseconds when this record was created. |
| string | Exchange Aquanow routed to |
| number | Expiration time of order in milliseconds |
| number | Fee applied by Aquanow IF this is fee-based execution |
| number | Percentage of order traded |
| number | How much of the order was filled in base symbol |
| number | How much of the order was filled in quote symbol |
| number | Amount returned |
| string | Order ID |
| string | Users can query child orders using this via orderIdParent GSI |
| string | Type of order |
| number | Pre-trade market price |
| number | Price limit set by user. For executed orders, the quote Aquanow has provided. |
| number | Market price, similar to |
| string | Symbol of quote |
| number | Amount of the execution remaining in base symbol |
| number | Amount of the execution remaining in quote symbol |
| string | Strategy (i.e. TWAP, RFQ, LIMIT or Market) |
| string | Ticker |
| number | Duration of trade in seconds. Applicable to active orders like TWAP and LIMIT |
| number | The average price the trade was executed at. Will be "-" if the trade was not executed. |
| string | Trade side, buy or sell. |
| number | Size of trade in crypto terms. (i.e. in USDT-USD, it will be in USDT) For FIAT trades like USD-CAD, it will be in USD. |
| string | |
| number | Time in epoch milliseconds when this record was updated. |
| string | Username associated with account |
OrdersV2Object
Parameter | Type | Description |
---|---|---|
| array | |
| object |
PaginationDataObject
Parameter | Type | Description |
---|---|---|
| string | Pagination token that can be used to query more data |
| object | Number of results shown |
Trade Status
Active Status
The table below contains statuses that are undergoing changes, and thus can change to a different status at any time.
Status | Description |
---|---|
| Trade is being created. CREATE is the first status to be seen and will remain unchanged until a possible execution is found. |
| Trade is undergoing execution or being finalized. |
| Trade is undergoing cancellation. Status should change to CANCELLED after a few seconds. NOTE: you can only cancel LIMIT and TWAP orders. |
Resolved Status
The table below contains statuses that are in final form, and will no longer undergo any changes.
Status | Description |
---|---|
| Trade has successfully been executed and finalized. |
| Trade has been partially executed and finalized. This could be due to several reasons, commonly caused by not having enough bids below or above the limit price provided to fill the order. NOTE: only TWAP orders can be partially filled. If a TWAP order that was previously partially filled is being cancelled, the status will remain as CANCELLED. |
| Trade has failed to execute. This could be due to several reasons, commonly caused by having no bids or asks, below or above the limit price provided to fill the order. |
| Trade has been cancelled upon user's request. A cancelled order could have been partially filled before cancellation. NOTE: only TWAP, LIMIT and SNIPER (Orders V2) orders can be cancelled. |
|
Last updated