Skip to main content

Place Multi Order

Place a multi order

curl --location 'https://api.upstox.com/v2/order/multi/place' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}' \
--data '[
{
"correlation_id": "1",
"quantity": 25,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62864",
"order_type": "MARKET",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": false
},
{
"correlation_id": "2",
"quantity": 25,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62867",
"order_type": "MARKET",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": false
}
]'
'

Place Multiple BUY and SELL Orders

curl --location 'https://api.upstox.com/v2/order/multi/place' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}' \
--data '[
{
"correlation_id": "1",
"quantity": 25,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62864",
"order_type": "MARKET",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": false
},
{
"correlation_id": "2",
"quantity": 25,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62867",
"order_type": "MARKET",
"transaction_type": "SELL",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": false
}
]'
'

Place Multiple Orders with Auto Slicing enabled

curl --location 'https://api.upstox.com/v2/order/multi/place' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}' \
--data '[
{
"correlation_id": "1",
"quantity": 2500000,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62864",
"order_type": "MARKET",
"transaction_type": "BUY",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": true
},
{
"correlation_id": "2",
"quantity": 2500000,
"product": "D",
"validity": "DAY",
"price": 0,
"tag": "string",
"instrument_token": "NSE_FO|62867",
"order_type": "MARKET",
"transaction_type": "SELL",
"disclosed_quantity": 0,
"trigger_price": 0,
"is_amo": false,
"slice": true
}
]'
'