com.lmax.api.order
Interface Execution


public interface Execution

The results of a pass of the order through the exchange.


Method Summary
 FixedPointNumber getCancelledQuantity()
          The quantity of the order which was cancelled in this execution.
 long getExecutionId()
          The execution id is unique within the scope of a single order book.
 Order getOrder()
          The order which the execution effected.
 FixedPointNumber getPrice()
          The price at which the execution took place.
 FixedPointNumber getQuantity()
          The size of execution.
 

Method Detail

getExecutionId

long getExecutionId()
The execution id is unique within the scope of a single order book.

Returns:
the execution.

getPrice

FixedPointNumber getPrice()
The price at which the execution took place.

Returns:
the Price.

getQuantity

FixedPointNumber getQuantity()
The size of execution.

Returns:
the quantity.

getOrder

Order getOrder()
The order which the execution effected. Note that the order object proved by this method is the state of the order at the end of the matching cycle. It won't the state of the order directly after this execution. I.e. it doesn't work the same way fix does.

Returns:
the order.

getCancelledQuantity

FixedPointNumber getCancelledQuantity()
The quantity of the order which was cancelled in this execution.

Returns:
the Cancelled quantity.