This really depends on what you're seeking. If you're seeking average daily price, you'd have to convert your quote history from minute to daily-sized bars, then run it through in that new format. TA-Lib is an older array-based library, so you'd have to do this work while the data still has date/time context, before you put it in the array.
Here's an example of how to "quantize" quote history in C#.
history
.OrderBy(x => x.Date)
.GroupBy(x => x.Date.RoundDown(newBarSize))
.Select(x => new Quote
{
Date = x.Key,
Open = x.First().Open,
High = x.Max(t => t.High),
Low = x.Min(t => t.Low),
Close = x.Last().Close,
Volume = x.Sum(t => t.Volume)
});
This is also available in the open-source Skender.Stock.Indicators library and can be used as simply history.Aggregate(PeriodSize.Day)
, for example.
This libary can replace TA-Lib, if you're looking for a more modern technical indicators library. For example, it has a history.GetSma(5)
method, among others.