ok thx I have the stream and all data but I can not build exact the same candle like in trading view - I have problems of close and open
take first buy/sell trade price, this is candle open price
take last buy/sell trade price, this is candle close price
take maximum of trades prices, this is candle high price
take minimum of trades prices, this is candle low price
So you mean that I dont have to consider if it is a sell or buy right? I will consider all datas....