@fcoder nope. I did not use those and hence, I did not check.
Posts made by Diljeet
-
RE: Token Value for Indices
-
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.
-
RE: Tick data flashing only for 266 seconds
I am also facing same issue that web socket in getting closed after 5 min in NodeJs sdk. @admin can you please look into this.
-
internal server error 500 while smart_api.generateSession
@admin, I am getting below error while connecting to smart_api. Can you please check and update.
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>
-
RE: how can
Please go through API Docs link. You can find it top right side.
-
RE: Web Socket opening handshake timeout
@admin Facing same issue for Node JS as well.
Web socket getting close frequently.authorizationError: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' code: 1006
-
RE: Apps not found AB1034 API, JAVA SDK, JavaScript SDK
@djdenish Can you please provide your code snippet.
-
RE: Error while trying to generate session
@Annamalai Not sure about this error. Please check if there is some update regarding SmartAPI jar.
-
RE: Thanks for Goodies, Angel SmartAPI team
I express my gratitude to SmartAPI team and specially @Bhaveshsjain. SmartAPI team is truly doing a innovative job in algo trading era, I feel happy to be part of this effort.
Thanks a lot for the goodies and All The BEST for future.
-
RE: Error while trying to generate session
@skumar12 said in Error while trying to generate session:
okhttp3
I too faced this issue, I used following dependencies to resolve it :
<classpathentry kind="lib" path="lib/commons-cli-1.4.jar"/> <classpathentry kind="lib" path="lib/commons-codec-1.13.jar"/> <classpathentry kind="lib" path="lib/httpclient5-5.0.3.jar"/> <classpathentry kind="lib" path="lib/httpclient5-cache-5.0.3.jar"/> <classpathentry kind="lib" path="lib/httpclient5-fluent-5.0.3.jar"/> <classpathentry kind="lib" path="lib/httpclient5-testing-5.0.3.jar"/> <classpathentry kind="lib" path="lib/httpclient5-win-5.0.3.jar"/> <classpathentry kind="lib" path="lib/httpcore5-5.0.2.jar"/> <classpathentry kind="lib" path="lib/httpcore5-h2-5.0.2.jar"/> <classpathentry kind="lib" path="lib/httpcore5-reactive-5.0.2.jar"/> <classpathentry kind="lib" path="lib/httpcore5-testing-5.0.2.jar"/> <classpathentry kind="lib" path="lib/jna-5.2.0.jar"/> <classpathentry kind="lib" path="lib/jna-platform-5.2.0.jar"/> <classpathentry kind="lib" path="lib/reactive-streams-1.0.2.jar"/> <classpathentry kind="lib" path="lib/rxjava-2.2.8.jar"/> <classpathentry kind="lib" path="lib/slf4j-api-1.7.25.jar"/> <classpathentry kind="lib" path="lib/json-simple-1.1.1.jar"/> <classpathentry kind="lib" path="lib/jsoup-1.13.1.jar"/> <classpathentry kind="lib" path="lib/poi-4.1.2.jar"/> <classpathentry kind="lib" path="lib/poi-ooxml-4.1.2.jar"/> <classpathentry kind="lib" path="lib/poi-ooxml-schemas-4.1.2.jar"/> <classpathentry kind="lib" path="lib/xmlbeans-3.1.0.jar"/> <classpathentry kind="lib" path="lib/commons-collections4-4.4.jar"/> <classpathentry kind="lib" path="lib/commons-compress-1.19.jar"/> <classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/> <classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/> <classpathentry kind="lib" path="lib/smartapi-java-1.0.0.jar"/> <classpathentry kind="lib" path="lib/java-json.jar"/> <classpathentry kind="lib" path="lib/slf4j-simple-1.7.9.jar"/> <classpathentry kind="lib" path="lib/Java-WebSocket-1.5.1.jar"/> <classpathentry kind="lib" path="lib/okhttp-4.9.0.jar"/> <classpathentry kind="lib" path="lib/kotlin-stdlib-1.4.20.jar"/> <classpathentry kind="lib" path="lib/okio-2.9.0.jar"/> <classpathentry kind="lib" path="lib/logging-interceptor-4.9.0.jar"/> <classpathentry kind="lib" path="lib/gson-2.8.6.jar"/>
-
RE: Apps not found AB1034 API, JAVA SDK, JavaScript SDK
Can you please provide more information? like providing error or exception.
-
RE: Unable to recieve to tick data
@tushar I too faced this issue before, I was not passing proper feedToken, Please verify that feedToken which you are passing is valid.