If your net speed is slow then it will take little bit time to download (Appx 6.5mb). So please wait till that...
Are you sure, the loop continues after all symbol list downloaded...? May be the list is downloaded in past...So KiteDotNet trying to download latest list.
1. Running for first time: Symbol list for NSE, NFO, CDS, BSE, BFO downloaded. Total 3.27 MB. Files appear in bin folder. And then the download stops (I monitored the Task Manager for Network Activity). Loop keeps running.
2. Again running the program: The symbol list don't get downloaded again. No network acitivity on task manager. Loop keeps running.
3. Deleted the downloaded symbol list : On again running the program, Symbol list again get downloaded (Network Activity seen on task manager and files appear in the folder after sometime). Then download stops. And loop keeps running.
Network speed is also good. Tested on Reliance Jio and MTNL net both. Tested on home desktop and one laptop too. Same problem persists.
Just checking this...at my end.. But it should not happen like this... Once the download is complete, the Instruments_Download_Status property will become TRUE, thus it will end the loop.
I just used your code...works fine at my end.. the loop is automatically ended when download is finished..
Dim Kite As Kite = New Kite Sub Main() Kite.Api_Key = "xxxxxxx" Kite.Api_Secret = "xxxxxxxxxxx" Kite.Login() Kite.GetAccessToken() Kite.GetInstruments()
Do Threading.Thread.Sleep(1000) Console.WriteLine("Downloading Symbol") Loop While Kite.Instruments_Download_Status = False
If your net speed is slow then it will take little bit time to download (Appx 6.5mb).
So please wait till that...
Are you sure, the loop continues after all symbol list downloaded...?
May be the list is downloaded in past...So KiteDotNet trying to download latest list.
1. Running for first time: Symbol list for NSE, NFO, CDS, BSE, BFO
downloaded. Total 3.27 MB. Files appear in bin folder. And then the download stops (I monitored the Task Manager for Network Activity). Loop keeps running.
2. Again running the program: The symbol list don't get downloaded again. No network acitivity on task manager. Loop keeps running.
3. Deleted the downloaded symbol list : On again running the program, Symbol list again get downloaded (Network Activity seen on task manager and files appear in the folder after sometime). Then download stops. And loop keeps running.
Network speed is also good. Tested on Reliance Jio and MTNL net both. Tested on home desktop and one laptop too. Same problem persists.
Dot net framework is 4.5. VS community 2015.
Just checking this...at my end..
But it should not happen like this...
Once the download is complete, the Instruments_Download_Status property will become TRUE,
thus it will end the loop.
I just used your code...works fine at my end..
the loop is automatically ended when download is finished..
Then why its not working on my end.
And that too on both computers.
https://kite.trade/forum/discussion/1220/mcxsx-and-mcxsxfo-symbol-list-not-being-supplied-in-kite-api?new=1