diff --git a/src/trade_aggregation_call_builder.js b/src/trade_aggregation_call_builder.js
index <HASH>..<HASH> 100644
--- a/src/trade_aggregation_call_builder.js
+++ b/src/trade_aggregation_call_builder.js
@@ -80,6 +80,6 @@ export class TradeAggregationCallBuilder extends CallBuilder {
    */
   isValidOffset(offset, resolution){
     const hour = 3600000;
-    return !(offset > resolution || offset > 24 * hour || (offset % hour !== 0));
+    return !(offset > resolution || offset >= 24 * hour || (offset % hour !== 0));
   }
 }
bugfix: offset must less than <I> hours (#<I>)