About the Developer API category

i want to create a feed like lets say i subscribe to 50 stocks and the data i want is ohlc,ltp,price of all those stocks all i want to know how can i subscribe to these stocks not indices also if anyone has the implementation in node js

Hello all. Im facing an error while trying to code the access token part

Please help. Thanks

Heres the access token part code:

There is a typo in your code: redirect_url should be redirect_uri

You can refer to the sample Python code available here: Get Token | Upstox Developer API

1 Like

Dear Upstox Support Team, @Pradeep_Jaiswar @Ketan

I hope this message finds you well. I am writing to report an issue I faced while placing orders through the Upstox APIs.

I placed a buy order first, followed by a sell order. However, despite placing the buy order first, the sell order was executed first, resulting in an “insufficient funds” error. I have attached proof in the form of logs and screenshots for your reference.

You can clearly check that buy order placed 1st and I got the order id.

It seems that the APIs are not functioning accurately and efficiently, which led to this issue. The delay and inaccuracy in order execution caused a significant financial loss on my end.

I would appreciate it if you could look into this matter urgently and provide guidance on how such issues can be prevented in the future.

Thank you for your attention to this matter. I look forward to your prompt response.


Hello. I was writing the code for getting market data for a particular stock. Im getting error as follows. Will upload photo of both code and error. Please help

Code:

Error:

Hi @Aryan1,

We are checking this and will get back to you soon on this. Thanks for your patience.

@Aryan1 Bro Please remove these API credentials and create new if you have not created it yet. It might be misused.

Hi @Aryan1, It looks like you are using an incorrect request URL for market quotes.

Please refer to the API documentation below for example codes

Hope this helps, Thanks