Skip to content

Commit

Permalink
fix bad rebase merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Sep 11, 2021
1 parent a252b80 commit 810bacc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/_common/Quotes/Quotes.Functions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ public static IEnumerable<Quote> Aggregate<TQuote>(
throw new ArgumentOutOfRangeException(nameof(timeSpan), timeSpan,
"Historical quotes Aggregation must use a new size value " +
"that is greater than zero (0).");
// parameter validation
TimeSpan newPeriod = newSize.ToTimeSpan();

if (newPeriod == TimeSpan.Zero)
{
throw new ArgumentOutOfRangeException(nameof(newSize), newSize,
"Historical quotes Aggregation must use a New Size value of at least " +
"one minute and not more than one week.");
}

// return aggregation
Expand Down

0 comments on commit 810bacc

Please sign in to comment.