Skip to main content
Version: 1.2.0 - Production

Place Order

POST 

/v1.2/order/create

Supported Order Types

Request Body

  {
"accountNumber": "P000128310",
"securityType": "CS",
"symbol": "AAPL",
"exchange": "NSDQ",
"quantity": 100,
"orderType": "2",
"orderSide": 1,
"price": 2,
"tif": 0,
"tradingSession": "REG",
"orderValue": 1,
}
Field Name 
accountNumberrequired
securityTypeoptional  
symbolrequired  
exchangerequired
quantityoptional  
orderTyperequired
orderSiderequired
Field Name 
pricerequired selectively
tifrequired
expiryDaterequired selectively (GTD)
tradingSessionoptional
orderValueoptional  
externalOrderIdoptional
  
Assetsecurity typeinstrument type
equityCS0,60,61,86
optionOPT10
fixed incomeBND75
mutual fundFND2

Request

Body

    externalOrderId string

    Fintech order id

    accountNumber string

    Security account number of the customer.

    symbol string

    The symbol code of the symbol/ticker which need to be traded.

    exchange string

    Find exchange codes. Master Data> Get Exchange List

    quantity number

    Quantity or Order Value is required. if quantity > 0, order will place using quantity not order value.

    boundary value - 15 digits including decimals

    orderType string
    orderSide integer

    Possible values: [1, 2]

    1 (Buy) | 2 (Sell)

    price number

    boundary value - 16 digits including decimals

    tif integer
    tradingSession string

    Default value: REG

    orderValue number

    Quantity or Order Value is required. if quantity > 0, order will place using quantity not order value.

    This is invest amount for fixed income.

    boundary value - 16 digits including decimals

    securityType string

    Possible values: [CS, OPT, BND, FND]

    Default value: CS

    CS(Equity), OPT(Option), BND(Fixed Income), FND(Mutual Fund)

    expiryDate string

    Possible values: Value must match regular expression YYYY/MM/DD

    Expiry date will be recorded in Coordinated Universal Time (UTC)

    amount number

    This Field is required when orderside value is 1 or when orderside value is 2 and isPartiallyRedemption value is 0.

    isPartialRedemption number

    Possible values: [0, 1]

    0 (Partial Redemption) 1 (Fully Redemption)

    investmentId string

    This is required for orderside is 2 and security type is FND

    instrumentType string

Responses

OK

Order status will change according to following sequence.

Order Status Reason
01Send to OMS new
02Pending new (for some exchanges)
03Queued
04Rejected
05Partially Filled
06Filled
07Expire (depending on the TIF type of the order)

During market closure, only limit orders will be queued at GTN.

Quantity or orderValue is required(for equity/option type orders). if quantity > 0, order will place using quantity not orderValue.

Equity, Option and Spot orders can be placed using equity type security account.

Schema
    status stringrequired
    reason stringrequired
    orderReferenceId stringrequired
Loading...
Is this page helpful for you?