Adjusted to Stop

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.

order = Order()
order.orderType = "TRAIL"
order.trailStopPrice = 100
order.auxPrice = 3
order.triggerPrice = triggerPrice
order.adjustedOrderType = "STP"
order.adjustedStopPrice = adjustStopPrice