well i am using it since 3 months.. and i have not changed anything in code.. i always passed this.. and i am using howutrade .net api.. hwere is what documentation says.. pls if u can read thu completely.. that will help..
if i pass any other symbol.. it works fine.. i also checked nifty bank isnt present in my symbollist_nse.. deleted it and it got created again.. no success..
@jasdeepwalia Just checked the SymbolList_NSE.txt file, 'NIFTY BANK' symbol is present there. Working fine on my side... May be some unknown issue... As a workaround manually add the symbol details to text file.. Add the below line to SymbolList_NSE.txt file which is present in your Bin Directory.
string[] candleData = kite.GetHistData("NSE", "Nifty bank", "minute", DateTime.Now.AddDays(-5),
DateTime.Now.AddMinutes(10));
Historical data API only takes instrument tokens and not tradingsymbol. Check out documentation here.
public string[] GetHistData(
string Exch,
string TrdSymbol,
string Interval,
DateTime FromDate,
DateTime ToDate
)
Parameters
Exch
Type: System.String
Exchange
TrdSymbol
Type: System.String
Trade Symbol
The .net library is a third-party library built by @botany02, maybe he can help you with it.
Just checked the SymbolList_NSE.txt file, 'NIFTY BANK' symbol is present there.
Working fine on my side...
May be some unknown issue...
As a workaround manually add the symbol details to text file..
Add the below line to SymbolList_NSE.txt file which is present in your Bin Directory.
NIFTY BANK,0,0,260105,NSE-INDICES
Hope this helps