BasePortfolioTHistoryTimePeriod Property |
Set or Get time period, how long indicator save it's value. Do not set history period for indicator if you already add data to it.
If you specify indicators HistoryTimePeriod, then indicators HistoryTimeManaged flag will be set.
Indicator try to store all of its values on specified HistoryTimePeriod.
Namespace:
FinAnalysis.Base
Assembly:
FinAnalysis.Base (in FinAnalysis.Base.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public TimeSpan HistoryTimePeriod { get; set; }
Property Value
Type:
TimeSpanExceptions Exception | Condition |
---|
InvalidOperationException | Thrown when you try to specify history period to indicator which is already in use. |
See Also