Interface ICompressor
- Namespace
- Balsam.Compression
- Assembly
- Balsam.Backtester.dll
Interface for compressing objects to higher timeframes.
public interface ICompressor
- Extension Methods
Properties
Count
Gets the number of objects that have been added.
int Count { get; }
Property Value
FirstDate
Gets the first date in the compressed object.
DateTime FirstDate { get; }
Property Value
LastDate
Gets the last date in the compressed object.
DateTime LastDate { get; }
Property Value
Methods
Add(DateTime, object)
Adds the specified date and value to the compressed object.
void Add(DateTime date, object value)
Parameters
GetValue()
Gets the compressed object.
object GetValue()
Returns
Reset()
Resets the compresed object back to its original, empty state.
void Reset()