[CodeFactor] Apply fixes to commit 0606491

This commit is contained in:
codefactor-io
2026-03-12 19:37:50 +00:00
parent 060649192f
commit 8f79257155
384 changed files with 1197 additions and 1215 deletions
@@ -160,7 +160,7 @@ public class CcvValidationTests
double priceLow = 100.0;
for (int i = 0; i < 20; i++)
{
priceLow *= (1 + 0.001 * (i % 2 == 0 ? 1 : -1)); // ±0.1%
priceLow *= (1 + (0.001 * (i % 2 == 0 ? 1 : -1))); // ±0.1%
ccvLow.Update(new TValue(DateTime.UtcNow.AddMinutes(i), priceLow));
}
@@ -168,7 +168,7 @@ public class CcvValidationTests
double priceHigh = 100.0;
for (int i = 0; i < 20; i++)
{
priceHigh *= (1 + 0.05 * (i % 2 == 0 ? 1 : -1)); // ±5%
priceHigh *= (1 + (0.05 * (i % 2 == 0 ? 1 : -1))); // ±5%
ccvHigh.Update(new TValue(DateTime.UtcNow.AddMinutes(i), priceHigh));
}