It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
why im not being able to fetch data during pre open?
Its showing an error IllegalStateException:closed when tried to fetch data during pre open. The code line is kiteSdk.getQuote(getq). It was working fine until yesterday but not now. Kindly resolve this asap.
Can you mention the javakiteconnect version you are using and run in
and paste the stacktrace here?
PS: Make sure to remove app and client-specific tokens.
Version 3 downloaded in 2020. It shows error only between 9:00 and 9:08. So i have to try it tomorrow again for error sign. As i said it was working fine until yesterday. Rest all APIs work like order place,modify,cancel etc. Only i cannot get qoutes in pre open session
That is a very old version. Latest is 3.2.1. You should regularly update library to be in sync with our backend changes.
IllegalStateException can happen due to a lot of different reasons. We can't help without getting more details.
This is what you get.
Can you update javakiteconnect to the latest version and try? Could be happening because of outdated dependencies.
Is this resolved? Was multiple threads actively accessing datafeed?