Version 1
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 , 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" } ] }json