[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
+2 -2
View File
@@ -614,8 +614,8 @@ public class VrTests
// Build up history with varying volatility
for (int i = 0; i < 50; i++)
{
double range = 2.0 + (i % 5) * 0.5; // Varying range
vr.Update(new TBar(DateTime.UtcNow, 100, 100 + range, 100 - range, 100 + range / 2, 1000));
double range = 2.0 + ((i % 5) * 0.5); // Varying range
vr.Update(new TBar(DateTime.UtcNow, 100, 100 + range, 100 - range, 100 + (range / 2), 1000));
}
// VR should oscillate around 1.0 over time