Unable To Get LTP of Multiple Scripts Passes

WG8719
WG8719 edited July 2018 in API clients
string scripts = "NSE: SBIN, NSE:INFY, NSE:M&M";
Dictionary < string, LTP > ltps = kite.GetLTP(InstrumentId: new string[] { scripts });
but at this stage :
LABEL = ltps["NSE:SBIN"].LastPrice.ToString(); // it gives an ERROR

Please help me to get multiple Scripts Ltp?
  • sujith
    Can you print the ltps on console? It would be better if you paste the stack trace here to track down.
Sign In or Register to comment.