For market quote we need the instrument format: [“NSE_INDEX|25”]
For websocket we need in this format: [“NSE_INDEX|Nifty Bank”]
Why there changes? why upstox not following any one method? Its helps lot using any one way. Its sometime get difficult to follow two way. Like this many improvements require. Other broker has vaery simple way. Upstox making it complex.
Both market data and websocket functionalities necessitate the use of instrument keys. As market quotes are accessed using these instrument keys embedded in the URL, standard URL encoding is essential to format them correctly.
I dont have any problem with instrument key. But with websocket your documentation uses symbol in place of instrument key, so please share documentation url of websocket using node js where instrument key is used in place of symbol. Thank You.
According to your documentation in this sample code uses symbol not key.
I tried with key but not works, can you provide any code that alows key, not symbol.
I want to fetch data of Nifty 50, Bank Nifty here If I use NSE_INDEX|Nifty 50 then returns data where Nifty 50 is name, Not any key. But with curl I need to use key of Nifty 50 here not Allows Nifty 50.