Skip to Main Content

Order Type Codes

Values for the price_type field, controlling how an order is priced and triggered.

Overview

The price_type field appears in Place Order and Modify Order payloads. It determines whether an order rests at a fixed price, follows the market, or waits for a trigger.

Codes

CodeOrder TypeDescription
LMTLimitOrder rests at the specified prc or better. Requires prc.
MKTMarketExecutes immediately at the best available price. prc is ignored.
SL-LMTStop Loss LimitConverts to a limit order at prc once the market touches trgprc. Requires both prc and trgprc.
SL-MKTStop Loss MarketConverts to a market order once the market touches trgprc. Requires trgprc; prc is ignored.

Usage example

json
{
  "price_type": "SL-LMT",
  "prc": "200.00",
  "trgprc": "199.50"
}

See Transaction Type Codes for the paired buy_or_sell field, and Product Type Codes for product_type (MIS / CNC / NRML).