Adjusted to Stop Limit

View as MarkdownOpen in Claude

TriggerPrice: Price threshold for when the order type should just to the AdjustedOrderType value.

AdjustedOrderType: Resulting order type in the event an order passes the triggerPrice threshold.
This can be “STP”, “STP LMT”, “TRAIL”, “TRAILING LIMIT”

AdjustedStopPrice: The stop order’s trigger price after being adjusted.

AdjustedStopLimitPrice: The stop order’s limit price for execution after being adjusted.

1order = Order()
2order.orderType = "TRAIL"
3order.trailStopPrice = 100
4order.auxPrice = 3
5
6order.triggerPrice = triggerPrice
7order.adjustedOrderType = "STP LMT"
8order.adjustedStopPrice = adjustStopPrice
9order.adjustedStopLimitPrice = adjustedStopLimitPrice