Bug: IOC LIMIT order on BSE

Hello @Pradeep_Jaiswar

I came across a bug while placing the IOC Limit Sell order on BSE.
IOC order should be executed or cancelled immediately. But it is not cancelled and goes into open state. It happens specifically on BSE. On NSE, the behavior is correct.

The code to place the order is:

$ curl --location 'https://api-hft.upstox.com/v2/order/place' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer my_access_token' \
--data '{
  "quantity": 1,
  "product": "I",
  "validity": "IOC",
  "price": 4600.1,
  "tag": "string",
  "instrument_token": "BSE_EQ|INE467B01029",
  "order_type": "LIMIT",
  "transaction_type": "SELL",
  "disclosed_quantity": 0,
  "trigger_price": 0,
  "is_amo": false
}'

{"status":"success","data":{"order_id":"240821000600525"}}

The screenshot of the result is:

This order should be cancelled immediately even if not filled.

Please check this on priority.

Thanks,
Saurabh

Thank you for reaching out. We will reproduce this tomorrow and get back to you. In the meantime, could you please provide your client ID for reference?

Thanks for the responseā€¦
My client Id:01111129

Thanks,
Saurabh

@saurabhkumarbansal please provide the 6-digit user ID that appears on your profile page in Upstox.

Thanks

@Ketan My User ID is 196847

@saurabhkumarbansal,

We have reproduced this issue on our end. A fix will be released soon.

Thank you for your patience

1 Like

Thanks @Ketan @Pradeep_Jaiswar
And I hope this bug will also be fixed with the current one ?

Hello @Pradeep_Jaiswar

This issue is not resolved even after 12days of reporting.
Please fix it.

@Saurabhkumarbansal, the issue has already been addressed and is currently in Quality Assurance (QA).

Rest assured, the fix will be released this week.

Thank you for your patience.

1 Like

@saurabhkumarbansal We have implemented a fix on our end. Please check and let us know if you encounter any issues.

Thank you.

@Ketan @Pradeep_Jaiswar yes, it works now.
Thanks very much.

3 Likes