@fcoder
Nifty 50 and Bank nifty indices code are nse_cm|26000&nse_cm|26009 repsectively.
I found it in openAPIScriptMaster.
mihirk
@mihirk
Best posts made by mihirk
-
RE: Token Value for Indices
Latest posts made by mihirk
-
RE: Token Value for Indices
@fcoder nope. I did not use those and hence, I did not check.
-
New websocketclient not well documented
Hi Team,
I checked onto gitHub documentation it states to use new WebSocketClient. But it is not documented in API docs i.e. what is order_feed what are expected parameters etc.
https://github.com/angelbroking-github/smartapi-javascript
Can you please check that which WebSocket library shall we use?
WebSocket or WebSocketClient ?
Thanks.
-
RE: Token Value for Indices
@fcoder
Nifty 50 and Bank nifty indices code are nse_cm|26000&nse_cm|26009 repsectively.
I found it in openAPIScriptMaster. -
RE: Bank nifty symbol
@Rajeshkannan I am able to get Bank nifty and nifty 50 through nse_cm|26000&nse_cm|26009. Did you try using same ?
-
RE: how to know that smart api is working or not
@nandkishormunde SMART API provides us lets say "data", but to get the data and trigger our logic, we have to write piece of code using above mentioned libraries.
So, programming is must to use it. -
RE: Task "mw" not provide complete data, socket closed randomly
@ganesh Ticks Response which you are getting is because of you have entered space between & and nse_cm in token field.
Please fix it and let us know. -
RE: internal server error 500 while smart_api.generateSession
Hi @admin,
I tried sending heartBeats at interval of 30 seconds and that fixed the issue, socket is not getting closed now.
Please check with team if this fix can work. -
RE: internal server error 500 while smart_api.generateSession
@admin Here are some details when socket gets auto Closed :
"authorizationError":"UNABLE_TO_VERIFY_LEAF_SIGNATURE" "_closeCode":1006: , "_closeFrameReceived":false, "_closeFrameSent":false, "_closeMessage":"", "_closeTimer":null, "type":"close","wasClean":false
-
RE: Tick data flashing only for 266 seconds
Here are some details when socket gets auto Closed :
"authorizationError":"UNABLE_TO_VERIFY_LEAF_SIGNATURE" "_closeCode":1006: , "_closeFrameReceived":false, "_closeFrameSent":false, "_closeMessage":"", "_closeTimer":null, "type":"close","wasClean":false
-
RE: internal server error 500 while smart_api.generateSession
Thanks @admin for the update. But socket is getting auto closed after some time. Can you please look into this.