It looks like you're new here. If you want to get involved, click one of these buttons!
try {
tickerUsage(kiteConnect,tokens);
} catch (IOException ex) {
Logger.getLogger(TickerPrice.class.getName()).log(Level.SEVERE, null, ex);
}
while (true)
{
try {
Thread.sleep(100);
} catch (InterruptedException ex) {
Logger.getLogger(TickerPrice.class.getName()).log(Level.SEVERE, null, ex);
}
}
double lastTradedPrice = ticks.get(i).getLastTradedPrice();
double close=ticks.get(i).getClosePrice();
please let me know fast which one is buy and sell price considered
A close price in Kite Ticker corresponds to the previous day's close price.
The last traded price is the price at which last trade has happened which denotes that the latest trade took place at this price.