Class LgoPendingOrderEvent
java.lang.Object
info.bitrich.xchangestream.lgo.domain.LgoOrderEvent
info.bitrich.xchangestream.lgo.domain.LgoBatchOrderEvent
info.bitrich.xchangestream.lgo.domain.LgoPendingOrderEvent
Order was received by LGO execution engine in a batch
-
Constructor Summary
ConstructorDescriptionLgoPendingOrderEvent
(Long batchId, String type, String orderId, Date time, String orderType, BigDecimal limitPrice, Order.OrderType side, BigDecimal initialAmount) LgoPendingOrderEvent
(String type, String orderId, Date time, String orderType, BigDecimal price, String side, BigDecimal quantity) -
Method Summary
Modifier and TypeMethodDescriptionapplyOnOrders
(CurrencyPair currencyPair, Map<String, Order> allOrders) getSide()
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
-
LgoPendingOrderEvent
public LgoPendingOrderEvent(String type, String orderId, Date time, String orderType, BigDecimal price, String side, BigDecimal quantity) -
LgoPendingOrderEvent
public LgoPendingOrderEvent(Long batchId, String type, String orderId, Date time, String orderType, BigDecimal limitPrice, Order.OrderType side, BigDecimal initialAmount)
-
-
Method Details
-
applyOnOrders
- Specified by:
applyOnOrders
in classLgoBatchOrderEvent
-
getOrderType
-
getLimitPrice
-
getSide
-
getInitialAmount
-