Package com.longbridge.trade
Class Execution
- java.lang.Object
-
- com.longbridge.trade.Execution
-
public class Execution extends Object
Order execution (fill)
-
-
Constructor Summary
Constructors Constructor Description Execution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOrderId()Returns the order ID.BigDecimalgetPrice()Returns the executed price.BigDecimalgetQuantity()Returns the executed quantity.StringgetSymbol()Returns the security symbol.OffsetDateTimegetTradeDoneAt()Returns the time the trade was done.StringgetTradeId()Returns the trade ID.StringtoString()
-
-
-
Method Detail
-
getOrderId
public String getOrderId()
Returns the order ID.- Returns:
- order ID
-
getTradeId
public String getTradeId()
Returns the trade ID.- Returns:
- trade ID
-
getSymbol
public String getSymbol()
Returns the security symbol.- Returns:
- security symbol
-
getTradeDoneAt
public OffsetDateTime getTradeDoneAt()
Returns the time the trade was done.- Returns:
- trade done time
-
getQuantity
public BigDecimal getQuantity()
Returns the executed quantity.- Returns:
- executed quantity
-
getPrice
public BigDecimal getPrice()
Returns the executed price.- Returns:
- executed price
-
-