//Get Metrics private void Button_Click(object sender, RoutedEventArgs e) { if (this.login == null) { return; } Symbol[] symbols = Kite.GetSymbols <Symbol>(apiKey, login.access_token, $"{Url.Instrument("MCX")}", logger: this); Position[] position = Kite.Get <Position[]>(apiKey, login.access_token, Url.Positions(), logger: this); Holding[] holding = Kite.Get <Holding[]>(apiKey, login.access_token, Url.Holdings(), logger: this); Order[] orders = Kite.Get <Order[]>(apiKey, login.access_token, Url.Orders(), logger: this); Trade[] trades = Kite.Get <Trade[]>(apiKey, login.access_token, Url.Trades(), logger: this); Dictionary <string, OHLCQuotes> quotes = Kite.Get <Dictionary <string, OHLCQuotes> >(apiKey, this.login.access_token, Url.OHLC(new string[] { "NSE:INFY", "BSE:INFY", "NSE:TVSMOTOR" }), logger: this); }