Class BitmexTrade
java.lang.Object
info.bitrich.xchangestream.bitmex.dto.BitmexMarketDataEvent
info.bitrich.xchangestream.bitmex.dto.BitmexLimitOrder
info.bitrich.xchangestream.bitmex.dto.BitmexTrade
Created by Lukas Zaoralek on 13.11.17.
-
Field Summary
Fields inherited from class info.bitrich.xchangestream.bitmex.dto.BitmexLimitOrder
ASK_SIDE, BID_SIDE, id, price, side, size
Fields inherited from class info.bitrich.xchangestream.bitmex.dto.BitmexMarketDataEvent
BITMEX_TIMESTAMP_FORMAT, symbol, timestamp
-
Constructor Summary
ConstructorDescriptionBitmexTrade
(String symbol, String side, BigDecimal price, BigDecimal size, String trdMatchID, String timestamp) -
Method Summary
Methods inherited from class info.bitrich.xchangestream.bitmex.dto.BitmexLimitOrder
getId, getOrderSide, getPrice, getSide, getSize, toLimitOrder
Methods inherited from class info.bitrich.xchangestream.bitmex.dto.BitmexMarketDataEvent
getCurrencyPair, getDate, getSymbol
-
Constructor Details
-
BitmexTrade
public BitmexTrade(String symbol, String side, BigDecimal price, BigDecimal size, String trdMatchID, String timestamp)
-
-
Method Details
-
getTimestamp
- Overrides:
getTimestamp
in classBitmexMarketDataEvent
-
getTrdMatchID
-
toTrade
-