I have one websocket api which is giving data continuously.
Is there any service i can use to analyze this data.
I want to find out open,high,low, close value of every 5 minutes slot , I can able to do it using below c# code but i want more
robust solution using Azure service.
In inputList I took all coming data from websocket api.
var resultSet = inputList
.GroupBy(i => i.GetStartOfPeriodByMins(1))
.Select(gr =>
new
{
StartOfPeriod = gr.Key,
Min = gr.Min(item => item.Value),
Max = gr.Max(item => item.Value),
Open = gr.OrderBy(item => item.Time).First().Value,
Close = gr.OrderBy(item => item.Time).Last().Value
});
var my = resultSet.ToList();
SE