Агрегация

This commit is contained in:
2025-12-13 12:31:21 +00:00
parent 6a22dc3ef7
commit ab18d9770f
9 changed files with 112 additions and 148 deletions

View File

@@ -127,13 +127,12 @@ bool aggregate_days_gpu(
for (const auto& gs : gpu_stats) {
DayStats ds;
ds.day = gs.day;
ds.low = gs.low;
ds.high = gs.high;
ds.open = gs.open;
ds.close = gs.close;
ds.avg = gs.avg;
ds.first_ts = gs.first_ts;
ds.last_ts = gs.last_ts;
ds.open_min = gs.open_min;
ds.open_max = gs.open_max;
ds.close_min = gs.close_min;
ds.close_max = gs.close_max;
ds.count = gs.count;
out_stats.push_back(ds);
}