-
Notifications
You must be signed in to change notification settings - Fork 1
Trades
Mikhail Mazurov edited this page Feb 12, 2021
·
1 revision
The trades endpoint is to return data on all recently completed trades for a given market pair.
| Name | Type | Status | Description |
|---|---|---|---|
| market_pair | string | Mandatory | A pair such as LTC_BTC. |
| Name | Type | Status | Description |
|---|---|---|---|
| trade_id | integer | Mandatory | A unique ID associated with the trade for the currency pair transaction Note: Unix timestamp does not qualify as trade_id |
| price | decimal | Mandatory | Last transacted price of base currency based on given quote currency |
| base_volume | decimal | Mandatory | Transaction amount in BASE currency. |
| quote_volume | decimal | Mandatory | Transaction amount in QUOTE currency. |
| timestamp | Integer (UTC timestamp in ms) | Mandatory | Unix timestamp in milliseconds for when the transaction occurred. |
| type | string | Mandatory | Used to determine whether or not the transaction originated as a buy or sell. Buy – Identifies an ask was removed from the order book. Sell – Identifies a bid was removed from the order book. |