Kite code not working

I copied exactly same code given by Kite but it is not compiling

KiteTicker tickerProvider = new KiteTicker(kiteSdk.getAccessToken(), kiteSdk.getApiKey());
tickerProvider.setOnOrderUpdateListener(new OnOrderUpdate();

I am getting this compilation error :-
The method setOnOrderUpdateListener(OnOrderUpdate) in the type KiteTicker is not applicable for the arguments (new OnOrderUpdate(){})
Sign In or Register to comment.