mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 13:38:05 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ public sealed class Dpo : AbstractBase
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public Dpo(int period = 20)
|
||||
{
|
||||
_shift = period / 2 + 1;
|
||||
_shift = (period / 2) + 1;
|
||||
WarmupPeriod = period + _shift;
|
||||
Name = $"DPO({period})";
|
||||
_prices = new CircularBuffer(WarmupPeriod);
|
||||
|
||||
Reference in New Issue
Block a user