Class LgoMatchOrderEvent
java.lang.Object
info.bitrich.xchangestream.lgo.domain.LgoOrderEvent
info.bitrich.xchangestream.lgo.domain.LgoBatchOrderEvent
info.bitrich.xchangestream.lgo.domain.LgoMatchOrderEvent
Order matched against another order
-
Constructor Summary
ConstructorDescriptionLgoMatchOrderEvent
(Long batchId, String type, String orderId, Date time, String tradeId, BigDecimal tradePrice, BigDecimal filledQuantity, BigDecimal remainingQuantity, BigDecimal fees, String liquidity, Order.OrderType orderType) LgoMatchOrderEvent
(String type, String orderId, Date time, String tradeId, BigDecimal price, BigDecimal filledQuantity, BigDecimal remainingQuantity, BigDecimal fees, String liquidity) -
Method Summary
Modifier and TypeMethodDescriptionapplyOnOrders
(CurrencyPair currencyPair, Map<String, Order> allOrders) getFees()
void
setOrderType
(Order.OrderType orderType) Methods inherited from class info.bitrich.xchangestream.lgo.domain.LgoBatchOrderEvent
getBatchId, setBatchId
Methods inherited from class info.bitrich.xchangestream.lgo.domain.LgoOrderEvent
getOrderId, getTime, getType
-
Constructor Details
-
LgoMatchOrderEvent
public LgoMatchOrderEvent(String type, String orderId, Date time, String tradeId, BigDecimal price, BigDecimal filledQuantity, BigDecimal remainingQuantity, BigDecimal fees, String liquidity) -
LgoMatchOrderEvent
public LgoMatchOrderEvent(Long batchId, String type, String orderId, Date time, String tradeId, BigDecimal tradePrice, BigDecimal filledQuantity, BigDecimal remainingQuantity, BigDecimal fees, String liquidity, Order.OrderType orderType)
-
-
Method Details
-
getTradeId
-
getTradePrice
-
getFilledQuantity
-
getRemainingQuantity
-
getFees
-
getLiquidity
-
getOrderType
-
setOrderType
-
applyOnOrders
- Specified by:
applyOnOrders
in classLgoBatchOrderEvent
-