Namaskara,
Modify GTT Order
Request Body
{
“type”: “MULTIPLE”,
“quantity”: 1,
“gtt_order_id”: “GTT-221130000253265”,
“rules”: [
{
“strategy”: “ENTRY”,
“trigger_type”: “BELOW”,
“trigger_price”: 2.57
},
{
“strategy”: “TARGET”,
“trigger_type”: “IMMEDIATE”,
“trigger_price”: 2.6
},
{
“strategy”: “STOPLOSS”,
“trigger_type”: “IMMEDIATE”,
“trigger_price”: 2.55
}
]
}
Response body:
{
“status”: “success”,
“data”: {
“gtt_order_ids”: [“GTT-CU25280200021013”]
},
“metadata”: {
“latency”: 74
}
}
The response body has a different GTT number…
My questions..
- If I have to modify only SL what to do ? Is that SINGLE or MULTIPLE Leg
- Does the GTT order Id changes on successful modification?
The ans to the above 2 questions take less than 5 seconds of effort. Please, i appreciate, if UPSTOX SW engineers can ans quickly.
Regards
Rathnadhar K V