[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
@@ -64,7 +64,7 @@ public class TtmTrendValidationTests
// Feed enough bars to warm up, then inject consistently rising prices
for (int i = 0; i < 20; i++)
{
double price = basePrice + i * 2.0;
double price = basePrice + (i * 2.0);
var bar = new TBar(
DateTime.UtcNow.AddMinutes(i),
price - 0.5, price + 0.5, price - 0.5, price, 1000);
@@ -84,7 +84,7 @@ public class TtmTrendValidationTests
// Feed enough bars to warm up, then inject consistently falling prices
for (int i = 0; i < 20; i++)
{
double price = basePrice - i * 2.0;
double price = basePrice - (i * 2.0);
var bar = new TBar(
DateTime.UtcNow.AddMinutes(i),
price + 0.5, price + 0.5, price - 0.5, price, 1000);