|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lmax.api.order.AmendStopsRequest
public class AmendStopsRequest
Request to amend stop loss/profit on an existing order.
Constructor Summary | |
---|---|
AmendStopsRequest(long instrumentId,
java.lang.String originalInstructionId,
FixedPointNumber stopLossOffset,
FixedPointNumber stopProfitOffset)
Construct an AmendStopLossProfitRequest using the instrument id and the instruction id of the original order. |
|
AmendStopsRequest(long instrumentId,
java.lang.String originalInstructionId,
java.lang.String instructionId,
FixedPointNumber stopLossOffset,
FixedPointNumber stopProfitOffset)
Construct an AmendStopLossProfitRequest using the instrument id and the instruction id of the original order. |
Method Summary | |
---|---|
java.lang.String |
getUri()
The amend stops uri. |
void |
writeTo(com.lmax.api.internal.xml.StructuredWriter writer)
Internal: Output this request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmendStopsRequest(long instrumentId, java.lang.String originalInstructionId, java.lang.String instructionId, FixedPointNumber stopLossOffset, FixedPointNumber stopProfitOffset)
instrumentId
- The instrument id that the original order was placed on.originalInstructionId
- The instructionId id that the original order.instructionId
- The user-defined correlation ID of the amend stops requeststopLossOffset
- The new stop loss offset, use null to indicate the value should be removed.stopProfitOffset
- The new stop profit offset, use null to indicate the value should be removed.public AmendStopsRequest(long instrumentId, java.lang.String originalInstructionId, FixedPointNumber stopLossOffset, FixedPointNumber stopProfitOffset)
instrumentId
- The instrument id that the original order was placed on.originalInstructionId
- The instructionId id that the original order.stopLossOffset
- The new stop loss offset, use null to indicate the value should be removed.stopProfitOffset
- The new stop profit offset, use null to indicate the value should be removed.Method Detail |
---|
public java.lang.String getUri()
getUri
in interface com.lmax.api.internal.Request
public void writeTo(com.lmax.api.internal.xml.StructuredWriter writer)
writeTo
in interface com.lmax.api.internal.Request
writer
- The destination for the content of this request
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |