I am trying to place via API a buy order for stock WOCKPHARMA but the order gets rejected with status message:
“The market is closed. Kindly place this order during market hours.”
What is the reason and how to solve this?
I am trying to place via API a buy order for stock WOCKPHARMA but the order gets rejected with status message:
“The market is closed. Kindly place this order during market hours.”
What is the reason and how to solve this?
@atulrgb Could you please provide the UCC and Order ID associated with this error? This information will assist in further investigation.
UCC: KL4980
Order ID (placed today 24Jul24 at 11:21am ): 240724000360621
Thanks
Atul
@atulrgb The order was rejected because the instrument is under surveillance measures. It might be blocked by the exchange. Below is the error message received from the exchange:
16387 : Security is not allowed to trade in this market
Thanks
Hello,
Thanks, however the same can be purchased from your web frontend.
Why cant I buy via API if I can buy via UI?
@atulrgb Thank you for bringing this to our attention. We have relayed the information to the relevant team. We will update you here once we receive any information from the team.
@atulrgb The issue has been resolved. Please try placing your order via the API.
The market is closed. Kindly place this order during market hours. Wriiten when I placed order
Hi @NARESH_1699274,
Could you share your order ID with us so that we can check this? Thanks.
Hello @Ushnota. Is automated trading allowed? Lets say ive an entry condition. If satisfied, can the algo automatically execute the trade?
Hi @Aryan1,
Yes, but you need to pass in an access token with it, which you have to re-generate every day.