Hi Team, I subscribed tick. I observed that tick.getopenPrice() and tick.gethHighprice() is same from so many days.and tick.getLowPrice() and tick.getOpenPrice() are same .
Below is oct 15 data. High APOLLOTYRE open 219.7 high 219.7 low 212.9 ltp 215.3 High TATAMTRDVR open 101.9 high 101.9 low 99.75 ltp 100.7 Low TECHM open 693.5 high 709.4 low 693.5 ltp 697.25
websockets and its consistent Example: I subscribed to lupin stock. i captured open high low and close data in my DB when i see stored values .i can see either open value is same as high or open value is same as low
Is this historical data or quote AI or websockets? Is it consistent or random issue? Steps to reproduce.
Example:
I subscribed to lupin stock.
i captured open high low and close data in my DB when i see stored values .i can see either open value is same as high or open value is same as low
new Thread(new Runnable() {
public void run() {
for (Iterator iterator = ticks.iterator(); iterator.hasNext();) {
Tick tick = (Tick) iterator.next();
database.getCollection(Long.toString(tick.getInstrumentToken())).insertOne(new Document("ltp",tick.getLastTradedPrice())
.append("open", tick.getOpenPrice())
.append("high", tick.getHighPrice())
.append("low", tick.getLowPrice())
.append("close", tick.getClosePrice())
.append("buyvolume", tick.getTotalBuyQuantity())
.append("sellvolume", tick.getTotalSellQuantity())
.append("lasttradedtime", tick.getLastTradedTime())
);
}
}
}).start();
We just stream whatever we get from the exchange. We don't cache or modify data.
how come you guys are plotting charts then.
how you get open price.
You can take a look at our chart candle. The central black axis line won't be visible.