Tag | Name | Type | Required | Description |
---|---|---|---|---|
40 | OrdType | Char | Y | Order Type must be O (the letter Oh) |
44 | Price | Decimal | Y | Take profit price (in this context) See Price Rules below. |
99 | StopPx | Decimal | Y | Stop loss trigger price |
3040 | StopLimitPx | Decimal | Y | Limit order price if stop loss triggers |
Price
must be > StopPx
and StopPx
must be > StopLimitPx
Price
must be < StopPx
and StopPx
must be < StopLimitPx
:::TimeInForce
Side=2|Price=9785|StopLimitPx=8245|StopPx=8500
TriggerPriceDirection
is NOT accepted.
TPSL Order Example
-> OrdType=O|Side=2|Price=9785|StopLimitPx=8245|StopPx=8500...
Execution Report Example
<- MsgType=8|OrdType=O|Side=2|Price=9785|StopLimitPx=8245|StopPx=8500...
Repricing ExampleIf the stop is triggered and the order is repriced, an ExecutionReport is returned with a RestatementReason of
3
for “Repricing of order”:
<- MsgType=8|OrdType=O|ExecType=D|ExecRestatementReason=3|Price=8245...
tpsl_triggered
. Other clients will receive change reason, modify_order
.