Could you please let us know if Upstox API support MCX segment (crudeoil, Natural Gas etc).
I have subscribed to a Algo trading platform and configured my Upstox account as per the given instructions(like API key, secret etc).
It’s mentioned everyday I need to generate a token using below link (i removed masked and added …) https://upstox.tradetron.tech/auth/…
But it doesn’t seem to work.
When i checked with Algo trading platform team, they mentioned " as i checked sir your strategy went into error due this error
Intraday (I) orders are not allowed on this
your instrument is not allowed for intraday
for more you can check with broker he will let you know"
“sir we send order to broker and from broker we receive above mentioned error”.
I have tried to place crudeoil order manually @ my Upstox account and it worked as expected means my account is active and enabled for trading in MCX segment.
Hi @Gangadharpbk
Yes, the Upstox API supports MCX segments. If you can place MCX orders through your Upstox account, you should also be able to place them via the API.
As indicated by the error message, the algorithm attempted to place an Intraday Order for a script that does not permit such orders.
If you could provide the order ID of the failed transaction or the instrument on which the algorithm attempted to place the order, we can offer further details.
@Gangadharpbk
The instrument CRUDEOIL 15NOVE2024 PE 6000 is not permitted for intraday trading by the exchange. The same restriction applies to the other instruments your algorithm attempted to trade.
Thank you very much for your valuable support.
As you have mentioned that Upstox API supports MCX segment, I have escalated to Algo platform team and finally they are able to identify mistake at their end and rectified the same.
Today afternoon, Algo was able to successfully place order @my Upstox account.
Thank you once again for all your valuable support.