Documentation | Alpaca

C# compiler error:
Line 18 and 19 is missing a Agg return type or casting operation.
The Open and Close object instance is not compilable as given.
The compiler is underlining the text with a red squiggly line.

Thanks,
King

This appears to compile… But I’m not sure if this represents the proper objects?
var startPrice = bars.First().Value.First().Open;
var endPrice = bars.Last().Value.Last().Close; // or bars.Last().Value.First().Close