Gemini Crypto Exchange Logo
Multi Market Data

Trade Event

Elements of the type trade have the following fields:

FIELDS

Field

Type

Description

price

decimal

The price this trade executed at.

amount

decimal

The amount traded.

makerSide

string

The side of the book the maker of the trade placed their order on. Either bid or ask.


Examples

When a trade occurs

{
  "type": "update",
  "eventId": 5375547515,
  "timestamp": 1547760288,
  "timestampms": 1547760288001,
  "socket_sequence": 15,
  "events": [
    {
      "type": "trade",
      "tid": 5375547515,
      "price": "3632.54",
      "amount": "0.1362819142",
      "makerSide": "ask",
      "symbol": "BTCUSD"
    }
  ]
}
json