chore: repo cleanup and code quality improvements

- Remove global.json (SDK pinning unnecessary)

- Remove nuget.config, move MyGet source to .csproj RestoreAdditionalProjectSources

- Gitignore ndepend/ entirely, move badges to docs/img/

- Update README.md and docs/ndepend.md badge paths

- Add NDepend project property to QuanTAlib.slnx

- Expand .editorconfig ReSharper/diagnostic suppressions

- Use ArgumentOutOfRangeException instead of ArgumentException

- Use discard _ for unused event sender parameters

- Remove quantalib.code-workspace and sonar-suppressions.json

- Add filter signature SVGs
This commit is contained in:
Miha Kralj
2026-03-03 09:22:55 -08:00
parent e1a6743bda
commit 1910fdca93
131 changed files with 216046 additions and 2027 deletions
+1 -1
View File
@@ -683,7 +683,7 @@ public class TrValidationTests
Tr.Batch(high, low, close, qOutput);
// Use ValidationHelper for correct TALib index mapping
QuanTAlib.Tests.ValidationHelper.VerifyData(qOutput, output, outRange, lookback);
ValidationHelper.VerifyData(qOutput, output, outRange, lookback);
}
[Fact]
-6
View File
@@ -152,8 +152,6 @@ public sealed class Tr : AbstractBase
return new TSeries(t, v);
}
/// <inheritdoc/>
public override TSeries Update(TSeries source)
{
int len = source.Count;
@@ -258,8 +256,6 @@ public sealed class Tr : AbstractBase
PubEvent(Last, isNew);
return Last;
}
/// <inheritdoc/>
public override void Prime(ReadOnlySpan<double> source, TimeSpan? step = null)
{
for (int i = 0; i < source.Length; i++)
@@ -267,8 +263,6 @@ public sealed class Tr : AbstractBase
Update(new TValue(DateTime.UtcNow, source[i]), isNew: true);
}
}
/// <inheritdoc/>
public override void Reset()
{
_s = new State(double.NaN, 0, 0, 0, 0, 0);