Stop Limit

View as MarkdownOpen in Claude

A Stop-Limit order is an instruction to submit a buy or sell limit order when the user-specified stop trigger price is attained or penetrated. The order has two basic components: the stop price and the limit price. When a trade has occurred at or through the stop price, the order becomes executable and enters the market as a limit order, which is an order to buy or sell at a specified price or better.

Products: CFD, CASH, FUT, FOP, OPT, STK, WAR

More on Stop Limit Orders

More on Supported exchanges

1order = Order()
2order.action = action
3order.orderType = "STP LMT"
4order.totalQuantity = quantity
5order.lmtPrice = limitPrice
6order.auxPrice = stopPrice

Price is the Limit price while auxPrice represents the stop price trigger.

1Order order = new Order();
2order.action(action);
3order.orderType("STP LMT");
4order.lmtPrice(limitPrice);
5order.auxPrice(stopPrice);
6order.totalQuantity(quantity);