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
+6 -6
View File
@@ -208,8 +208,8 @@ public sealed class Ichimoku : ITValuePublisher
_p_state = _state;
Array.Fill(_highBuffer, double.NaN);
Array.Fill(_lowBuffer, double.NaN);
Array.Copy(_highBuffer, _p_highBuffer!, _highBuffer.Length);
Array.Copy(_lowBuffer, _p_lowBuffer!, _lowBuffer.Length);
Array.Copy(_highBuffer, _p_highBuffer, _highBuffer.Length);
Array.Copy(_lowBuffer, _p_lowBuffer, _lowBuffer.Length);
Tenkan = default;
Kijun = default;
SenkouA = default;
@@ -299,14 +299,14 @@ public sealed class Ichimoku : ITValuePublisher
if (isNew)
{
_p_state = _state;
Array.Copy(_highBuffer, _p_highBuffer!, _highBuffer.Length);
Array.Copy(_lowBuffer, _p_lowBuffer!, _lowBuffer.Length);
Array.Copy(_highBuffer, _p_highBuffer, _highBuffer.Length);
Array.Copy(_lowBuffer, _p_lowBuffer, _lowBuffer.Length);
}
else
{
_state = _p_state;
Array.Copy(_p_highBuffer!, _highBuffer, _highBuffer.Length);
Array.Copy(_p_lowBuffer!, _lowBuffer, _lowBuffer.Length);
Array.Copy(_p_highBuffer, _highBuffer, _highBuffer.Length);
Array.Copy(_p_lowBuffer, _lowBuffer, _lowBuffer.Length);
}
var (high, low, close) = GetValidHLC(bar);