Skip to content

Commit

Permalink
fix: add missing 8H interval to getSubMinutes
Browse files Browse the repository at this point in the history
  • Loading branch information
bglownia committed Mar 5, 2024
1 parent 171360b commit e2f8884
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/misc/interval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export function getSubMinutes(interval: Interval, visibleCandleCount: number) {
return visibleCandleCount * 60 * 4;
case Interval.I6H:
return visibleCandleCount * 60 * 6;
case Interval.I8H:
return visibleCandleCount * 60 * 8;
case Interval.I12H:
return visibleCandleCount * 60 * 12;
case Interval.I1D:
Expand Down

0 comments on commit e2f8884

Please sign in to comment.