Order Convert To delivery

This API converts an intraday (I) position to a delivery (C) position for a specific security on the exchange. The backend processes the request by validating the provided credentials and order details, updating the order's status and type in the trading system, and then confirming the successful conversion.

Endpoint

Base URL
https://connects.torusdigital.com/api/v1/order/convert/delivery

Header Parameters

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Request Parameter

ParameterValueMandatoryRemarks

exchange

NSE

Y

The exchange where the transaction takes place, it can be NSE/BSE.

segment

E

Y

The market segment, where "E" might stand for "Equity".

security_id

14366

Y

The unique identifier for the security being traded.

quantity

2

Y

Non-zero integer value

txn_type

B

Y

B for buy position, S for sell position

mkt_type

N

Y

Default value is NL

product_from

I

Y

Original product while placing order.

product_to

C

Y

Change to new product.

user_type

C/D

Y

C – Client, D - Dealer

Request

cURL
curl --location 'https://connects.torusdigital.com/api/v1/order/convert/delivery' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
    "source": "N",
    "data": {
        "exchange": "NSE",
        "segment": "E",
        "security_id": "14366",
        "quantity": 1,
        "mkt_type": "NL",
        "product_from": "I",
        "product_to": "C",
        "user_type": "C",
        "txn_type": "B"
    }
}'

Response

{
    "status": "success",
    "message": "Position converted successfully.",
    "data": []
}

Response

ParameterDescription

Status

“success”

Message

“Some Message”

Data

An object containing the details of the order.

order_no

Order specific identification number.

Last updated