Skip to main content
Version: 1.0.0

Order Search

POST 

/order/search

This is used to search the order history. This can also be used to get a list of all the orders for a given period that match the given criteria.

Request

Body

    accountNumber stringrequired

    Security account number

    orderId string
    clientOrderId stringdeprecated
    symbol string
    exchange string
    orderSide string

    Possible values: [1 (Buy), 2 (Sell)]

    orderStatus string

    Find list of status here

    sDate stringrequired

    Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])$

    start date

    eDate stringrequired

    Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])$

    end date

    pageNo stringrequired
    pageWidth stringrequired

Responses

OK

Schema
    status stringrequired

    Possible values: [SUCCESS, FAILED]

    reason string
    rejectCode integer

    Find error codes here)

    isNextPageAvailable boolean
    pageWidth integer
    totalNoOfRecords integer
    list object[]
  • Array [
  • clientOrderId stringdeprecated
    originalClientOrderId stringdeprecated
    orderId string
    originalOrderId string
    orderNumber string
    orderQty number
    orderType string

    Possible values: [1, 2]

    1 (Market order) | 2 (Limit order)

    orderSide string

    Possible values: [1, 2]

    1 (Buy) | 2 (Sell)

    orderStatus string

    Find list of status here

    orderValue number

    The total value of an order, calculated as price * quantity. It updates dynamically based on the quantity executed, reflecting the current executed value of the order.

    commission number
    accountNumber string

    Security account number

    currency string
    price number
    symbol string
    text string
    tif integer
    transactionTime string

    Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])-(2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$

    orderRejectReason string
    exchange string
    createdDate string
    averagePrice number
    marketCode string
    settleCurrency string
    cumulativeQty number

    filled quantity

    cumulativeOrderValue number

    filled order value

    cumulativeOrderNetValue number

    filled net value (order value + commission + vat + order fees + etc.)

    cumulativeCommission number

    filled order commission

    cumulativeOrderNetSettle number

    filled order net settle (net value * issue settle rate)

    issue settle rate ; exchnage currency to cash account currency rate

    lastUpdatedTime string

    Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])-(2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$

    quantity number
    status stringdeprecated

    Find list of status here

    filledQty numberdeprecated
    filledOrderValue numberdeprecated
    cumulativeVatAmount number
    cumulativeStampDutyAmount number
  • ]
Loading...
Is this page helpful for you?