Hi, You need to use Webview in a desktop application in order to use Kite Connect login.
A user has to manually log in to Kite Connect webpage and after completing login user will be redirected to pre-defined redirect URL with request token. The request token can be used only once and its validity is only for a couple of minutes. Use the above-obtained request token to retrieve an access token. The access token is valid for one whole trading day. Once access token is retrieved store it and re-use it for subsequent runs. A user shouldn't request for access token for every run.
Hi, Unlike stocks, a mutual fund NAV(last price) is updated only once a day. You need to fetch instrument dump and store it. You can fetch the last price from that dump. You can check out mutual funds instrument documentation.
You need to use Webview in a desktop application in order to use Kite Connect login.
A user has to manually log in to Kite Connect webpage and after completing login user will be redirected to pre-defined redirect URL with request token. The request token can be used only once and its validity is only for a couple of minutes. Use the above-obtained request token to retrieve an access token. The access token is valid for one whole trading day. Once access token is retrieved store it and re-use it for subsequent runs. A user shouldn't request for access token for every run.
You can check out webinar here.
I just need to fetch price of some of the mutual funds in periodic basis from a desktop program.
Can this be done?
Unlike stocks, a mutual fund NAV(last price) is updated only once a day.
You need to fetch instrument dump and store it. You can fetch the last price from that dump.
You can check out mutual funds instrument documentation.
https://kite.trade/connect/login?api_key=
I have some more queries, for benefits of other users I will raise in different thread.
Thanks Sir!