2018-08-01 09:29:19.067 ERROR 17132 --- [ main] o.s.boot.SpringApplication : Application run failed
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError…
There are multiple threads running but none are blocked.
The method public void onTicks(ArrayList ticks) is continuously called and prints log.info("ticks size " + ticks.size()); as ticks size 0. And this continues for an hour and then the Ticks…
Hey @sujith thanks for your response. This is for the NIFTY 50 and BANKNIFTY Indices. It started working after an hour or so and I started getting the first tick!
Wow! Could somebody please respond. Also could you please share the calc formulas that Zerodha is using for Pivot and Support/Resistance Level calculations.
Hey @sujith thanks for the reply.
You are right this is from:
https://kite.trade/connect/login?api_key=**&v=3
It's Happening again now. I think this happens somewhere around this timefame - 7:00 am. - 7:30am everday.
Oh sure Sujith but i had gone through that thread. The more important questions is the timing issue between the Historical Data and Live Tick Data generated candles. How do you tie them up together ? Any good clues might help. Looking for a clean so…
oh ok @sujith thanks. Waiting for this as this necessary component for Algo-Trades. Also for the Holdings/Positions do we have to fire the Request at some interval or do we have something in Websocket Stream that can publish the changes ?
@Sudheer @sujith Anybody compared InfluxData(InfluxDb) with TimeScale or Artic for storing the Tick Data. Currently using InfluxData but want to know the opinion of others.
Ok further debugging
ArrayList tokens = new ArrayList();
Long token1 = new Long(408065);
Long token2 = new Long(884737);
The First call to setOnTickerArrivalListener on the Reading Thread has the values. It is the subsequent calls to the method…
Hey @sujith rather me changing the code would let you guys do it. Would definitely recommend to look at Project Lombok https://projectlombok.org/ and let it generate the getters/setters/toString/ etc. Also currently the Exceptions are very generic a…