how to construct a candle in a reliable way.. pls check my code snippet and sugegst

prasadraju070
prasadraju070 edited April 2020 in Java client
Hi i am trying to construct a 2 min candle with web socket connection to swap the values of high and low for 61 instruments for every tick and using a ScheduledExecutorService to run every 2 mins for capturing the values from the web socket connection. But i am geting wrong values for OHLC for almost all the stocks.
Here is my code of web socket connection



Sign In or Register to comment.