mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-16 17:48:05 +00:00
macos dev update
This commit is contained in:
@@ -11,7 +11,7 @@ public class HistoricalIndicator : Indicator, IWatchlistIndicator
|
||||
[InputParameter("Annualized", sortIndex: 2)]
|
||||
public bool IsAnnualized { get; set; } = true;
|
||||
|
||||
private Historical? historical;
|
||||
private Hv? historical;
|
||||
protected LineSeries? HvSeries;
|
||||
public int MinHistoryDepths => Periods;
|
||||
int IWatchlistIndicator.MinHistoryDepths => MinHistoryDepths;
|
||||
@@ -28,7 +28,7 @@ public class HistoricalIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
historical = new Historical(Periods, IsAnnualized);
|
||||
historical = new(Periods, IsAnnualized);
|
||||
base.OnInit();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ public class RealizedIndicator : Indicator, IWatchlistIndicator
|
||||
[InputParameter("Annualized", sortIndex: 2)]
|
||||
public bool IsAnnualized { get; set; } = true;
|
||||
|
||||
private Realized? realized;
|
||||
private Rv? realized;
|
||||
protected LineSeries? RvSeries;
|
||||
public int MinHistoryDepths => Periods;
|
||||
int IWatchlistIndicator.MinHistoryDepths => MinHistoryDepths;
|
||||
@@ -28,7 +28,7 @@ public class RealizedIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
protected override void OnInit()
|
||||
{
|
||||
realized = new Realized(Periods, IsAnnualized);
|
||||
realized = new(Periods, IsAnnualized);
|
||||
base.OnInit();
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CopyCustomContent" AfterTargets="AfterBuild" Condition="'$(IsLocalBuild)' == 'true'">
|
||||
<Target Name="CopyCustomContent" AfterTargets="AfterBuild"
|
||||
Condition="'$(IsLocalBuild)' == 'true' AND $([MSBuild]::IsOSPlatform('Windows'))">
|
||||
<Copy SourceFiles="$(OutputPath)\Volatility.dll" DestinationFolder="$(QuantowerRoot)\Settings\Scripts\Indicators\QuanTAlib\Volatility" />
|
||||
</Target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user