I'm developing an add-on and i'm trying something new..
I have the object
public class Ohlc : Bar
{
public int Id { get; set; }
public DateTime Time { get; set; }
public double Open { get; set; }
public double High { get; set; }
public double Low { get; set; }
public double Close { get; set; }
public long Volume { get; set; }
}
The thing is that i want to parse that data which can be in minutes to 5 minutes, or 1 hour.
Any idea what can i do? Maybe some expert in Linq can give me a hand.
Thank you.

Comment