mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-06 01:22:11 +00:00
C# 6.0 feature.
This commit is contained in:
1 parent
ef196b88dc
commit
f7305cbbb4
11 files changed
+17
-56
No files matched your search
@@ -31,17 +31,11 @@ namespace SampleHistoryTestingParallel
|
||||
|
||||
private readonly StrategyParam<int> _longSmaPeriod;
|
||||
|
||||
public int LongSmaPeriod
|
||||
{
|
||||
get { return _longSmaPeriod.Value; }
|
||||
}
|
||||
public int LongSmaPeriod => _longSmaPeriod.Value;
|
||||
|
||||
private readonly StrategyParam<int> _shortSmaPeriod;
|
||||
|
||||
public int ShortSmaPeriod
|
||||
{
|
||||
get { return _shortSmaPeriod.Value; }
|
||||
}
|
||||
public int ShortSmaPeriod => _shortSmaPeriod.Value;
|
||||
|
||||
public SmaStrategy(ICandleManager candleManager, CandleSeries series, SimpleMovingAverage longSma, SimpleMovingAverage shortSma)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user