refactor; backtest using lmdbx

This commit is contained in:
2024-08-07 21:57:03 -04:00
parent 1d83cd419a
commit 93d5ac8a30
21 changed files with 397 additions and 296 deletions
+6
View File
@@ -0,0 +1,6 @@
export function nextDate(date: string) {
const [year, month, day] = date.split('-').map(Number);
const nextDay = new Date(Date.UTC(year, month - 1, day + 1));
const nextDateString = nextDay.toISOString().substring(0, 10);
return nextDateString;
}