I need to integrate kit ticker in .net core 3.1 application but when I install nuget I see eroors in it (please refer below image). Am I missed anything or it is not possible at the moment?
Hi @trade_then, thanks for your quick response but still I'm unable to get you properly. sorry about that. My requirement is very simple where I am using ticket in .net core 3.1 application and send ticket data using SignalR to Angular UI. As per your suggestion what I have to follow? do you have any reference which I can follow to do this.
reference it in your coreWebApp as project reference.
instead of using nuget.
By ticket! do you mean tickerthe tick data via websocket?. whatever it is once you have it in your app you sure can pass it around as you like.
regarding Angular UI i am sorry i never programmed for web.
Signal R. which underneath uses websockets when ever possible as default to transport data. should be fine. since incoming data is also via websocket simply toss it over.
@trade_then Thanks for detailed comment, yes I mean for Tiker data to be sent over Angular using Socket. I follow your step and I'm able to connect + send data to angular. Big thanks to you.
One more help if possible or may be I can create new discussion for the same to how can I get accessToken using calling Zerodha API from .net backend to get it without passing manually to connect with tiker?
I want to know how do I get "request_token" as it expired after some time so I want something or maybe any API that I can call to get it rather than manual login into the Zerodha portal and get the token to connect with ticker portal.
officially you do have to login manually once a day. the information you get after login can be used through out the day, without re-login.
As only access token is required for the websocket. you don`t have to GenerateSession every time you open a websocket or ticker connection. the access token will be there in user_credentials you are storing.
you seem to be using .net framework branch which are all other branches except netstandard branch.
Thanks
Regards
Thanks in advance for your support.
By ticket! do you mean ticker the tick data via websocket?.
whatever it is once you have it in your app you sure can pass it
around as you like.
regarding Angular UI i am sorry i never programmed for web.
Signal R. which underneath uses websockets
when ever possible as default to transport data. should be fine.
since incoming data is also via websocket simply toss it over.
Thanks
Regards
One more help if possible or may be I can create new discussion for the same to how can I get accessToken using calling Zerodha API from .net backend to get it without passing manually to connect with tiker?
Thanks
to be fetched later.
for example:- then deserialise by opening the saved file or extract from database to which you
have saved the user_info in your app.
Thanks
Regards
var user_credentials = kite.GenerateSession( request_token, Secret_Text.Trim() ) ;
userInfo = user_credentials ;
Store_LoginInfo( user_credentials ) ;
I want to know how do I get "request_token" as it expired after some time so I want something or maybe any API that I can call to get it rather than manual login into the Zerodha portal and get the token to connect with ticker portal.
Sorry if I misguide you
Thanks.
the information you get after login can be used through out the day,
without re-login.
As only access token is required for the websocket.
you don`t have to GenerateSession every time you open a websocket or ticker connection.
the access token will be there in user_credentials you are storing.
There are no APIs to automate login.
Thanks
Regards