|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderSpecification
Order Request.
Method Summary | |
---|---|
void |
setInstructionId(java.lang.String instructionId)
Set the user correlation ID for this order. |
void |
setInstrumentId(long instrumentId)
Set the instrument for the order. |
void |
setQuantity(FixedPointNumber quantity)
Set the quantity of the order specification to the specified value. |
void |
setStopLossPriceOffset(FixedPointNumber stopLossPriceOffset)
Set the stop loss price offset for the order. |
void |
setStopProfitPriceOffset(FixedPointNumber stopProfitPriceOffset)
Set the stop profit price offset for the order. |
void |
setTimeInForce(TimeInForce timeInForce)
Set the time in force policy for the order. |
Methods inherited from interface com.lmax.api.internal.Request |
---|
getUri, writeTo |
Method Detail |
---|
void setInstructionId(java.lang.String instructionId)
instructionId
- The ID to associate with this order.void setQuantity(FixedPointNumber quantity)
quantity
- New quantity for the order specification.void setStopLossPriceOffset(FixedPointNumber stopLossPriceOffset)
stopLossPriceOffset
- if set to null no stop loss will be in force.void setStopProfitPriceOffset(FixedPointNumber stopProfitPriceOffset)
stopProfitPriceOffset
- if set to null no stop profit will be in force.void setTimeInForce(TimeInForce timeInForce)
timeInForce
- The time in force policy for the order.void setInstrumentId(long instrumentId)
instrumentId
- The instrument id for the order.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |