mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 04:28:04 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -224,7 +224,7 @@ public class PviTests
|
||||
// Process some valid bars first
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
pvi.Update(new TBar(time.AddMinutes(i), 100, 105, 95, 102, 100000 + i * 1000));
|
||||
pvi.Update(new TBar(time.AddMinutes(i), 100, 105, 95, 102, 100000 + (i * 1000)));
|
||||
}
|
||||
|
||||
// Process bar with NaN volume
|
||||
@@ -254,7 +254,7 @@ public class PviTests
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
pvi.Update(new TBar(time.AddMinutes(i), 100 + i, 110 + i, 90 + i, 105 + i, 100000 + i * 5000), isNew: true);
|
||||
pvi.Update(new TBar(time.AddMinutes(i), 100 + i, 110 + i, 90 + i, 105 + i, 100000 + (i * 5000)), isNew: true);
|
||||
}
|
||||
|
||||
Assert.True(pvi.IsHot);
|
||||
|
||||
Reference in New Issue
Block a user